1 #ifndef QXRDACQUISITIONINTERFACE_H
2 #define QXRDACQUISITIONINTERFACE_H
7 #include <QWaitCondition>
34 void acquiredFrame(QString fileName,
int iphase,
int nphases,
int isum,
int nsum,
int igroup,
int ngroup);
65 Q_PROPERTY(
int cancelling READ get_Cancelling WRITE set_Cancelling STORED
false)
68 Q_PROPERTY(
int triggered READ get_Triggered WRITE set_Triggered STORED false)
71 Q_PROPERTY(
double exposureTime READ get_ExposureTime WRITE set_ExposureTime)
77 Q_PROPERTY(
int phasesInGroup READ get_PhasesInGroup WRITE set_PhasesInGroup)
80 Q_PROPERTY(
int currentPhase READ get_CurrentPhase WRITE set_CurrentPhase STORED false)
83 Q_PROPERTY(
int summedExposures READ get_SummedExposures WRITE set_SummedExposures)
89 Q_PROPERTY(
int currentSummation READ get_CurrentSummation WRITE set_CurrentSummation STORED false)
95 Q_PROPERTY(
int preTriggerFiles READ get_PreTriggerFiles WRITE set_PreTriggerFiles)
101 Q_PROPERTY(
int currentFile READ get_CurrentFile WRITE set_CurrentFile STORED false)
104 Q_PROPERTY(QString
filePattern READ get_FilePattern WRITE set_FilePattern)
109 #endif // QXRDACQUISITIONINTERFACE_H
int acquisitionStatus(double time)
QWeakPointer< QxrdDataProcessor > QxrdDataProcessorWPtr
#define QCEP_DOUBLE_PROPERTY(propname)
void acquiredFrame(QString fileName, int iphase, int nphases, int isum, int nsum, int igroup, int ngroup)
QxrdAcquisitionExecutionThreadPtr m_ExecutionThread
QxrdAcquisitionInterface(QcepSettingsSaverWPtr saver, QxrdExperimentWPtr doc, QxrdDataProcessorWPtr proc, QcepAllocatorWPtr allocator)
virtual bool sanityCheckAcquire()=0
virtual void initialize()
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
QSharedPointer< QxrdAcquisitionExecutionThread > QxrdAcquisitionExecutionThreadPtr
QWaitCondition m_StatusWaiting
~QxrdAcquisitionInterface()
QxrdAcquisitionParameterPackPtr acquisitionParameterPack()
#define QCEP_INTEGER_PROPERTY(propname)
virtual void doAcquireDark()=0
int skippedExposuresAtStart
#define QCEP_STRING_PROPERTY(propname)
QxrdDarkAcquisitionParameterPackPtr darkAcquisitionParameterPack()
QWeakPointer< QcepAllocator > QcepAllocatorWPtr
QSharedPointer< QxrdDarkAcquisitionParameterPack > QxrdDarkAcquisitionParameterPackPtr
virtual void doAcquire()=0
virtual bool sanityCheckAcquireDark()=0
QSharedPointer< QxrdAcquisitionParameterPack > QxrdAcquisitionParameterPackPtr
QcepSettingsSaverWPtr m_Saver
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr