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

SctData::IO::FullBypassTestResultStreamer Class Reference

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

#include <FullBypassTestResultStreamer.h>

Inheritance diagram for SctData::IO::FullBypassTestResultStreamer:

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 FullBypassTestResult::ChipFBResult &, const IOManager &manager) const throw (LogicError, IoError)
void readChipResult (IStream &in, FullBypassTestResult::ChipFBResult &, const IOManager &manager) const throw (LogicError, IoError)

Private Member Functions

 FullBypassTestResultStreamer () throw ()

Static Private Attributes

bool inMap

Detailed Description

This class allows publishing and refreshing of FullBypassTestResult objects.

Definition at line 15 of file FullBypassTestResultStreamer.h.


Constructor & Destructor Documentation

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

Definition at line 8 of file FullBypassTestResultStreamer.cpp.


Member Function Documentation

void SctData::IO::FullBypassTestResultStreamer::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 FullBypassTestResultStreamer.cpp.

References SctData::FullBypassTestResult::getChipResult(), Sct::IoError, Sct::nChipModule, SctData::FullBypassTestResult::setNConfig(), and SctData::FullBypassTestResult::setVddNom().

shared_ptr< Streamable > SctData::IO::FullBypassTestResultStreamer::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 FullBypassTestResultStreamer.cpp.

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

void SctData::IO::FullBypassTestResultStreamer::readChipResult IStream &    in,
FullBypassTestResult::ChipFBResult  ,
const IOManager &    manager
const throw (LogicError, IoError)
 

Definition at line 50 of file FullBypassTestResultStreamer.cpp.

References Sct::IoError.

void SctData::IO::FullBypassTestResultStreamer::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 FullBypassTestResultStreamer.cpp.

References SctData::FullBypassTestResult::getChipResult(), SctData::FullBypassTestResult::getNConfig(), SctData::FullBypassTestResult::getVddNom(), Sct::IoError, and Sct::nChipModule.

void SctData::IO::FullBypassTestResultStreamer::writeChipResult OStream &    out,
const FullBypassTestResult::ChipFBResult  ,
const IOManager &    manager
const throw (LogicError, IoError)
 

Definition at line 46 of file FullBypassTestResultStreamer.cpp.

References Sct::IoError.


Field Documentation

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

Definition at line 10 of file FullBypassTestResultStreamer.cpp.


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