RTI Recording Service Version 7.1.0
|
A templatized wrapping implementation of StorageStreamWriter, providing a strongly-typed interface regarding data and info representations. More...
#include <StorageStreamWriter.hpp>
Public Types | |
typedef Data | DataRep |
The data type. More... | |
typedef Info | InfoRep |
The info type. More... | |
Public Member Functions | |
void | store (const std::vector< SamplePtr > &sample_seq, const std::vector< InfoPtr > &info_seq) |
Performs the conversion between the vector of data and info pointers to strongly-typed pointers. More... | |
virtual void | store (const std::vector< Data * > &sample_seq, const std::vector< Info * > &info_seq)=0 |
Interface redefinition. More... | |
virtual | ~TStorageStreamWriter () |
Virtual destructor. More... | |
virtual void | store (const std::vector< SamplePtr > &sample_seq, const std::vector< InfoPtr > &info_seq)=0 |
Implement this method to store data in the storage of your choice. More... | |
Public Member Functions inherited from rti::recording::storage::StorageStreamWriter | |
virtual | ~StorageStreamWriter () |
Virtual destructor. More... | |
virtual void | store (const std::vector< SamplePtr > &sample_seq, const std::vector< InfoPtr > &info_seq)=0 |
Implement this method to store data in the storage of your choice. More... | |
A templatized wrapping implementation of StorageStreamWriter, providing a strongly-typed interface regarding data and info representations.
class rti::recording::storage::TStorageStreamWriter
You can implement this interface as a convenience to manipulate the data and info representation without dealing with opaque pointers.
typedef Data rti::recording::storage::TStorageStreamWriter< Data, Info >::DataRep |
The data type.
typedef Info rti::recording::storage::TStorageStreamWriter< Data, Info >::InfoRep |
The info type.
|
inlinevirtual |
Virtual destructor.
|
inlinevirtual |
Performs the conversion between the vector of data and info pointers to strongly-typed pointers.
Implements rti::recording::storage::StorageStreamWriter.
References rti::recording::storage::TStorageStreamWriter< Data, Info >::store().
Referenced by rti::recording::storage::TStorageStreamWriter< Data, Info >::store().
|
pure virtual |
Interface redefinition.
|
virtual |
Implement this method to store data in the storage of your choice.
sample_seq | Vector of SamplePtr objects containing the data to store. A SamplePtr is generally a DDS_DynamicData *, unless this is a discovery stream, in which case this is the builtin discovery type. Check the stream name to determine if this is a discovery stream. |
info_seq | Vector of InfoType objects. An InfoType is a DDS_SampleInfo * cast to a void *. |
Implements rti::recording::storage::StorageStreamWriter.