RTI Routing Service Version 7.1.0
|
A wrapper implementation of a StreamWriter that provides a strongly-typed interface through template parameters for data and info representation. More...
#include <StreamWriter.hpp>
Public Types | |
typedef Data | DataRep |
The data type. More... | |
typedef Info | InfoRep |
The info type. More... | |
Public Member Functions | |
int | write (const std::vector< SamplePtr > &sample_seq, const std::vector< InfoPtr > &info_seq) RTI_FINAL |
Performs the conversion between the vector of data and info pointers to strongly-type pointers. More... | |
virtual int | write (const std::vector< Data * > &sample_seq, const std::vector< Info * > &info_seq)=0 |
Interface redefinition. More... | |
virtual | ~TStreamWriter () |
Virtual destructor. More... | |
Public Member Functions inherited from rti::routing::adapter::StreamWriter | |
virtual int | write (const std::vector< SamplePtr > &sample_seq, const std::vector< InfoPtr > &info_seq)=0 |
Writes a collection of data samples to the output stream associated with this StreamWriter. More... | |
virtual | ~StreamWriter () |
Virtual destructor. More... | |
Public Member Functions inherited from rti::routing::UpdatableEntity | |
virtual void | update (const std::map< std::string, std::string > &properties) |
Updates a pluggable entity. More... | |
virtual | ~UpdatableEntity () |
Virtual destructor. More... | |
A wrapper implementation of a StreamWriter that provides a strongly-typed interface through template parameters for data and info representation.
You can implement this interface as a convenience to manipulate the data and info representation without dealing with opaque pointers.
typedef Data rti::routing::adapter::TStreamWriter< Data, Info >::DataRep |
The data type.
typedef Info rti::routing::adapter::TStreamWriter< Data, Info >::InfoRep |
The info type.
|
inlinevirtual |
Virtual destructor.
|
inlinevirtual |
Performs the conversion between the vector of data and info pointers to strongly-type pointers.
Implements rti::routing::adapter::StreamWriter.
References rti::routing::adapter::TStreamWriter< Data, Info >::write().
Referenced by rti::routing::adapter::TStreamWriter< Data, Info >::write().
|
pure virtual |
Interface redefinition.