Public Member Functions | Private Attributes | List of all members
OpenRTM_aist.ComponentActionListener.PortActionListenerHolder Class Reference

PortActionListener holder class. More...

Public Member Functions

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

Private Attributes

 _listeners
 

Detailed Description

PortActionListener holder class.

This class manages one ore more instances of PortActionListener class.

Definition at line 844 of file ComponentActionListener.py.

Constructor & Destructor Documentation

def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.__init__ (   self)

Constructor.

Definition at line 854 of file ComponentActionListener.py.

def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.__del__ (   self)

Destructor.

Definition at line 865 of file ComponentActionListener.py.

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);

Definition at line 892 of file ComponentActionListener.py.

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);

Definition at line 944 of file ComponentActionListener.py.

def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.removeListener (   self,
  listener 
)

Remove the listener.

This method removes the listener.

Parameters
listenerRemoved listener void removeListener(PortActionListener* listener);

Definition at line 914 of file ComponentActionListener.py.

Member Data Documentation

OpenRTM_aist.ComponentActionListener.PortActionListenerHolder._listeners
private

Definition at line 855 of file ComponentActionListener.py.


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


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:35