OpenRTM-aist-Python 1.2.1
Public Member Functions | List of all members
OpenRTM_aist.ComponentActionListener.PortActionListenerHolder Class Reference

PortActionListener holder class. More...

Public Member Functions

def __init__ (self)
 Constructor.
 
def __del__ (self)
 Destructor.
 
def addListener (self, listener, autoclean)
 Add the listener. More...
 
def removeListener (self, listener)
 Remove the listener. More...
 
def notify (self, pprofile)
 Notify listeners. More...
 

Detailed Description

PortActionListener holder class.

This class manages one ore more instances of PortActionListener class.

Member Function Documentation

def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.addListener (   self,
  listener,
  autoclean 
)

Add the listener.

This method adds the listener.

Parameters
listenerAdded listener
autocleantrue:The listener is deleted at the destructor., false:The listener is not deleted at the destructor. void addListener(PortActionListener* listener, bool autoclean);
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.notify (   self,
  pprofile 
)

Notify listeners.

This calls the Callback method of the registered listener.

Parameters
infoConnectorInfo
cdrdataData void notify(const RTC::PortProfile& pprofile);
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.removeListener (   self,
  listener 
)

Remove the listener.

This method removes the listener.

Parameters
listenerRemoved listener void removeListener(PortActionListener* listener);

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