RTI Recording Service Version 7.7.0
rti::recording::storage::detail::StorageGenericStreamWriterForwarder< NativeStreamWriterType, NativeStoredType > Class Template Reference

#include <StorageStreamWriterForwarder.hpp>

Inherits NativeStreamWriterType.

Detailed Description

template<typename NativeStreamWriterType, typename NativeStoredType>
class rti::recording::storage::detail::StorageGenericStreamWriterForwarder< NativeStreamWriterType, NativeStoredType >

This generic forwarding wrapper class defines a store method that forwards a call to a native stream writer's store method to a C++ stream writer specialisation. Two template parameters:

  • NativeStreamWriterType: one of the native stream writer types defined in recordingservice_storagewriter.h. These types have to implement a store() method to store the samples.
  • NativeStoredType: the type passed in to the store() method.