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

DcsDataStreamer_v1.h

00001 #ifndef SCTDATA_IO_DCSDATASTREAMER_v1_H
00002 #define SCTDATA_IO_DCSDATASTREAMER_v1_H
00003 
00004 #include "Sct/Streamer.h"
00005 #include "Sct/LogicErrors.h"
00006 #include "Sct/IoExceptions.h"
00007 
00008 class Sct::OStream;
00009 class Sct::IStream;
00010 class Sct::IOManager;
00011 
00012 namespace SctData {
00013 namespace IO{
00020 class DcsDataStreamer_v1 : public Sct::Streamer {
00021  public:
00022   virtual void write(Sct::OStream& out, const Sct::Streamable& ob, const Sct::IOManager& manager) const throw(Sct::LogicError, Sct::IoError);
00023     virtual shared_ptr<Sct::Streamable> read(Sct::IStream& in, const Sct::IOManager& manager) const throw(Sct::LogicError, Sct::IoError);
00024     virtual void read(Sct::IStream& in, Sct::Streamable& ob, const Sct::IOManager& manager) const throw(Sct::LogicError, Sct::IoError);
00025     virtual unsigned getVersion() const throw() {return s_version;}
00026  private:
00027     DcsDataStreamer_v1() throw();
00028     static unsigned s_version;
00029     static bool inMap;
00030 };
00031 
00032 }//namespace IO
00033 }//namespace SctData
00034 #endif //#ifndef SCTDATA_IO_DCSDATASTREAMER_v1_H

Generated on Thu Jul 15 09:50:44 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5