#include <RawScanResultStreamer.h>
Inheritance diagram for SctData::IO::RawScanResultStreamer:
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. | |
Private Member Functions | |
void | readData (IStream &in, RawScanResult &raw) const throw (LogicError, IoError) |
Based on the data type, passes control onto the appropriate function for reading out the data. | |
void | readSliceData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const throw (LogicError, IoError) |
Reads in data in Slice format from IS. | |
void | readRootData (unsigned int size, unsigned short width, IStream &in, RawScanResult &raw) const throw (LogicError, IoError) |
Reads in data in ROOT format from IS. | |
RawScanResultStreamer () throw () | |
Constructor is private. | |
Private Attributes | |
RawScanResultIOHelper | helper |
The IOHelper. | |
Static Private Attributes | |
bool | inMap |
The static dummy variable for the IOManager map. |
Definition at line 19 of file RawScanResultStreamer.h.
|
Constructor is private.
Definition at line 20 of file RawScanResultStreamer.cpp. |
|
Refreshes ob from in.
Reimplemented from SctData::IO::ScanResultStreamer. Definition at line 48 of file RawScanResultStreamer.cpp. References SctData::ScanPoints::getEdges(), SctData::ScanPoints::getNPoints(), SctData::ScanResult::getPoints(), SctData::RawScanResult::getUniqueID(), Sct::IoError, and Sct::nChannelLink. |
|
Create a new Streamable object of the appropriate type from IS.
Implements Sct::Streamer. Definition at line 24 of file RawScanResultStreamer.cpp. References Sct::IoError, and Sct::File::read(). |
|
Based on the data type, passes control onto the appropriate function for reading out the data. AJB 02/05/2003 Definition at line 88 of file RawScanResultStreamer.cpp. References Sct::IoError, SR_DT_ROOTHIST, and SR_DT_SLICE. |
|
Reads in data in ROOT format from IS. I.e. same data format as is published by this. Definition at line 108 of file RawScanResultStreamer.cpp. References Sct::IoError, and Sct::nChannelLink. |
|
Reads in data in Slice format from IS.
Definition at line 146 of file RawScanResultStreamer.cpp. References Sct::IoError, Sct::nChannelLink, SR_WD_16, and SR_WD_32. |
|
Publishes ob to out.
Reimplemented from SctData::IO::ScanResultStreamer. Definition at line 30 of file RawScanResultStreamer.cpp. References Sct::IoError, SR_DT_ROOTHIST, and SR_WD_64. |
|
The IOHelper.
Reimplemented from SctData::IO::ScanResultStreamer. Definition at line 43 of file RawScanResultStreamer.h. |
|
The static dummy variable for the IOManager map.
Definition at line 22 of file RawScanResultStreamer.cpp. |