Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D > Class Template Reference

#include <acsddsncDataReaderListener.h>

Inheritance diagram for ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >:

Inheritance graph
[legend]
Collaboration diagram for ddsnc::ACSDDSNCDataReaderListener< DRV, DR, D >:

Collaboration graph
[legend]
List of all members.

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
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


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.


Member Data Documentation

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

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:37:24 2009 for ACS C++ API by doxygen 1.3.8