QXRD
0.11.16
|
#include <qxrdfilesaver.h>
Public Types | |
enum | { NoOverwrite, CanOverwrite } |
Public Slots | |
void | saveImageData (QString name, QcepImageDataBasePtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveDoubleData (QString name, QcepDoubleImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveInt32Data (QString name, QcepInt32ImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveInt16Data (QString name, QcepInt16ImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveMaskData (QString name, QcepMaskDataPtr image, int canOverwrite) |
void | saveRaw32Data (QString name, QcepInt32ImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveRaw16Data (QString name, QcepInt16ImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveTextData (QString name, QcepDoubleImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | writeOutputScan (FILE *logFile, QcepIntegratedDataPtr data, QString fileName=QString()) |
void | writeOutputScan (QString dir, QcepIntegratedDataPtr data, QString fileName=QString()) |
Public Member Functions | |
QxrdFileSaver (QcepAllocatorWPtr allocator) | |
~QxrdFileSaver () | |
void | setProcessor (QxrdDataProcessorWPtr proc) |
void | setAcquisition (QxrdAcquisitionWPtr acq) |
void | setExperiment (QxrdExperimentWPtr expt) |
Private Slots | |
void | saveImageDataPrivate (QString name, QcepImageDataBasePtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveDoubleDataPrivate (QString name, QcepDoubleImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveMaskDataPrivate (QString name, QcepMaskDataPtr image, int canOverwrite) |
void | saveRaw32DataPrivate (QString name, QcepInt32ImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveRaw16DataPrivate (QString name, QcepInt16ImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | saveTextDataPrivate (QString name, QcepDoubleImageDataPtr image, QcepMaskDataPtr overflow, int canOverwrite) |
void | writeOutputScanPrivate (FILE *logFile, QcepIntegratedDataPtr data, QString fileName=QString()) |
void | writeOutputScanPrivate (QString dir, QcepIntegratedDataPtr data, QString fileName=QString()) |
Private Member Functions | |
void | mkPath (QString filePath) |
QString | uniqueFileName (QString name) |
QxrdAcquisitionWPtr | acquisition () const |
QxrdExperimentWPtr | experiment () const |
void | saveOverflowData (QString name, QcepMaskDataPtr overflow) |
void | incBacklog () |
void | decBacklog () |
Private Attributes | |
QxrdExperimentWPtr | m_Experiment |
QxrdDataProcessorWPtr | m_Processor |
QcepAllocatorWPtr | m_Allocator |
QxrdAcquisitionWPtr | m_Acquisition |
Definition at line 24 of file qxrdfilesaver.h.
anonymous enum |
Enumerator | |
---|---|
NoOverwrite | |
CanOverwrite |
Definition at line 37 of file qxrdfilesaver.h.
QxrdFileSaver::QxrdFileSaver | ( | QcepAllocatorWPtr | allocator | ) |
Definition at line 18 of file qxrdfilesaver.cpp.
References DEBUG_CONSTRUCTORS, and qcepDebug().
QxrdFileSaver::~QxrdFileSaver | ( | ) |
Definition at line 30 of file qxrdfilesaver.cpp.
References DEBUG_CONSTRUCTORS, and qcepDebug().
|
private |
Definition at line 61 of file qxrdfilesaver.cpp.
References g_Application, m_Acquisition, and QcepApplication::printMessage().
Referenced by uniqueFileName().
|
private |
Definition at line 79 of file qxrdfilesaver.cpp.
References m_Processor.
Referenced by saveDoubleDataPrivate(), saveImageDataPrivate(), saveMaskDataPrivate(), saveRaw16DataPrivate(), saveRaw32DataPrivate(), saveTextDataPrivate(), and writeOutputScanPrivate().
|
private |
Definition at line 42 of file qxrdfilesaver.cpp.
References g_Application, m_Experiment, and QcepApplication::printMessage().
|
private |
Definition at line 70 of file qxrdfilesaver.cpp.
References m_Processor.
Referenced by saveDoubleData(), saveImageData(), saveMaskData(), saveRaw16Data(), saveRaw32Data(), saveTextData(), and writeOutputScan().
|
private |
Definition at line 88 of file qxrdfilesaver.cpp.
Referenced by saveDoubleDataPrivate(), saveMaskDataPrivate(), saveRaw16DataPrivate(), saveRaw32DataPrivate(), saveTextDataPrivate(), and writeOutputScanPrivate().
|
slot |
Definition at line 179 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
|
privateslot |
Definition at line 191 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, m_Processor, mkPath(), NoOverwrite, QcepApplication::printMessage(), saveOverflowData(), TIFFCHECK, and uniqueFileName().
Referenced by saveImageDataPrivate().
|
slot |
Definition at line 134 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
|
privateslot |
Definition at line 146 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, saveDoubleDataPrivate(), saveRaw16DataPrivate(), and saveRaw32DataPrivate().
|
slot |
Definition at line 284 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), g_Application, and saveRaw16Data().
|
slot |
Definition at line 273 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), g_Application, and saveRaw32Data().
|
slot |
Definition at line 295 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
|
privateslot |
Definition at line 306 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, mkPath(), NoOverwrite, QcepApplication::printMessage(), TIFFCHECK, and uniqueFileName().
|
private |
Definition at line 847 of file qxrdfilesaver.cpp.
Referenced by saveDoubleDataPrivate(), saveRaw16DataPrivate(), saveRaw32DataPrivate(), and saveTextDataPrivate().
|
slot |
Definition at line 503 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
Referenced by saveInt16Data().
|
privateslot |
Definition at line 515 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, m_Acquisition, m_Processor, mkPath(), NoOverwrite, QcepApplication::printMessage(), saveOverflowData(), TIFFCHECK, and uniqueFileName().
Referenced by saveImageDataPrivate().
|
slot |
Definition at line 370 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
Referenced by saveInt32Data().
|
privateslot |
Definition at line 382 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, m_Acquisition, m_Processor, mkPath(), NoOverwrite, QcepApplication::printMessage(), saveOverflowData(), TIFFCHECK, and uniqueFileName().
Referenced by saveImageDataPrivate().
|
slot |
Definition at line 599 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
|
privateslot |
Definition at line 611 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, m_Processor, mkPath(), NoOverwrite, saveOverflowData(), and uniqueFileName().
void QxrdFileSaver::setAcquisition | ( | QxrdAcquisitionWPtr | acq | ) |
void QxrdFileSaver::setExperiment | ( | QxrdExperimentWPtr | expt | ) |
void QxrdFileSaver::setProcessor | ( | QxrdDataProcessorWPtr | proc | ) |
|
private |
Definition at line 98 of file qxrdfilesaver.cpp.
References acquisition(), and THREAD_CHECK.
Referenced by saveDoubleDataPrivate(), saveMaskDataPrivate(), saveRaw16DataPrivate(), saveRaw32DataPrivate(), saveTextDataPrivate(), and writeOutputScanPrivate().
|
slot |
Definition at line 759 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
|
slot |
Definition at line 689 of file qxrdfilesaver.cpp.
References incBacklog(), and INVOKE_CHECK.
|
privateslot |
Definition at line 770 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, m_Experiment, and m_Processor.
Referenced by writeOutputScanPrivate().
|
privateslot |
Definition at line 700 of file qxrdfilesaver.cpp.
References QcepApplication::criticalMessage(), decBacklog(), g_Application, m_Experiment, mkPath(), QcepApplication::printMessage(), uniqueFileName(), and writeOutputScanPrivate().
|
private |
Definition at line 78 of file qxrdfilesaver.h.
Referenced by acquisition(), saveRaw16DataPrivate(), saveRaw32DataPrivate(), and setAcquisition().
|
private |
Definition at line 77 of file qxrdfilesaver.h.
|
private |
Definition at line 75 of file qxrdfilesaver.h.
Referenced by experiment(), setExperiment(), and writeOutputScanPrivate().
|
private |
Definition at line 76 of file qxrdfilesaver.h.
Referenced by decBacklog(), incBacklog(), saveDoubleDataPrivate(), saveRaw16DataPrivate(), saveRaw32DataPrivate(), saveTextDataPrivate(), setProcessor(), and writeOutputScanPrivate().