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

SctData::ScanResultWriter Class Reference

This class writes raw memory to IS in the form of ScanResults. More...

#include <ScanResultWriter.h>

Inheritance diagram for SctData::ScanResultWriter:


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)
virtual void read (IStream &in, Streamable &ob, const IOManager &manager) const throw (LogicError, IoError)

Static Public Member Functions

bool publish (scan_result_ptrs &scanResult)
 For truely public access
Exceptions:
IoException if something bad happens whilst writing
LogicError if you give it something it doesn't know how to deal with.


ScanResultWriter & getRawWriter ()
 Not for truely public access - some other mechanism maybe??

void writeClass (const string &name, OStream &out)

Protected Member Functions

void setData (scan_result_ptrs &scanResult)
void writeGuts (OStream &out) const
void writeHeader (OStream &out) const
void writeScanPoints (OStream &out) const
void writeConfiguration (OStream &out) const
void writeChipConfig (OStream &out, const ABCDChip &data) const
void writeData (OStream &out) const

Protected Attributes

scan_result_ptrs * scanResult

Private Member Functions

 ScanResultWriter (const string &className)

Private Attributes

string className

Static Private Attributes

bool rawInMap

Detailed Description

This class writes raw memory to IS in the form of ScanResults.

Definition at line 20 of file ScanResultWriter.h.


Member Function Documentation

ScanResultWriter & SctData::ScanResultWriter::getRawWriter   [static]
 

Not for truely public access - some other mechanism maybe??

Definition at line 48 of file ScanResultWriter.cpp.

bool SctData::ScanResultWriter::publish scan_result_ptrs &    scanResult [static]
 

For truely public access

Exceptions:
IoException if something bad happens whilst writing
LogicError if you give it something it doesn't know how to deal with.

Definition at line 61 of file ScanResultWriter.cpp.

References className, and setData().


The documentation for this class was generated from the following files:
Generated on Tue Dec 9 10:08:22 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3