RTI Recording Service  Version 6.0.1
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Groups
rti::recording::storage::StorageStreamWriter Class Referenceabstract

Storage stream writer. More...

#include <StorageStreamWriter.hpp>

Inheritance diagram for rti::recording::storage::StorageStreamWriter:
rti::recording::storage::TStorageStreamWriter< Data, Info >

Public Member Functions

virtual ~StorageStreamWriter ()
 Virtual destructor.
 
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.
 

Detailed Description

Storage stream writer.

class rti::recording::storage::StorageStreamWriter Inherit from this class and implement the store method to store data to the storage of your choice.

Constructor & Destructor Documentation

virtual rti::recording::storage::StorageStreamWriter::~StorageStreamWriter ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

virtual void rti::recording::storage::StorageStreamWriter::store ( const std::vector< SamplePtr > &  sample_seq,
const std::vector< InfoPtr > &  info_seq 
)
pure virtual

Implement this method to store data in the storage of your choice.

Parameters
sample_seqVector 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_seqVector of InfoType objects. An InfoType is a DDS_SampleInfo * cast to a void *.

Implemented in rti::recording::storage::TStorageStreamWriter< Data, Info >.


RTI Recording Service Version 6.0.1 Copyright © Sun Nov 17 2019 Real-Time Innovations, Inc