25 throw runtime_error(
"TCPStreamer::instance(): The instance has not been initialized yet.");
26 return *_instance.get();
33 else if (type ==
"agat")
37 throw invalid_argument(
"TCPStreamer::instance(type): streamer of type '"+ type +
deserialize the data stream of the regular agat program
static TCPStreamer & instance()
return a reference to the derefenced instance
contains functors to deserialize the data stream sent by shm2tcp.
static shared_pointer _instance
a sigleton instance
contains base class for all tcp streamers
std::tr1::shared_ptr< TCPStreamer > shared_pointer
typedef the shared pointer of this
deserialize the data stream of shm2tcp program
contains functions to deserialize the data stream sent by agat.
base class for all tcp streamers