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

SctData::IO::StrobeDelayTestResultStreamer Class Reference

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

#include <StrobeDelayTestResultStreamer.h>

Inheritance diagram for SctData::IO::StrobeDelayTestResultStreamer:

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)

Private Member Functions

 StrobeDelayTestResultStreamer () throw ()
 Constructor is private.


Static Private Attributes

bool inMap
 The static dummy variable for the IOManager map.


Detailed Description

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

The published and refreshed elements are: -> The fraction (usually 0.25) of the distance from the leading edge to the falling edge with which the optima were found. -> the (usually 12 - 1 per chip) opimum values found by the analysis.

Definition at line 16 of file StrobeDelayTestResultStreamer.h.


Constructor & Destructor Documentation

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

Constructor is private.

Definition at line 10 of file StrobeDelayTestResultStreamer.cpp.


Member Function Documentation

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

References Sct::IoError, SctData::StrobeDelayTestResult::setFraction(), SctData::StrobeDelayTestResult::setNOptima(), and SctData::StrobeDelayTestResult::setOptimum().

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

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

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

References SctData::StrobeDelayTestResult::getFraction(), SctData::StrobeDelayTestResult::getNOptima(), SctData::StrobeDelayTestResult::getOptimum(), and Sct::IoError.


Field Documentation

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

The static dummy variable for the IOManager map.

Definition at line 13 of file StrobeDelayTestResultStreamer.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