ddsnc::ACSDDSNCDataReaderListener

NAME
SYNOPSIS
Detailed Description
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

ddsnc::ACSDDSNCDataReaderListener −

SYNOPSIS

#include <acsddsncDataReaderListener.h>

Inherits ddsnc::DataReaderListenerImpl.

Public Types

typedef void(* eventHandlerFunction )(D eventData, void *handlerParam)

Public Member Functions

ACSDDSNCDataReaderListener (eventHandlerFunction templateFunction, void *handlerParam=0)

void on_data_available (DDS::DataReader_ptr reader) throw (CORBA::SystemException)

Public Attributes

eventHandlerFunction templateFunction_mp

void * handlerParam_mp

Detailed Description

template<class DRV, class DR, class D> class ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >

Class derived from DataReaderListenerImpl. This class implements the function to do something when a message is received by the DataReader

The <type> corresponds to the name of data type (without namespace) defined in the idl file, the classes required by the template are autogenerated by dcps_ts.pl tools and are specific to the data type defined.

See also:

DDSSubscriber

Template Parameters:

DRV,: <type>DataReader_var class
DR,:
<type>DataReader class
D,:
<type> struct

Member Typedef Documentation

template<class DRV , class DR , class D > typedef void(* ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::eventHandlerFunction)(D eventData, void *handlerParam)

Constructor & Destructor Documentation

template<class DRV , class DR , class D > ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::ACSDDSNCDataReaderListener (eventHandlerFunction templateFunction, void * handlerParam = 0) [inline] Callback function to receive the messages.

Parameters:

eventHandlerFunction Function pointer to function responsible to do something with the data

Referenced by ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::on_data_available().

Member Function Documentation

template<class DRV , class DR , class D > void ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::on_data_available (DDS::DataReader_ptr reader) throw (CORBA::SystemException) [inline, virtual]

Reimplemented from ddsnc::DataReaderListenerImpl.

References ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::ACSDDSNCDataReaderListener(), ddsnc::DataReaderListenerImpl::DataReaderListenerImpl(), ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::handlerParam_mp, ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::templateFunction_mp, and void().

Member Data Documentation

template<class DRV , class DR , class D > void* ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::handlerParam_mp

Referenced by ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::on_data_available().

template<class DRV , class DR , class D > eventHandlerFunction ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::templateFunction_mp

Referenced by ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >::on_data_available().

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.