Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

SctData::IO::TimeWalkTestResultStreamer Class Reference

This class allows publishing and refreshing of TimeWalkTestResult objects. More...

#include <TimeWalkTestResultStreamer.h>

Inheritance diagram for SctData::IO::TimeWalkTestResultStreamer:

SctData::IO::TestResultStreamer Sct::Streamer

Public Member Functions

virtual void write (OStream &out, const Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)
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)
void writeChipResult (OStream &out, const TimeWalkTestResult::ChipTWResult &, const IOManager &manager) const throw (LogicError, IoError)
void readChipResult (IStream &in, TimeWalkTestResult::ChipTWResult &, const IOManager &manager) const throw (LogicError, IoError)

Private Member Functions

 TimeWalkTestResultStreamer () throw ()

Static Private Attributes

bool inMap

Detailed Description

This class allows publishing and refreshing of TimeWalkTestResult objects.

Definition at line 13 of file TimeWalkTestResultStreamer.h.


Constructor & Destructor Documentation

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

Definition at line 8 of file TimeWalkTestResultStreamer.cpp.


Member Function Documentation

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

Should always succeed!

Should always succeed!

Reimplemented from SctData::IO::TestResultStreamer.

Definition at line 32 of file TimeWalkTestResultStreamer.cpp.

References SctData::TimeWalkTestResult::getChipResult(), Sct::IoError, and Sct::nChipModule.

shared_ptr< Streamable > SctData::IO::TimeWalkTestResultStreamer::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 12 of file TimeWalkTestResultStreamer.cpp.

References Sct::IoError, and Sct::File::read().

void SctData::IO::TimeWalkTestResultStreamer::readChipResult IStream &    in,
TimeWalkTestResult::ChipTWResult  ,
const IOManager &    manager
const throw (LogicError, IoError)
 

Definition at line 46 of file TimeWalkTestResultStreamer.cpp.

References Sct::IoError.

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

This is because ISostream operator<<(string&) isnt const

Reimplemented from SctData::IO::TestResultStreamer.

Definition at line 18 of file TimeWalkTestResultStreamer.cpp.

References SctData::TimeWalkTestResult::getChipResult(), Sct::IoError, and Sct::nChipModule.

void SctData::IO::TimeWalkTestResultStreamer::writeChipResult OStream &    out,
const TimeWalkTestResult::ChipTWResult  ,
const IOManager &    manager
const throw (LogicError, IoError)
 

Definition at line 42 of file TimeWalkTestResultStreamer.cpp.

References Sct::IoError.


Field Documentation

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

Definition at line 10 of file TimeWalkTestResultStreamer.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:59 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3