DDS  ver. 1.6
Public Types | Public Member Functions | List of all members
dds::protocol_api::CChannelEventsImpl< T > Class Template Reference

This class implements slots subscription and slots calls associated with certain channel events. More...

#include <ChannelEventsImpl.h>

Inheritance diagram for dds::protocol_api::CChannelEventsImpl< T >:
dds::protocol_api::CBaseChannelImpl< T > dds::protocol_api::CClientChannelImpl< T > dds::protocol_api::CServerChannelImpl< T >

Public Types

typedef boost::signals2::signal< void(T *)> signal_t
 
typedef boost::signals2::connection connection_t
 

Public Member Functions

 CChannelEventsImpl ()
 
 ~CChannelEventsImpl ()
 
connection_t subscribeOnEvent (EChannelEvents _type, typename signal_t::slot_function_type _subscriber)
 
void onEvent (EChannelEvents _type)
 

Detailed Description

template<class T>
class dds::protocol_api::CChannelEventsImpl< T >

This class implements slots subscription and slots calls associated with certain channel events.

Member Typedef Documentation

◆ connection_t

template<class T>
typedef boost::signals2::connection dds::protocol_api::CChannelEventsImpl< T >::connection_t

◆ signal_t

template<class T>
typedef boost::signals2::signal<void(T*)> dds::protocol_api::CChannelEventsImpl< T >::signal_t

Constructor & Destructor Documentation

◆ CChannelEventsImpl()

template<class T>
dds::protocol_api::CChannelEventsImpl< T >::CChannelEventsImpl ( )
inline

◆ ~CChannelEventsImpl()

template<class T>
dds::protocol_api::CChannelEventsImpl< T >::~CChannelEventsImpl ( )
inline

Member Function Documentation

◆ onEvent()

template<class T>
void dds::protocol_api::CChannelEventsImpl< T >::onEvent ( EChannelEvents  _type)
inline

◆ subscribeOnEvent()

template<class T>
connection_t dds::protocol_api::CChannelEventsImpl< T >::subscribeOnEvent ( EChannelEvents  _type,
typename signal_t::slot_function_type  _subscriber 
)
inline

The documentation for this class was generated from the following file: