SctData::IO::DcsDataStreamer_v2 Class Reference

Streamer to stream DCS information. More...

#include <DcsDataStreamer_v2.h>

Inheritance diagram for SctData::IO::DcsDataStreamer_v2:

Inheritance graph
[legend]
Collaboration diagram for SctData::IO::DcsDataStreamer_v2:

Collaboration graph
[legend]

Public Member Functions

virtual void write (Sct::OStream &out, const Sct::Streamable &ob, const Sct::IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
 Publishes ob to out.
virtual shared_ptr< Sct::Streamableread (Sct::IStream &in, const Sct::IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
 Create a new Streamable object of the appropriate type from IS.
virtual void read (Sct::IStream &in, Sct::Streamable &ob, const Sct::IOManager &manager) const throw (Sct::LogicError, Sct::IoError)
 Refreshes ob from in.
virtual unsigned getVersion () const throw ()

Private Member Functions

 DcsDataStreamer_v2 () throw ()

Static Private Attributes

static unsigned s_version
static bool inMap

Detailed Description

Streamer to stream DCS information.

..

Definition at line 17 of file DcsDataStreamer_v2.h.


Member Function Documentation

void SctData::IO::DcsDataStreamer_v2::read Sct::IStream in,
Sct::Streamable ob,
const Sct::IOManager manager
const throw (Sct::LogicError, Sct::IoError) [virtual]
 

Refreshes ob from in.

Parameters:
in The IStream
ob The Streamable object to be refreshed.
manager the IOManager to use
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 38 of file DcsDataStreamer_v2.cpp.

References SctData::ob, and SctData::DcsData::setParameter().

Here is the call graph for this function:

shared_ptr< Streamable > SctData::IO::DcsDataStreamer_v2::read Sct::IStream in,
const Sct::IOManager manager
const throw (Sct::LogicError, Sct::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 21 of file DcsDataStreamer_v2.cpp.

void SctData::IO::DcsDataStreamer_v2::write Sct::OStream out,
const Sct::Streamable ob,
const Sct::IOManager manager
const throw (Sct::LogicError, Sct::IoError) [virtual]
 

Publishes ob to out.

Parameters:
out The OStream.
ob The Streamable object to stream.
manager the IOManager to use
Exceptions:
IoException if something bad happens

Implements Sct::Streamer.

Definition at line 27 of file DcsDataStreamer_v2.cpp.

References SctData::DcsData::getAllParameterNames(), SctData::DcsData::getParameter(), SctData::DcsData::getTime(), and SctData::ob.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:08:10 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6