OpenRTM-aist-Python 1.1.2
|
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... | |
PortActionListener holder class.
This class manages one ore more instances of PortActionListener class.
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.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(PortActionListener* listener, bool autoclean); |
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.notify | ( | self, | |
pprofile | |||
) |
Notify listeners.
This calls the Callback method of the registered listener.
info | ConnectorInfo |
cdrdata | Data void notify(const RTC::PortProfile& pprofile); |
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.removeListener | ( | self, | |
listener | |||
) |
Remove the listener.
This method removes the listener.
listener | Removed listener void removeListener(PortActionListener* listener); |