qmca
0.0.20
|
#include <epicsobject.h>
Signals | |
void | valueChanged () |
Public Member Functions | |
EpicsObject (QString pvName, QObject *parent=0, int debug=0) | |
virtual | ~EpicsObject () |
void | changeConnection (QString pv) |
int | count () |
QString | pvName () |
QString | toolTip () |
virtual void | connected () |
virtual void | disconnected () |
chid | channelID () |
int | debug () |
void | setDebug (int dbg) |
void | settle (double t) |
void | ca_pend_io (double t) |
Static Public Attributes | |
static QMutex | m_Mutex |
Protected Attributes | |
chid | m_ChannelID |
evid | m_EventID |
bool | m_HasEventHandler |
int | m_Debug |
Private Member Functions | |
virtual caEventCallBackFunc * | get_event_handler ()=0 |
EpicsObject (const EpicsObject ©) | |
EpicsObject & | operator= (const EpicsObject ©) |
Private Attributes | |
QString | m_PVName |
Definition at line 9 of file epicsobject.h.
EpicsObject::EpicsObject | ( | QString | pvName, |
QObject * | parent = 0 , |
||
int | debug = 0 |
||
) |
|
virtual |
|
private |
void EpicsObject::ca_pend_io | ( | double | t | ) |
Definition at line 121 of file epicsobject.cpp.
Referenced by EpicsInteger::caput(), EpicsBoolean::caput(), EpicsString::caput(), EpicsEnumeration::caput(), EpicsArray::caput(), and EpicsDouble::caput().
void EpicsObject::changeConnection | ( | QString | pv | ) |
Definition at line 84 of file epicsobject.cpp.
References connection_handler(), debug(), m_ChannelID, and m_PVName.
Referenced by EpicsObject().
chid EpicsObject::channelID | ( | ) |
Definition at line 63 of file epicsobject.cpp.
References m_ChannelID.
Referenced by EpicsInteger::caput(), EpicsString::caput(), EpicsBoolean::caput(), EpicsEnumeration::caput(), EpicsArray::caput(), EpicsDouble::caput(), and EpicsDouble::changeValue().
|
virtual |
Reimplemented in EpicsDouble, and EpicsEnumeration.
Definition at line 45 of file epicsobject.cpp.
References get_event_handler(), m_ChannelID, m_EventID, and m_HasEventHandler.
Referenced by connection_handler().
int EpicsObject::count | ( | ) |
Definition at line 40 of file epicsobject.cpp.
References m_ChannelID.
Referenced by MCAPlotCurve::arrayValueChanged().
int EpicsObject::debug | ( | ) |
Definition at line 106 of file epicsobject.cpp.
References m_Debug.
Referenced by changeConnection(), EpicsDouble::changeValue(), EpicsDouble::connected(), EpicsDouble::EpicsDouble(), EpicsMCA::EpicsMCA(), EpicsInteger::event_handler(), EpicsString::event_handler(), EpicsDouble::event_handler(), and EpicsEnumeration::event_handler().
|
virtual |
|
privatepure virtual |
Implemented in EpicsEnumeration, EpicsDouble, EpicsArray, EpicsBoolean, EpicsString, and EpicsInteger.
Referenced by connected().
|
private |
QString EpicsObject::pvName | ( | ) |
Definition at line 30 of file epicsobject.cpp.
References m_PVName.
Referenced by A2DConverterControlPanel::append(), PulseAnalyserControlPanel::append(), AmplifierControlPanel::append(), PowerSupplyControlPanel::append(), MCAControlPanel::append(), EpicsDouble::connected(), EpicsIntegerInput::EpicsIntegerInput(), BM12Controller::saveEnergyWindows(), and MCAGroup::write_data().
void EpicsObject::setDebug | ( | int | dbg | ) |
Definition at line 111 of file epicsobject.cpp.
References m_Debug.
void EpicsObject::settle | ( | double | t | ) |
Definition at line 116 of file epicsobject.cpp.
Referenced by BM12Controller::selectSCA().
QString EpicsObject::toolTip | ( | ) |
Definition at line 35 of file epicsobject.cpp.
References m_PVName.
Referenced by EpicsDoubleDisplay::EpicsDoubleDisplay(), EpicsDoubleLineEdit::EpicsDoubleLineEdit(), EpicsEnumerationComboBox::EpicsEnumerationComboBox(), EpicsIntegerCheckBox::EpicsIntegerCheckBox(), EpicsIntegerInput::EpicsIntegerInput(), EpicsStringDisplay::EpicsStringDisplay(), and EpicsStringLineEdit::EpicsStringLineEdit().
|
signal |
|
protected |
Definition at line 48 of file epicsobject.h.
Referenced by changeConnection(), channelID(), EpicsEnumeration::connected(), EpicsDouble::connected(), connected(), count(), and ~EpicsObject().
|
protected |
Definition at line 51 of file epicsobject.h.
Referenced by EpicsArray::changeValue(), EpicsEnumeration::changeValue(), debug(), and setDebug().
|
protected |
Definition at line 49 of file epicsobject.h.
Referenced by EpicsEnumeration::connected(), EpicsDouble::connected(), and connected().
|
protected |
Definition at line 50 of file epicsobject.h.
Referenced by EpicsEnumeration::connected(), EpicsDouble::connected(), and connected().
|
static |
Definition at line 42 of file epicsobject.h.
Referenced by EpicsBoolean::changeValue(), EpicsInteger::changeValue(), EpicsString::changeValue(), EpicsArray::changeValue(), EpicsEnumeration::changeValue(), EpicsDouble::changeValue(), EpicsInteger::value(), EpicsBoolean::value(), EpicsString::value(), EpicsEnumeration::value(), EpicsArray::value(), and EpicsDouble::value().
|
private |
Definition at line 45 of file epicsobject.h.
Referenced by changeConnection(), pvName(), and toolTip().