QXRD
0.11.16
|
#include <qxrdresultserializer.h>
Public Member Functions | |
QxrdResultSerializer (QcepIntProperty *ctr, QcepObject *parent) | |
void | enqueue (QFuture< T > future) |
T | dequeue () |
int | count () const |
Public Member Functions inherited from QxrdResultSerializerBase | |
QxrdResultSerializerBase (QcepObject *parent) | |
virtual | ~QxrdResultSerializerBase () |
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 | |
QQueue< QFuture< T > > | m_Results |
QFutureWatcher< T > | m_Watcher |
QcepIntProperty * | m_Counter |
Additional Inherited Members | |
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) |
Signals inherited from QxrdResultSerializerBase | |
void | resultAvailable () |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Protected Attributes inherited from QxrdResultSerializerBase | |
QMutex | m_Mutex |
Properties inherited from QcepObject | |
QString | name |
Definition at line 28 of file qxrdresultserializer.h.
|
explicit |
Definition at line 15 of file qxrdresultserializer.cpp.
References QxrdResultSerializer< T >::m_Watcher, and QxrdResultSerializerBase::resultAvailable().
int QxrdResultSerializer< T >::count | ( | ) | const |
Definition at line 63 of file qxrdresultserializer.cpp.
T QxrdResultSerializer< T >::dequeue | ( | ) |
Definition at line 37 of file qxrdresultserializer.cpp.
Referenced by QxrdDataProcessorThreaded::onCorrectedImageAvailable(), QxrdDataProcessorThreaded::onHistogramDataAvailable(), QxrdDataProcessorThreaded::onIntegratedDataAvailable(), and QxrdDataProcessorThreaded::onROIDataAvailable().
void QxrdResultSerializer< T >::enqueue | ( | QFuture< T > | future | ) |
Definition at line 23 of file qxrdresultserializer.cpp.
Referenced by QxrdDataProcessorThreaded::acquiredDoubleImage(), QxrdDataProcessorThreaded::acquiredInt16Image(), QxrdDataProcessorThreaded::acquiredInt32Image(), QxrdDataProcessorThreaded::integrateData(), QxrdDataProcessorThreaded::integrateSaveAndDisplay(), QxrdDataProcessorThreaded::onCorrectedImageAvailable(), and QxrdDataProcessorThreaded::slicePolygon().
|
private |
Definition at line 43 of file qxrdresultserializer.h.
|
private |
Definition at line 41 of file qxrdresultserializer.h.
|
private |
Definition at line 42 of file qxrdresultserializer.h.
Referenced by QxrdResultSerializer< T >::QxrdResultSerializer().