QXRD
0.11.16
|
#include <qxrddetectorperkinelmer.h>
Public Slots | |
void | onExposureTimeChanged () |
void | onBinningModeChanged () |
void | onCameraGainChanged () |
void | startDetector () |
void | stopDetector () |
void | onEndFrame (int counter, unsigned int n1, unsigned int n2) |
void | onEndFrameCallback () |
void | dumpHeaderInfo () |
QString | acquisitionErrorString (int n) |
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 | |
QxrdDetectorPerkinElmer (QcepSettingsSaverWPtr saver, QxrdExperimentWPtr expt, QxrdAcquisitionWPtr acq, int detNum, QcepObject *parent) | |
virtual | ~QxrdDetectorPerkinElmer () |
int | detectorNumber () const |
int | detectorSubType () const |
QString | detectorAddress () const |
void | pushPropertiesToProxy (QxrdDetectorProxyPtr proxy) |
void | pullPropertiesfromProxy (QxrdDetectorProxyPtr proxy) |
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) |
Protected Member Functions | |
void | beginAcquisition (double exposure) |
void | endAcquisition () |
void | shutdownAcquisition () |
Properties | |
int | detectorNumber |
int | detectorSubType |
QString | detectorAddress |
int | detectorGain |
int | detectorBinning |
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 |
Private Member Functions | |
void | acquisitionError (const char *fn, int ln, int n) |
void | startupAcquisition () |
bool | checkPluginAvailable () |
void | acquisitionInitError (const char *fn, int ln, int n) |
void | acquisitionNSensorsError (const char *fn, int ln, int n) |
Private Attributes | |
QMutex | m_Mutex |
int | m_BufferSize |
int | m_BufferIndex |
QVector< quint16 > | m_Buffer |
QVector< double > | m_ReadoutTimes |
HACQDESC | m_AcqDesc |
int | m_StartupDelayed |
int | m_PROMID |
int | m_HeaderID |
int | m_CameraType |
QString | m_CameraModel |
int | m_CurrentGain |
int | m_SyncMode |
QAtomicInt | m_Counter |
CHwHeaderInfo | m_HwHeaderInfo |
CHwHeaderInfoEx | m_HwHeaderInfoEx |
QxrdPerkinElmerPluginInterfaceWPtr | m_PerkinElmer |
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 |
Definition at line 16 of file qxrddetectorperkinelmer.h.
|
explicit |
Definition at line 14 of file qxrddetectorperkinelmer.cpp.
References DEBUG_CONSTRUCTORS, DEBUG_PERKINELMER, QxrdDetector::printMessage(), and qcepDebug().
|
virtual |
Definition at line 49 of file qxrddetectorperkinelmer.cpp.
References DEBUG_CONSTRUCTORS, DEBUG_PERKINELMER, m_AcqDesc, m_PerkinElmer, QxrdDetector::printMessage(), and qcepDebug().
|
private |
Definition at line 363 of file qxrddetectorperkinelmer.cpp.
References acquisitionErrorString(), QxrdDetector::criticalMessage(), QxrdDetector::m_Acquisition, and QxrdDetector::printMessage().
Referenced by acquisitionInitError(), acquisitionNSensorsError(), onBinningModeChanged(), onCameraGainChanged(), onExposureTimeChanged(), startDetector(), and startupAcquisition().
|
slot |
Definition at line 118 of file qxrddetectorperkinelmer.cpp.
Referenced by acquisitionError().
|
private |
Definition at line 1065 of file qxrddetectorperkinelmer.cpp.
References acquisitionError(), and QxrdDetector::criticalMessage().
Referenced by startDetector().
|
private |
Definition at line 1072 of file qxrddetectorperkinelmer.cpp.
References acquisitionError(), and QxrdDetector::criticalMessage().
Referenced by startDetector().
|
protectedvirtual |
Reimplemented from QxrdDetector.
Definition at line 897 of file qxrddetectorperkinelmer.cpp.
References QxrdDetector::beginAcquisition(), DEBUG_PERKINELMER, m_AcqDesc, m_Counter, m_PerkinElmer, m_StartupDelayed, QxrdDetector::printMessage(), qcepDebug(), and startupAcquisition().
|
private |
Definition at line 378 of file qxrddetectorperkinelmer.cpp.
References QxrdDetector::criticalMessage(), g_Application, and m_PerkinElmer.
Referenced by onBinningModeChanged(), onCameraGainChanged(), onEndFrame(), onEndFrameCallback(), onExposureTimeChanged(), startDetector(), and startupAcquisition().
QString QxrdDetectorPerkinElmer::detectorAddress | ( | ) | const |
int QxrdDetectorPerkinElmer::detectorNumber | ( | ) | const |
int QxrdDetectorPerkinElmer::detectorSubType | ( | ) | const |
|
slot |
Definition at line 1219 of file qxrddetectorperkinelmer.cpp.
References m_HwHeaderInfo, m_HwHeaderInfoEx, and QxrdDetector::printMessage().
|
protectedvirtual |
Reimplemented from QxrdDetector.
Definition at line 927 of file qxrddetectorperkinelmer.cpp.
References QxrdDetector::endAcquisition().
|
slot |
Definition at line 776 of file qxrddetectorperkinelmer.cpp.
References acquisitionError(), QxrdDetectorThread::Binning1x1, QxrdDetectorThread::Binning2x2Average, QxrdDetectorThread::Binning2x2Summed, checkPluginAvailable(), QxrdDetector::isEnabled(), m_AcqDesc, QxrdDetector::m_Acquisition, m_HeaderID, m_PerkinElmer, and QxrdDetector::printMessage().
Referenced by startDetector().
|
slot |
Definition at line 848 of file qxrddetectorperkinelmer.cpp.
References acquisitionError(), checkPluginAvailable(), QxrdDetector::isEnabled(), m_AcqDesc, QxrdDetector::m_Acquisition, m_CurrentGain, m_HeaderID, m_PerkinElmer, and QxrdDetector::printMessage().
Referenced by startDetector().
|
slot |
Definition at line 951 of file qxrddetectorperkinelmer.cpp.
References QcepAllocator::AllocateFromReserve, QxrdDetector::checkDetectorEnabled(), checkPluginAvailable(), DEBUG_PERKINELMERIDLING, QxrdDetector::enqueueAcquiredFrame(), QxrdDetector::m_Acquisition, m_Buffer, m_BufferIndex, m_BufferSize, m_Counter, m_Mutex, m_PerkinElmer, QcepAllocator::newInt16Image(), QxrdDetector::printMessage(), and qcepDebug().
Referenced by onEndFrameCallback().
|
slot |
Definition at line 1157 of file qxrddetectorperkinelmer.cpp.
References QxrdDetector::checkDetectorEnabled(), checkPluginAvailable(), m_AcqDesc, QxrdDetector::m_Acquisition, m_Counter, m_HwHeaderInfo, m_HwHeaderInfoEx, m_PerkinElmer, and onEndFrame().
Referenced by OnEndFrameCallback().
|
slot |
Definition at line 741 of file qxrddetectorperkinelmer.cpp.
References acquisitionError(), checkPluginAvailable(), QxrdDetector::isEnabled(), m_AcqDesc, QxrdDetector::m_Acquisition, m_PerkinElmer, and QxrdDetector::printMessage().
Referenced by startDetector().
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 95 of file qxrddetectorperkinelmer.cpp.
References QxrdDetector::pullPropertiesfromProxy().
|
static |
Definition at line 69 of file qxrddetectorperkinelmer.cpp.
References QxrdDetectorProxy::PEBinningProperty, QxrdDetectorProxy::PEDetNumProperty, QxrdDetectorProxy::PEGainProperty, QxrdDetectorThread::PerkinElmerDetector, QxrdDetectorProxy::PESubTypeProperty, QxrdDetector::pushDefaultsToProxy(), and QxrdDetectorProxy::StringProperty.
Referenced by QxrdDetectorThread::pushDefaultsToProxy().
|
virtual |
Reimplemented from QxrdDetector.
Definition at line 82 of file qxrddetectorperkinelmer.cpp.
References QxrdDetectorProxy::PEBinningProperty, QxrdDetectorProxy::PEDetNumProperty, QxrdDetectorProxy::PEGainProperty, QxrdDetectorProxy::PESubTypeProperty, QxrdDetector::pushPropertiesToProxy(), and QxrdDetectorProxy::StringProperty.
|
protectedvirtual |
Reimplemented from QxrdDetector.
Definition at line 936 of file qxrddetectorperkinelmer.cpp.
References m_AcqDesc, m_PerkinElmer, and QxrdDetector::shutdownAcquisition().
|
slot |
Definition at line 419 of file qxrddetectorperkinelmer.cpp.
References ACQDATATYPE, acquisitionError(), acquisitionInitError(), acquisitionNSensorsError(), QxrdDetector::checkDetectorEnabled(), checkPluginAvailable(), QxrdDetector::criticalMessage(), DEBUG_DELAY_ACQ, DEBUG_PERKINELMER, FALSE, QxrdDetectorThread::GBIF_IP_SubType, QxrdDetectorThread::GBIF_MAC_SubType, QxrdDetectorThread::GBIF_Name_SubType, QxrdDetectorThread::GBIF_Scan_SubType, m_AcqDesc, QxrdDetector::m_Acquisition, m_Buffer, m_BufferIndex, m_BufferSize, m_CameraType, QxrdDetector::m_Experiment, m_HeaderID, m_PerkinElmer, m_PROMID, m_ReadoutTimes, m_StartupDelayed, m_SyncMode, onBinningModeChanged(), onCameraGainChanged(), OnEndAcqCallback(), OnEndFrameCallback(), onExposureTimeChanged(), QxrdDetectorThread::PCI_SubType, QxrdDetector::printMessage(), qcepDebug(), QxrdDetector::startDetector(), startupAcquisition(), and THREAD_CHECK.
|
private |
Definition at line 878 of file qxrddetectorperkinelmer.cpp.
References acquisitionError(), QxrdDetector::checkDetectorEnabled(), checkPluginAvailable(), DEBUG_PERKINELMER, m_AcqDesc, m_BufferSize, m_PerkinElmer, QxrdDetector::printMessage(), and qcepDebug().
Referenced by beginAcquisition(), and startDetector().
|
slot |
Definition at line 736 of file qxrddetectorperkinelmer.cpp.
References QxrdDetector::printMessage().
|
private |
Definition at line 69 of file qxrddetectorperkinelmer.h.
Referenced by beginAcquisition(), onBinningModeChanged(), onCameraGainChanged(), onEndFrameCallback(), onExposureTimeChanged(), shutdownAcquisition(), startDetector(), startupAcquisition(), and ~QxrdDetectorPerkinElmer().
|
private |
Definition at line 66 of file qxrddetectorperkinelmer.h.
Referenced by onEndFrame(), and startDetector().
|
private |
Definition at line 65 of file qxrddetectorperkinelmer.h.
Referenced by onEndFrame(), and startDetector().
|
private |
Definition at line 64 of file qxrddetectorperkinelmer.h.
Referenced by onEndFrame(), startDetector(), and startupAcquisition().
|
private |
Definition at line 75 of file qxrddetectorperkinelmer.h.
|
private |
Definition at line 74 of file qxrddetectorperkinelmer.h.
Referenced by startDetector().
|
private |
Definition at line 79 of file qxrddetectorperkinelmer.h.
Referenced by beginAcquisition(), onEndFrame(), and onEndFrameCallback().
|
private |
Definition at line 76 of file qxrddetectorperkinelmer.h.
Referenced by onCameraGainChanged().
|
private |
Definition at line 73 of file qxrddetectorperkinelmer.h.
Referenced by onBinningModeChanged(), onCameraGainChanged(), and startDetector().
|
private |
Definition at line 81 of file qxrddetectorperkinelmer.h.
Referenced by dumpHeaderInfo(), and onEndFrameCallback().
|
private |
Definition at line 82 of file qxrddetectorperkinelmer.h.
Referenced by dumpHeaderInfo(), and onEndFrameCallback().
|
mutableprivate |
Definition at line 63 of file qxrddetectorperkinelmer.h.
Referenced by onEndFrame().
|
private |
Definition at line 84 of file qxrddetectorperkinelmer.h.
Referenced by beginAcquisition(), checkPluginAvailable(), onBinningModeChanged(), onCameraGainChanged(), onEndFrame(), onEndFrameCallback(), onExposureTimeChanged(), shutdownAcquisition(), startDetector(), startupAcquisition(), and ~QxrdDetectorPerkinElmer().
|
private |
Definition at line 72 of file qxrddetectorperkinelmer.h.
Referenced by startDetector().
|
private |
Definition at line 67 of file qxrddetectorperkinelmer.h.
Referenced by startDetector().
|
private |
Definition at line 70 of file qxrddetectorperkinelmer.h.
Referenced by beginAcquisition(), and startDetector().
|
private |
Definition at line 77 of file qxrddetectorperkinelmer.h.
Referenced by startDetector().
|
readwrite |
Definition at line 93 of file qxrddetectorperkinelmer.h.
|
readwrite |
Definition at line 99 of file qxrddetectorperkinelmer.h.
|
readwrite |
Definition at line 96 of file qxrddetectorperkinelmer.h.
|
readwrite |
Definition at line 87 of file qxrddetectorperkinelmer.h.
|
readwrite |
Definition at line 90 of file qxrddetectorperkinelmer.h.