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

PortConnectListener class. More...

#include <PortConnectListener.h>

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

PortConnectListener class.

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

  • ON_NOTIFY_CONNECT: right after entering into notify_connect()
  • ON_NOTIFY_DISCONNECT: right after entering into notify_disconnect()
  • ON_UNSUBSCRIBE_INTERFACES: unsubscribing IF in notify_disconnect()

Constructor & Destructor Documentation

◆ ~PortConnectListener()

virtual RTC::PortConnectListener::~PortConnectListener ( )
virtual

Destructor .

Member Function Documentation

◆ operator()()

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

Virtual Callback function.

This is a the Callback function for PortConnectListener.

◆ toString()

static const char * RTC::PortConnectListener::toString ( PortConnectListenerType type)
static

Convert PortConnectListenerType into the string.

Convert PortConnectListenerType into the string.

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

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