SctData::IO::TrimRangeTestResultStreamer_v1 Class Reference

This class allows publishing and refreshing of TrimRangeTestResult objects to and from IS. More...

#include <TrimRangeTestResultStreamer_v1.h>

Inheritance diagram for SctData::IO::TrimRangeTestResultStreamer_v1:

Inheritance graph
[legend]
Collaboration diagram for SctData::IO::TrimRangeTestResultStreamer_v1:

Collaboration graph
[legend]

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< Streamableread (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 ()

Private Member Functions

void writeData (OStream &out, const TrimRangeTestResult::ChipTrimData &ob, const IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
void readData (IStream &in, TrimRangeTestResult &mytest, TrimRangeTestResult::ChipTrimData &ob, const IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
void writeTrim (OStream &out, const TrimRangeTestResult::ChipTrim &ob, const IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
void readTrim (IStream &in, TrimRangeTestResult &mytest, TrimRangeTestResult::ChipTrim &ob, const IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
 TrimRangeTestResultStreamer_v1 () throw ()
 Constructor is private.

Static Private Attributes

static unsigned s_version
static bool inMap
 The static dummy variable for the IOManager map.

Detailed Description

This class allows publishing and refreshing of TrimRangeTestResult objects to and from IS.

The published and refreshed elements are:

Definition at line 18 of file TrimRangeTestResultStreamer_v1.h.


Constructor & Destructor Documentation

SctData::IO::TrimRangeTestResultStreamer_v1::TrimRangeTestResultStreamer_v1  )  throw () [private]
 

Constructor is private.

Definition at line 20 of file TrimRangeTestResultStreamer_v1.cpp.


Member Function Documentation

void SctData::IO::TrimRangeTestResultStreamer_v1::read IStream in,
Streamable ob,
const IOManager manager
const throw (LogicError, IoError) [virtual]
 

Refreshes ob from in.

Parameters:
in The IStream
ob The Streamable object to be refreshed.
manager the IOManager to use
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 53 of file TrimRangeTestResultStreamer_v1.cpp.

References SctData::TrimRangeTestResult::chipTrimData.

shared_ptr< Streamable > SctData::IO::TrimRangeTestResultStreamer_v1::read IStream in,
const IOManager manager
const throw (LogicError, IoError) [virtual]
 

Create a new Streamable object of the appropriate type from IS.

Parameters:
in The IStream.
manager the IOManager to use
Returns:
a new Streamable object
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 27 of file TrimRangeTestResultStreamer_v1.cpp.

void SctData::IO::TrimRangeTestResultStreamer_v1::write OStream out,
const Streamable ob,
const IOManager manager
const throw (LogicError, IoError) [virtual]
 

Publishes ob to out.

Parameters:
out The OStream.
ob The Streamable object to stream.
manager the IOManager to use
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 33 of file TrimRangeTestResultStreamer_v1.cpp.

References SctData::TrimRangeTestResult::chipTrimData, and SctData::ob.


Field Documentation

bool SctData::IO::TrimRangeTestResultStreamer_v1::inMap [static, private]
 

The static dummy variable for the IOManager map.

Definition at line 35 of file TrimRangeTestResultStreamer_v1.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:09:03 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6