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

SctData::IO::NoiseOccupancyTestResultStreamer Class Reference

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

#include <NoiseOccupancyTestResultStreamer.h>

Inheritance diagram for SctData::IO::NoiseOccupancyTestResultStreamer:

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

Private Member Functions

 NoiseOccupancyTestResultStreamer () throw ()

Static Private Attributes

bool inMap

Detailed Description

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

The published and refresehd elements are: The (usually 12) noise occupancy graphs. The (usually 12) noise occupancy fits.

Definition at line 17 of file NoiseOccupancyTestResultStreamer.h.


Constructor & Destructor Documentation

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

Definition at line 14 of file NoiseOccupancyTestResultStreamer.cpp.


Member Function Documentation

void SctData::IO::NoiseOccupancyTestResultStreamer::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 34 of file NoiseOccupancyTestResultStreamer.cpp.

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

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

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

void SctData::IO::NoiseOccupancyTestResultStreamer::readChipResult IStream &    in,
ChipNOResult  ,
const IOManager &    manager
const throw (LogicError, IoError)
 

Definition at line 49 of file NoiseOccupancyTestResultStreamer.cpp.

References SctData::RootStreamableAdapter::getObject(), and Sct::IoError.

void SctData::IO::NoiseOccupancyTestResultStreamer::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 24 of file NoiseOccupancyTestResultStreamer.cpp.

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

void SctData::IO::NoiseOccupancyTestResultStreamer::writeChipResult OStream &    out,
const ChipNOResult  ,
const IOManager &    manager
const throw (LogicError, IoError)
 

Definition at line 43 of file NoiseOccupancyTestResultStreamer.cpp.

References Sct::IoError.


Field Documentation

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

Definition at line 16 of file NoiseOccupancyTestResultStreamer.cpp.


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