OpenRTM-aist-Python 2.0.0
|
公開メンバ関数 | |
def | __init__ (self) |
def | __del__ (self) |
def | addListener (self, listener) |
def | removeListener (self, listener) |
def | notify (self, pprofile) |
PortActionListener ホルダクラス
複数の PortActionListener を保持し管理するクラス。
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.__init__ | ( | self | ) |
コンストラクタ
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.__del__ | ( | self | ) |
デストラクタ
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.addListener | ( | self, | |
listener | |||
) |
リスナーの追加
リスナーを追加する。
listener | 追加するリスナ void addListener(PortActionListener* listener); |
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.notify | ( | self, | |
pprofile | |||
) |
リスナーへ通知する
登録されているリスナのコールバックメソッドを呼び出す。
info | ConnectorInfo |
cdrdata | データ void notify(const RTC::PortProfile& pprofile); |
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.removeListener | ( | self, | |
listener | |||
) |
リスナーの削除
リスナを削除する。
listener | 削除するリスナ void removeListener(PortActionListener* listener); |