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

PostComponentActionListener 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, ec_id, ret)
 Notify listeners. More...
 

Detailed Description

PostComponentActionListener holder class.

This class manages one ore more instances of PostComponentActionListener class.

Member Function Documentation

def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.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(PostComponentActionListener* listener, bool autoclean);
def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.notify (   self,
  ec_id,
  ret 
)

Notify listeners.

This calls the Callback method of the registered listener.

Parameters
infoConnectorInfo
cdrdataData void notify(UniqueId ec_id, ReturnCode_t ret);
def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.removeListener (   self,
  listener 
)

Remove the listener.

This method removes the listener.

Parameters
listenerRemoved listener void removeListener(PostComponentActionListener* listener);

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