OpenRTM-aist-Python 1.2.1
|
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... | |
PostComponentActionListener holder class.
This class manages one ore more instances of PostComponentActionListener class.
def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.addListener | ( | self, | |
listener, | |||
autoclean | |||
) |
Add the listener.
This method adds the listener.
listener | Added listener |
autoclean | true: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.
info | ConnectorInfo |
cdrdata | Data void notify(UniqueId ec_id, ReturnCode_t ret); |
def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.removeListener | ( | self, | |
listener | |||
) |
Remove the listener.
This method removes the listener.
listener | Removed listener void removeListener(PostComponentActionListener* listener); |