OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::EventBinder0< FSM, TOP, R > Class Template Reference

#include <EventPort.h>

Inheritance diagram for RTC::EventBinder0< FSM, TOP, R >:
Collaboration diagram for RTC::EventBinder0< FSM, TOP, R >:

Public Member Functions

 EventBinder0 (FSM &fsm, const char *event_name, R(TOP::*handler)(), RingBuffer< EventBase * > &buffer)
 
 ~EventBinder0 () override=default
 
ReturnCode operator() (ConnectorInfo &info, ByteData &, const std::string &) override
 Virtual Callback method.
 
void run () override
 
- Public Member Functions inherited from RTC::ConnectorDataListener
virtual ~ConnectorDataListener ()
 Destructor .
 

Public Attributes

FSM & m_fsm
 
std::string m_eventName
 
R(TOP::* m_handler )()
 
RingBuffer< EventBase * > & m_buffer
 
- Public Attributes inherited from RTC::ConnectorDataListener
 USE_CONNLISTENER_STATUS
 

Additional Inherited Members

- Public Types inherited from RTC::ConnectorListenerStatus
enum  Enum { NO_CHANGE = 0 , INFO_CHANGED = 1 << 0 , DATA_CHANGED = 1 << 1 , BOTH_CHANGED = INFO_CHANGED | DATA_CHANGED }
 
- Static Public Member Functions inherited from RTC::ConnectorDataListener
static const char * toString (ConnectorDataListenerType type)
 Convert ConnectorDataListenerType into the string.
 

Constructor & Destructor Documentation

◆ EventBinder0()

template<class FSM , class TOP , class R >
RTC::EventBinder0< FSM, TOP, R >::EventBinder0 ( FSM & fsm,
const char * event_name,
R(TOP::* handler )(),
RingBuffer< EventBase * > & buffer )
inline

◆ ~EventBinder0()

template<class FSM , class TOP , class R >
RTC::EventBinder0< FSM, TOP, R >::~EventBinder0 ( )
overridedefault

Member Function Documentation

◆ operator()()

template<class FSM , class TOP , class R >
ReturnCode RTC::EventBinder0< FSM, TOP, R >::operator() ( ConnectorInfo & info,
ByteData & data,
const std::string & marshalingtype )
inlineoverridevirtual

◆ run()

template<class FSM , class TOP , class R >
void RTC::EventBinder0< FSM, TOP, R >::run ( )
inlineoverridevirtual

Member Data Documentation

◆ m_buffer

template<class FSM , class TOP , class R >
RingBuffer<EventBase*>& RTC::EventBinder0< FSM, TOP, R >::m_buffer

◆ m_eventName

template<class FSM , class TOP , class R >
std::string RTC::EventBinder0< FSM, TOP, R >::m_eventName

◆ m_fsm

template<class FSM , class TOP , class R >
FSM& RTC::EventBinder0< FSM, TOP, R >::m_fsm

◆ m_handler

template<class FSM , class TOP , class R >
R(TOP::* RTC::EventBinder0< FSM, TOP, R >::m_handler) ()

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