CFEL - ASG Software Suite
2.5.0
CASS
|
base class for all tcp streamers More...
#include <tcp_streamer.h>
Public Types | |
typedef std::tr1::shared_ptr< TCPStreamer > | shared_pointer |
typedef the shared pointer of this More... | |
Public Member Functions | |
virtual | ~TCPStreamer () |
virtual destructor More... | |
virtual size_t | operator() (QDataStream &stream, CASSEvent &evt)=0 |
deserialize stream More... | |
virtual size_t | operator() (QDataStream &) |
deserialize the file header More... | |
Static Public Member Functions | |
static TCPStreamer & | instance (const std::string &type) |
create an instance of the requested type and return a reference More... | |
static TCPStreamer & | instance () |
return a reference to the derefenced instance More... | |
Protected Member Functions | |
TCPStreamer () | |
only inheritants can create this More... | |
Static Protected Attributes | |
static shared_pointer | _instance |
a sigleton instance More... | |
base class for all tcp streamers
Definition at line 25 of file tcp_streamer.h.
typedef std::tr1::shared_ptr<TCPStreamer> cass::TCPStreamer::shared_pointer |
typedef the shared pointer of this
Definition at line 29 of file tcp_streamer.h.
|
inlinevirtual |
virtual destructor
Definition at line 32 of file tcp_streamer.h.
|
inlineprotected |
only inheritants can create this
Definition at line 64 of file tcp_streamer.h.
|
static |
create an instance of the requested type and return a reference
type | the reqested type |
Definition at line 29 of file tcp_streamer.cpp.
|
static |
return a reference to the derefenced instance
Definition at line 22 of file tcp_streamer.cpp.
Referenced by cass::TCPInput::runthis().
|
pure virtual |
deserialize stream
stream | The stream that contains the serialized data |
evt | The CASS Event that the data should be deserialized to. |
Implemented in cass::pixeldetector::SHMStreamer, and cass::ACQIRIS::AGATStreamer.
|
inlinevirtual |
deserialize the file header
stream | the datastream containing the header information |
Reimplemented in cass::pixeldetector::SHMStreamer.
Definition at line 60 of file tcp_streamer.h.
|
staticprotected |
a sigleton instance
Definition at line 67 of file tcp_streamer.h.