QXRD  0.11.16
Public Member Functions | Static Public Member Functions | List of all members
QxrdDetectorFileWatcher Class Reference

#include <qxrddetectorfilewatcher.h>

Inheritance diagram for QxrdDetectorFileWatcher:
Inheritance graph
[legend]
Collaboration diagram for QxrdDetectorFileWatcher:
Collaboration graph
[legend]

Public Member Functions

 QxrdDetectorFileWatcher (QcepSettingsSaverWPtr saver, QxrdExperimentWPtr expt, QxrdAcquisitionWPtr acq, int detNum, QcepObject *parent)
 
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)
 

Additional Inherited Members

- Public Types inherited from QxrdDetector
enum  { FileIndexScaler, FilePhaseScaler, ExtraScalers }
 
- Public Slots inherited from QxrdDetector
bool isEnabled ()
 
bool checkDetectorEnabled ()
 
virtual void startDetector ()
 
virtual void stopDetector ()
 
virtual void onExposureTimeChanged ()
 
virtual void beginAcquisition (double exposure)
 
virtual void endAcquisition ()
 
virtual void shutdownAcquisition ()
 
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)
 
- 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
 

Detailed Description

Definition at line 7 of file qxrddetectorfilewatcher.h.

Constructor & Destructor Documentation

QxrdDetectorFileWatcher::QxrdDetectorFileWatcher ( QcepSettingsSaverWPtr  saver,
QxrdExperimentWPtr  expt,
QxrdAcquisitionWPtr  acq,
int  detNum,
QcepObject parent 
)
explicit

Definition at line 5 of file qxrddetectorfilewatcher.cpp.

9  :
10  QxrdDetector(saver, expt, acq, QxrdDetectorThread::FileWatcherDetector, detNum, parent)
11 {
12 }
QxrdDetector(QcepSettingsSaverWPtr saver, QxrdExperimentWPtr expt, QxrdAcquisitionWPtr acq, int detType, int detNum, QcepObject *parent)

Member Function Documentation

void QxrdDetectorFileWatcher::pullPropertiesfromProxy ( QxrdDetectorProxyPtr  proxy)
virtual

Reimplemented from QxrdDetector.

Definition at line 28 of file qxrddetectorfilewatcher.cpp.

References QxrdDetector::pullPropertiesfromProxy().

29 {
31 
32  printf("Need to implement QxrdDetectorFileWatcher::pullPropertiesfromProxy\n");
33 }
virtual void pullPropertiesfromProxy(QxrdDetectorProxyPtr proxy)

Here is the call graph for this function:

void QxrdDetectorFileWatcher::pushDefaultsToProxy ( QxrdDetectorProxyPtr  proxy)
static

Definition at line 14 of file qxrddetectorfilewatcher.cpp.

References QxrdDetectorThread::FileWatcherDetector, and QxrdDetector::pushDefaultsToProxy().

Referenced by QxrdDetectorThread::pushDefaultsToProxy().

15 {
17 
18  printf("Need to implement QxrdDetectorFileWatcher::pushDefaultsToProxy\n");
19 }
static void pushDefaultsToProxy(QxrdDetectorProxyPtr proxy, int detType)

Here is the call graph for this function:

Here is the caller graph for this function:

void QxrdDetectorFileWatcher::pushPropertiesToProxy ( QxrdDetectorProxyPtr  proxy)
virtual

Reimplemented from QxrdDetector.

Definition at line 21 of file qxrddetectorfilewatcher.cpp.

References QxrdDetector::pushPropertiesToProxy().

22 {
24 
25  printf("Need to implement QxrdDetectorFileWatcher::pushPropertiesToProxy\n");
26 }
virtual void pushPropertiesToProxy(QxrdDetectorProxyPtr proxy)

Here is the call graph for this function:


The documentation for this class was generated from the following files: