RTI Connext C API  Version 6.1.1
DDS_SampleHandler Struct Reference

<<experimental>> <<extension>> <<interface>> Handler called by a sample dispatcher, such as DDS_SampleProcessor. More...

Data Fields

void * handler_data
 A place for handler implementors to keep a pointer to data that may be needed by their handler. More...
 
DDS_SampleHandler_OnNewSampleCallback on_new_sample
 Handles the dispatch of a sample read from the assocaited DDS_DataReader. More...
 

Detailed Description

<<experimental>> <<extension>> <<interface>> Handler called by a sample dispatcher, such as DDS_SampleProcessor.

Field Documentation

◆ handler_data

void* DDS_SampleHandler::handler_data

A place for handler implementors to keep a pointer to data that may be needed by their handler.

◆ on_new_sample

DDS_SampleHandler_OnNewSampleCallback DDS_SampleHandler::on_new_sample

Handles the dispatch of a sample read from the assocaited DDS_DataReader.

This operation is called from the dispatcher after reading a new sample from an associated DDS_DataReader. Note that the type of the data portion of the Sample must correspond with the type of the associated DDS_DataReader.