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

Sct::Streamable Class Reference

Classes should implement this interface if they want to be serialized by the IO system. More...

#include <Streamable.h>

Inheritance diagram for Sct::Streamable:

Sct::Serializable SctData::ChipConfiguration SctData::ConfigurationVariable SctData::FitObject SctData::ModuleConfiguration SctData::ModuleDefect SctData::ModuleDefectList SctData::ResponseCurve SctData::RootStreamableAdapter SctData::ScanPoints

Public Member Functions

virtual string getClassName () const=0 throw ()
 Get the class name for this object.

virtual ~Streamable () throw ()
 Virtual destructor to make it safe to delete through a pointer to a Streamable or any sub-class.


Detailed Description

Classes should implement this interface if they want to be serialized by the IO system.

For ease of implementation, all objects should be default constructible

Author:
Matthew Palmer

Definition at line 15 of file Streamable.h.


Constructor & Destructor Documentation

virtual Sct::Streamable::~Streamable   throw () [inline, virtual]
 

Virtual destructor to make it safe to delete through a pointer to a Streamable or any sub-class.

Definition at line 28 of file Streamable.h.


Member Function Documentation

virtual string Sct::Streamable::getClassName   const throw () [pure virtual]
 

Get the class name for this object.

This is used to identify the precise type.

Todo:
We could use typeid instead here, but that would probably mean removing the namespace stuff.
Returns:
the class name

Implemented in Sct::ISProxy::ISProxy, SctData::SerializableWrapper, SctData::ChipConfiguration, SctData::ConfigurationVariable, SctData::ErfcFitObject, SctData::ErfFitObject, SctData::FitScanResult, SctData::FullBypassTestResult, SctData::GausFitObject, SctData::ModuleConfiguration, SctData::ModuleDefect, SctData::ModuleDefectList, SctData::NMaskTestResult, SctData::NoiseOccupancyTestResult, SctData::NPtGainTestResult, SctData::PipelineTestResult, SctData::RawScanResult, SctData::ResponseCurve, SctData::RootStreamableAdapter, SctData::ScanHeader, SctData::ScanPoints, SctData::StrobeDelayTestResult, SctData::TimeWalkTestResult, SctData::TopHatFitObject, and SctData::TrimRangeTestResult.

Referenced by Sct::IOManager::readImpl(), SctCalibrationController::ConfigUpdaterManager::update(), SctData::IO::FitScanResultStreamer::write(), and Sct::IOManager::writeImpl().


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