#include <ScanResultWriter.h>
Inheritance diagram for SctData::ScanResultWriter:
Public Member Functions | |||||||
virtual void | write (OStream &out, const Streamable &ob, const IOManager &manager) const throw (LogicError, IoError) | ||||||
Publishes ob to out. | |||||||
virtual shared_ptr< Streamable > | read (IStream &in, const IOManager &manager) const throw (LogicError, IoError) | ||||||
Create a new Streamable object of the appropriate type from IS. | |||||||
virtual void | read (IStream &in, Streamable &ob, const IOManager &manager) const throw (LogicError, IoError) | ||||||
Refreshes ob from in. | |||||||
virtual unsigned | getVersion () const throw () | ||||||
Static Public Member Functions | |||||||
static bool | publish (scan_result_ptrs &scanResult) | ||||||
For truely public access
| |||||||
static ScanResultWriter & | getRawWriter () | ||||||
Not for truely public access - some other mechanism maybe?? | |||||||
static void | writeClass (const string &name, OStream &out) | ||||||
Protected Member Functions | |||||||
void | setData (scan_result_ptrs &scanResult) | ||||||
void | writeGuts (OStream &out) const | ||||||
void | writeHeader (OStream &out) const | ||||||
void | writeScanPoints (OStream &out) const | ||||||
void | writeConfiguration (OStream &out) const | ||||||
void | writeChipConfig (OStream &out, const ABCDChip &data) const | ||||||
void | writeData (OStream &out) const | ||||||
Protected Attributes | |||||||
scan_result_ptrs * | scanResult | ||||||
Private Member Functions | |||||||
ScanResultWriter (const string &className, unsigned version) | |||||||
Private Attributes | |||||||
string | className | ||||||
unsigned | m_version | ||||||
Static Private Attributes | |||||||
static bool | rawInMap |
If you link to libScanResultWriter.so, you should not link to libSctData.so, since both provide streamers for SctData objects.
Definition at line 21 of file ScanResultWriter.h.
|
Not for truely public access - some other mechanism maybe??
Definition at line 56 of file ScanResultWriter.cpp. References ScanResultWriter(). Here is the call graph for this function: ![]() |
|
For truely public access
Definition at line 69 of file ScanResultWriter.cpp. References className, ScanHeader::dataType, Sct::SctNames::getEventDataName(), SctData::ScanWriterFactory::getResultWriter(), scan_result_ptrs::header, scanResult, and setData(). Referenced by SctApi::readHistogramToIS(). Here is the call graph for this function: ![]() |
|
Refreshes ob from in.
Implements Sct::Streamer. Definition at line 92 of file ScanResultWriter.cpp. |
|
Create a new Streamable object of the appropriate type from IS.
Implements Sct::Streamer. Definition at line 88 of file ScanResultWriter.cpp. |
|
Publishes ob to out.
Implements Sct::Streamer. Definition at line 81 of file ScanResultWriter.cpp. |
|
Definition at line 101 of file ScanResultWriter.cpp. References ScanHeader::endTime, scan_result_ptrs::header, ScanHeader::moduleName, ScanHeader::runNumber, ScanHeader::scanNumber, scanResult, ScanHeader::scanType, ScanHeader::startTime, and writeClass(). Here is the call graph for this function: ![]() |