QXRD
0.11.16
|
#include <qxrddetectorsimulated.h>
Public Slots | |
void | startDetector () |
void | stopDetector () |
virtual void | onExposureTimeChanged () |
void | onTimerTimeout () |
Public Slots inherited from QxrdDetector | |
bool | isEnabled () |
bool | checkDetectorEnabled () |
virtual void | startDetector () |
virtual void | stopDetector () |
virtual void | onExposureTimeChanged () |
void | openControlWindow () |
QxrdDetectorProcessorPtr | processor () |
void | startOrStop (bool enabled) |
virtual void | beginFrame () |
virtual QcepImageDataBasePtr | acquireFrameIfAvailable () |
virtual QcepImageDataBasePtr | acquireFrame () |
int | roiCount () |
QxrdROICoordinatesPtr | roi (int i) |
QcepDoubleVector | scalerCounts () |
double | scalerCounts (int chan) |
Public Slots inherited from QcepObject | |
virtual void | printLine (QString line) |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Public Member Functions | |
QxrdDetectorSimulated (QcepSettingsSaverWPtr saver, QxrdExperimentWPtr expt, QxrdAcquisitionWPtr acq, int detNum, QcepObject *parent) | |
virtual | ~QxrdDetectorSimulated () |
void | pushPropertiesToProxy (QxrdDetectorProxyPtr proxy) |
void | pullPropertiesfromProxy (QxrdDetectorProxyPtr proxy) |
void | beginAcquisition (double exposure) |
void | endAcquisition () |
void | shutdownAcquisition () |
Public Member Functions inherited from QxrdDetector | |
QxrdDetector (QcepSettingsSaverWPtr saver, QxrdExperimentWPtr expt, QxrdAcquisitionWPtr acq, int detType, int detNum, QcepObject *parent) | |
void | initialize () |
virtual | ~QxrdDetector () |
QxrdExperimentWPtr | experiment () |
QxrdAcquisitionWPtr | acquisition () |
void | printMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
void | criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
void | statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
void | readSettings (QSettings *settings, QString section) |
void | writeSettings (QSettings *settings, QString section) |
void | enqueueAcquiredFrame (QcepImageDataBasePtr img) |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
QString | get_Name () const |
void | set_Name (QString name) |
Static Public Member Functions | |
static void | pushDefaultsToProxy (QxrdDetectorProxyPtr proxy) |
Static Public Member Functions inherited from QxrdDetector | |
static QScriptValue | toScriptValue (QScriptEngine *engine, const QxrdDetectorPtr &det) |
static void | fromScriptValue (const QScriptValue &obj, QxrdDetectorPtr &det) |
static void | pushDefaultsToProxy (QxrdDetectorProxyPtr proxy, int detType) |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Private Attributes | |
QTimer | m_Timer |
Additional Inherited Members | |
Public Types inherited from QxrdDetector | |
enum | { FileIndexScaler, FilePhaseScaler, ExtraScalers } |
Protected Attributes inherited from QxrdDetector | |
QcepSettingsSaverWPtr | m_Saver |
QxrdExperimentWPtr | m_Experiment |
QxrdAcquisitionWPtr | m_Acquisition |
QxrdDetectorProcessorPtr | m_Processor |
QxrdDetectorControlWindowPtr | m_DetectorControlWindow |
Properties inherited from QxrdDetector | |
int | detectorNumber |
int | detectorType |
QString | detectorTypeName |
bool | enabled |
QString | detectorName |
int | nCols |
int | nRows |
int | hBinning |
int | vBinning |
QString | extension |
Properties inherited from QcepObject | |
QString | name |
Definition at line 8 of file qxrddetectorsimulated.h.
|
explicit |
Definition at line 10 of file qxrddetectorsimulated.cpp.
References DEBUG_CONSTRUCTORS, m_Timer, onTimerTimeout(), and qcepDebug().
|
virtual |
Definition at line 24 of file qxrddetectorsimulated.cpp.
References DEBUG_CONSTRUCTORS, and qcepDebug().
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 127 of file qxrddetectorsimulated.cpp.
References QxrdDetector::beginAcquisition(), and frameCounter.
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 138 of file qxrddetectorsimulated.cpp.
References QxrdDetector::endAcquisition().
|
virtualslot |
Definition at line 56 of file qxrddetectorsimulated.cpp.
References QxrdDetector::isEnabled(), QxrdDetector::m_Acquisition, QxrdDetector::m_Experiment, and m_Timer.
Referenced by startDetector().
|
slot |
Definition at line 156 of file qxrddetectorsimulated.cpp.
References QcepAllocator::AllocateFromReserve, QxrdDetector::checkDetectorEnabled(), QxrdDetector::enqueueAcquiredFrame(), frameCounter, QxrdDetector::m_Acquisition, QxrdDetector::nCols, QcepAllocator::newInt16Image(), and QxrdDetector::nRows.
Referenced by QxrdDetectorSimulated().
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 49 of file qxrddetectorsimulated.cpp.
References QxrdDetector::pullPropertiesfromProxy().
|
static |
Definition at line 35 of file qxrddetectorsimulated.cpp.
References QxrdDetector::pushDefaultsToProxy(), and QxrdDetectorThread::SimulatedDetector.
Referenced by QxrdDetectorThread::pushDefaultsToProxy().
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 42 of file qxrddetectorsimulated.cpp.
References QxrdDetector::pushPropertiesToProxy().
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 147 of file qxrddetectorsimulated.cpp.
References QxrdDetector::shutdownAcquisition().
|
slot |
Definition at line 88 of file qxrddetectorsimulated.cpp.
References QxrdDetector::checkDetectorEnabled(), QxrdDetector::m_Acquisition, onExposureTimeChanged(), QxrdDetector::printMessage(), and QxrdDetector::startDetector().
|
slot |
Definition at line 112 of file qxrddetectorsimulated.cpp.
References m_Timer, QxrdDetector::printMessage(), and QxrdDetector::stopDetector().
|
private |
Definition at line 41 of file qxrddetectorsimulated.h.
Referenced by onExposureTimeChanged(), QxrdDetectorSimulated(), and stopDetector().