RTI Recording Service  Version 6.0.1
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Groups
rti::recording::storage::TStorageStreamReader< Data, Info > Class Template Referenceabstract

A templatized wrapping implementation of StorageStreamReader, providing a strongly-typed interface regarding data and info representations. More...

#include <StorageStreamReader.hpp>

Inheritance diagram for rti::recording::storage::TStorageStreamReader< Data, Info >:
rti::recording::storage::StorageStreamReader

Public Types

typedef Data DataRep
 The data type.
 
typedef Info InfoRep
 The info type.
 

Public Member Functions

void read (std::vector< SamplePtr > &sample_seq, std::vector< InfoPtr > &info_seq, const SelectorState &selector) RTI_FINAL
 Performs the conversion between the vector of data and info pointers to strongly-typed pointers.
 
void return_loan (std::vector< SamplePtr > &sample_seq, std::vector< InfoPtr > &info_seq) RTI_FINAL
 Performs the conversion between the vector of data and info pointers to strongly-typed pointers.
 
- Public Member Functions inherited from rti::recording::storage::StorageStreamReader
virtual ~StorageStreamReader ()
 Virtual destructor.
 
virtual bool finished ()=0
 Method for querying whether there are no more samples for this stream.
 
virtual void reset ()=0
 Method used by Replay Service when looping, to start over. After this method is called, the stream reader should be ready to start reading data from the beginning of the stream, again.
 

Detailed Description

template<typename Data, typename Info>
class rti::recording::storage::TStorageStreamReader< Data, Info >

A templatized wrapping implementation of StorageStreamReader, providing a strongly-typed interface regarding data and info representations.

class rti::recording::storage::TStorageStreamReader You can implement this interface as a convenience to manipulate the data and info representation without dealing with opaque pointers.

Member Typedef Documentation

template<typename Data , typename Info >
typedef Data rti::recording::storage::TStorageStreamReader< Data, Info >::DataRep

The data type.

template<typename Data , typename Info >
typedef Info rti::recording::storage::TStorageStreamReader< Data, Info >::InfoRep

The info type.

Member Function Documentation

template<typename Data , typename Info >
void rti::recording::storage::TStorageStreamReader< Data, Info >::read ( std::vector< SamplePtr > &  sample_seq,
std::vector< InfoPtr > &  info_seq,
const SelectorState selector 
)
inlinevirtual

Performs the conversion between the vector of data and info pointers to strongly-typed pointers.

Implements rti::recording::storage::StorageStreamReader.

template<typename Data , typename Info >
void rti::recording::storage::TStorageStreamReader< Data, Info >::return_loan ( std::vector< SamplePtr > &  sample_seq,
std::vector< InfoPtr > &  info_seq 
)
inlinevirtual

Performs the conversion between the vector of data and info pointers to strongly-typed pointers.

Implements rti::recording::storage::StorageStreamReader.


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