OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::PortConnectRetListener Class Referenceabstract

PortConnectRetListener class. More...

#include <PortConnectListener.h>

Public Member Functions

virtual ~PortConnectRetListener ()
 Destructor .
 
virtual void operator() (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret)=0
 Virtual Callback function.
 

Static Public Member Functions

static const char * toString (PortConnectRetListenerType type)
 Convert PortConnectRetListenerType into string.
 

Detailed Description

PortConnectRetListener class.

This class is abstract base class for listener classes that provides callbacks for various events in rtobject.

  • ON_CONNECT_NEXTPORT: after cascade-call in notify_connect()
  • ON_SUBSCRIBE_INTERFACES: after IF subscribing in notify_connect()
  • ON_CONNECTED: completed nofity_connect() connection process
  • ON_DISCONNECT_NEXT: after cascade-call in notify_disconnect()
  • ON_DISCONNECTED: completed notify_disconnect() disconnection

Constructor & Destructor Documentation

◆ ~PortConnectRetListener()

virtual RTC::PortConnectRetListener::~PortConnectRetListener ( )
virtual

Destructor .

Member Function Documentation

◆ operator()()

virtual void RTC::PortConnectRetListener::operator() ( const char * portname,
RTC::ConnectorProfile & profile,
ReturnCode_t ret )
pure virtual

Virtual Callback function.

This is a the Callback function for PortConnectRetListener.

◆ toString()

static const char * RTC::PortConnectRetListener::toString ( PortConnectRetListenerType type)
static

Convert PortConnectRetListenerType into string.

Convert PortConnectRetListenerType into string.

Parameters
typeThe target PortConnectRetListenerType for transformation
Returns
Trnasformation result of string representation

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