QXRD
0.11.16
|
#include <qxrddetectorproxy.h>
Public Slots | |
int | detectorType () |
QString | detectorTypeName () |
QxrdDetectorThreadPtr | detectorThread () |
QxrdDetectorPtr | detector () |
int | detectorNumber () |
QString | detectorName () |
void | setDetectorName (QString name) |
bool | configureDetector () |
bool | settingsChanged () |
bool | enabled () |
void | setEnabled (bool a) |
Public Slots inherited from QcepObject | |
virtual void | printLine (QString line) |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) const |
virtual void | criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual void | statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Public Member Functions | |
QxrdDetectorProxy (QxrdDetectorThreadPtr thr, QxrdDetectorPtr det, QxrdAcquisitionPtr acq) | |
QxrdDetectorProxy (int detectorType, QxrdAcquisitionPtr acq) | |
void | initialize () |
void | clearProperties () |
void | pushProperty (PropertyType type, QString name, QString description, QVariant value) |
void | pushPropertiesToDialog (QxrdDetectorConfigurationDialog *dialog) |
void | pullPropertiesFromDialog (QxrdDetectorConfigurationDialog *dialog) |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
QString | get_Name () const |
void | set_Name (QString name) |
Private Attributes | |
QxrdAcquisitionPtr | m_Acquisition |
QxrdDetectorThreadPtr | m_DetectorThread |
QxrdDetectorPtr | m_Detector |
int | m_DetectorType |
bool | m_SettingsChanged |
bool | m_Initialized |
QVector< PropertyType > | m_PropertyTypes |
QVector< QString > | m_PropertyNames |
QVector< QString > | m_PropertyDescriptions |
QVector< QVariant > | m_PropertyValues |
Additional Inherited Members | |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Properties inherited from QcepObject | |
QString | name |
Definition at line 11 of file qxrddetectorproxy.h.
Definition at line 39 of file qxrddetectorproxy.h.
|
explicit |
Definition at line 10 of file qxrddetectorproxy.cpp.
References m_DetectorType, and setEnabled().
|
explicit |
Definition at line 28 of file qxrddetectorproxy.cpp.
References setEnabled().
void QxrdDetectorProxy::clearProperties | ( | ) |
Definition at line 127 of file qxrddetectorproxy.cpp.
References m_PropertyDescriptions, m_PropertyNames, m_PropertyTypes, and m_PropertyValues.
Referenced by pullPropertiesFromDialog().
|
slot |
Definition at line 102 of file qxrddetectorproxy.cpp.
References m_Detector, m_DetectorType, m_SettingsChanged, and QxrdDetectorThread::pushDefaultsToProxy().
|
slot |
|
slot |
Definition at line 82 of file qxrddetectorproxy.cpp.
|
slot |
Definition at line 67 of file qxrddetectorproxy.cpp.
|
slot |
Definition at line 92 of file qxrddetectorproxy.cpp.
References m_DetectorThread.
|
slot |
Definition at line 72 of file qxrddetectorproxy.cpp.
Referenced by detectorTypeName().
|
slot |
Definition at line 77 of file qxrddetectorproxy.cpp.
References detectorType(), and QxrdDetectorThread::detectorTypeName().
|
slot |
Definition at line 57 of file qxrddetectorproxy.cpp.
void QxrdDetectorProxy::initialize | ( | ) |
Definition at line 40 of file qxrddetectorproxy.cpp.
References m_Detector, m_DetectorType, m_Initialized, and QxrdDetectorThread::pushDefaultsToProxy().
void QxrdDetectorProxy::pullPropertiesFromDialog | ( | QxrdDetectorConfigurationDialog * | dialog | ) |
Definition at line 159 of file qxrddetectorproxy.cpp.
References clearProperties(), m_PropertyNames, m_PropertyTypes, and QxrdDetectorConfigurationDialog::propertyValue().
void QxrdDetectorProxy::pushPropertiesToDialog | ( | QxrdDetectorConfigurationDialog * | dialog | ) |
Definition at line 145 of file qxrddetectorproxy.cpp.
References QxrdDetectorConfigurationDialog::appendProperty(), m_PropertyDescriptions, m_PropertyNames, m_PropertyTypes, and m_PropertyValues.
void QxrdDetectorProxy::pushProperty | ( | PropertyType | type, |
QString | name, | ||
QString | description, | ||
QVariant | value | ||
) |
Definition at line 135 of file qxrddetectorproxy.cpp.
References m_PropertyDescriptions, m_PropertyNames, m_PropertyTypes, and m_PropertyValues.
|
slot |
Definition at line 87 of file qxrddetectorproxy.cpp.
|
slot |
Definition at line 62 of file qxrddetectorproxy.cpp.
Referenced by QxrdDetectorProxy().
|
slot |
|
private |
Definition at line 63 of file qxrddetectorproxy.h.
|
private |
Definition at line 65 of file qxrddetectorproxy.h.
Referenced by configureDetector(), detector(), and initialize().
|
private |
Definition at line 64 of file qxrddetectorproxy.h.
Referenced by detectorThread().
|
private |
Definition at line 66 of file qxrddetectorproxy.h.
Referenced by configureDetector(), initialize(), and QxrdDetectorProxy().
|
private |
Definition at line 68 of file qxrddetectorproxy.h.
Referenced by initialize().
|
private |
Definition at line 71 of file qxrddetectorproxy.h.
Referenced by clearProperties(), pushPropertiesToDialog(), and pushProperty().
|
private |
Definition at line 70 of file qxrddetectorproxy.h.
Referenced by clearProperties(), pullPropertiesFromDialog(), pushPropertiesToDialog(), and pushProperty().
|
private |
Definition at line 69 of file qxrddetectorproxy.h.
Referenced by clearProperties(), pullPropertiesFromDialog(), pushPropertiesToDialog(), and pushProperty().
|
private |
Definition at line 72 of file qxrddetectorproxy.h.
Referenced by clearProperties(), pushPropertiesToDialog(), and pushProperty().
|
private |
Definition at line 67 of file qxrddetectorproxy.h.
Referenced by configureDetector(), and settingsChanged().