PortActionListener ホルダクラス. [詳細]
Public メソッド | |
def | __init__ |
コンストラクタ | |
def | __del__ |
デストラクタ | |
def | addListener |
リスナーの追加 | |
def | removeListener |
リスナーの削除 | |
def | notify |
リスナーへ通知する |
PortActionListener ホルダクラス.
複数の PortActionListener を保持し管理するクラス。
def OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.addListener | ( | self, | ||
listener, | ||||
autoclean | ||||
) |
リスナーの追加
リスナーを追加する。
listener | 追加するリスナ | |
autoclean | true:デストラクタで削除する, false:デストラクタで削除しない |
void addListener(PortActionListener* listener, bool autoclean);
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);