RTI Recording Service Version 7.7.0
storagewriter.ifc File Reference

RTI Recording Service Pluggable Storage Writer API. More...

#include "log/log_makeheader.h"
#include "dds_c/dds_c_builtin.h"
#include "routingservice/routingservice_infrastructure.h"

Data Structures

struct  RTI_RecordingServiceStorageStreamWriter
 StorageStreamWriter definition. More...
 
struct  RTI_RecordingServiceStorageParticipantWriter
 A StorageParticipantWriter implements a store() function to store the DCPSParticipant discovery samples to a storage of your choice. More...
 
struct  RTI_RecordingServiceStoragePublicationWriter
 A StoragePublicationWriter implements a store() function to store the DCPSPublication discovery samples to a storage of your choice. More...
 
struct  RTI_RecordingServiceStorageSubscriptionWriter
 A StorageSubscriptionWriter implements a store() function to store the DCPSSubscription discovery samples to a storage of your choice. More...
 
struct  RTI_RecordingServiceStorageWriter
 StorageWriter definition. More...
 

Typedefs

typedef void(* RTI_RecordingServiceStorageStreamWriter_StoreFcn) (void *storage_writer_data, const RTI_RecordingServiceSample *samples, const RTI_RecordingServiceSampleInfo *sample_infos, const int count)
 Prototype of the callback function for storing data. More...
 
typedef void(* RTI_RecordingServiceStorageParticipantWriter_StoreFcn) (void *storage_writer_data, const DDS_ParticipantBuiltinTopicData **samples, const RTI_RecordingServiceSampleInfo *sample_infos, const int count)
 Prototype of the callback function for storing DCPSParticipant data. More...
 
typedef void(* RTI_RecordingServiceStoragePublicationWriter_StoreFcn) (void *storage_writer_data, const DDS_PublicationBuiltinTopicData **samples, const RTI_RecordingServiceSampleInfo *sample_infos, const int count)
 Prototype of the callback function for storing DCPSPublication data. More...
 
typedef void(* RTI_RecordingServiceStorageSubscriptionWriter_StoreFcn) (void *storage_writer_data, const DDS_SubscriptionBuiltinTopicData **samples, const RTI_RecordingServiceSampleInfo *sample_infos, const int count)
 Prototype of the callback function for storing DCPSSubscription data. More...
 
typedef struct RTI_RecordingServiceStorageStreamWriter *(* RTI_RecordingServiceStorageWriter_CreateStreamWriterFcn) (void *storage_writer_data, const struct RTI_RecordingServiceStreamInfo *stream_info, const struct RTI_RoutingServiceProperties *properties)
 Prototype of the function for creating a StorageStreamWriter. More...
 
typedef struct RTI_RecordingServiceStorageParticipantWriter *(* RTI_RecordingServiceStorageWriter_CreateParticipantWriterFcn) (void *storage_writer_data)
 Prototype of the function for creating a StorageStreamWriter. More...
 
typedef struct RTI_RecordingServiceStoragePublicationWriter *(* RTI_RecordingServiceStorageWriter_CreatePublicationWriterFcn) (void *storage_writer_data)
 Prototype of the function for creating a StorageStreamWriter. More...
 
typedef struct RTI_RecordingServiceStorageSubscriptionWriter *(* RTI_RecordingServiceStorageWriter_CreateSubscriptionWriterFcn) (void *storage_writer_data)
 Prototype of the function for creating a StorageStreamWriter. More...
 
typedef void(* RTI_RecordingServiceStorageWriter_DeleteStreamWriterFcn) (void *storage_writer_data, struct RTI_RecordingServiceStorageStreamWriter *stream_writer)
 Prototype of the function for deleting a StorageStreamWriter. More...
 
typedef void(* RTI_RecordingServiceStorageWriter_DeleteParticipantWriterFcn) (void *storage_writer_data, struct RTI_RecordingServiceStorageParticipantWriter *stream_writer)
 Prototype of the function for deleting a StorageParticipantWriter. More...
 
typedef void(* RTI_RecordingServiceStorageWriter_DeletePublicationWriterFcn) (void *storage_writer_data, struct RTI_RecordingServiceStoragePublicationWriter *stream_writer)
 Prototype of the function for deleting a StoragePublicationWriter. More...
 
typedef void(* RTI_RecordingServiceStorageWriter_DeleteSubscriptionWriterFcn) (void *storage_writer_data, struct RTI_RecordingServiceStorageSubscriptionWriter *stream_writer)
 Prototype of the function for deleting a StorageSubscriptionWriter. More...
 
typedef void(* RTI_RecordingServiceStorageWriter_DeleteFcn) (struct RTI_RecordingServiceStorageWriter *storage_writer)
 Prototype of the function for deleting a StorageWriter. More...
 
typedef struct RTI_RecordingServiceStorageWriter *(* RTI_RecordingServiceStorageWriter_CreateFcn) (const struct RTI_RoutingServiceProperties *properties)
 Prototype of the function for creating a StorageWriter. More...
 

Detailed Description

RTI Recording Service Pluggable Storage Writer API.

These APIs define a plugin that can be used by RTI Recording Service to store discovery and user data.

You must first define a Storage Writer creation function, implementing the RTI_RecordingServiceStorageWriter_CreateFcn prototype. This function creates a RTI_RecordingServiceStorageWriter, which:

  • Receives notifications of discovered streams, including stream names, stream domain IDs, and the data types of each stream.
  • Creates and deletes stream writers, which are used by RTI Recording Service to store user data.