OpenRTM-aist-Python 2.0.0
|
公開メンバ関数 | |
def | __init__ (self, manager) |
def | initialize (self) |
def | finalize (self) |
def | exit (self) |
def | is_alive (self, exec_context) |
def | get_owned_contexts (self) |
def | get_context (self, ec_id) |
def | get_participating_contexts (self) |
def | get_context_handle (self, cxt) |
def | get_component_profile (self) |
def | get_ports (self) |
def | attach_context (self, exec_context) |
def | detach_context (self, ec_id) |
def | on_initialize (self) |
def | on_finalize (self) |
def | on_startup (self, ec_id) |
def | on_shutdown (self, ec_id) |
def | on_activated (self, ec_id) |
def | on_deactivated (self, ec_id) |
def | on_error (self, ec_id) |
def | on_aborting (self, ec_id) |
def | on_reset (self, ec_id) |
def | on_action (self, ec_id) |
基底クラス OpenRTM_aist.RTObject.RTObject_impl に属する継承公開メンバ関数 | |
def | __init__ (self, manager=None, orb=None, poa=None) |
def | __del__ (self) |
def | onInitialize (self) |
def | onFinalize (self) |
def | onStartup (self, ec_id) |
def | onShutdown (self, ec_id) |
def | onActivated (self, ec_id) |
def | onDeactivated (self, ec_id) |
def | onExecute (self, ec_id) |
def | onAborting (self, ec_id) |
def | onError (self, ec_id) |
def | onReset (self, ec_id) |
def | onStateUpdate (self, ec_id) |
def | onRateChanged (self, ec_id) |
def | onAction (self, ec_id) |
def | initialize (self) |
def | finalize (self) |
def | exit (self) |
def | is_alive (self, exec_context) |
def | get_context (self, ec_id) |
def | get_owned_contexts (self) |
def | get_participating_contexts (self) |
def | get_component_profile (self) |
def | get_ports (self) |
def | attach_context (self, exec_context) |
def | detach_context (self, ec_id) |
def | on_initialize (self) |
def | on_finalize (self) |
def | on_startup (self, ec_id) |
def | on_shutdown (self, ec_id) |
def | on_activated (self, ec_id) |
def | on_deactivated (self, ec_id) |
def | on_aborting (self, ec_id) |
def | on_error (self, ec_id) |
def | on_reset (self, ec_id) |
def | get_owned_organizations (self) |
def | get_sdo_id (self) |
def | get_sdo_type (self) |
def | get_device_profile (self) |
def | get_service_profiles (self) |
def | get_service_profile (self, _id) |
def | get_sdo_service (self, _id) |
def | get_configuration (self) |
def | get_monitoring (self) |
def | get_organizations (self) |
def | get_status_list (self) |
def | get_status (self, name) |
def | getInstanceName (self) |
def | setInstanceName (self, instance_name) |
def | getTypeName (self) |
def | getDescription (self) |
def | getVersion (self) |
def | getVendor (self) |
def | getCategory (self) |
def | getNamingNames (self) |
def | setObjRef (self, rtobj) |
def | getObjRef (self) |
def | setProperties (self, prop) |
def | getProperties (self) |
def | bindParameter (self, param_name, var, def_val, trans=None) |
def | getConfigService (self) |
def | updateParameters (self, config_set) |
def | registerPort (self, port) |
def | registerInPort (self, name, inport) |
def | registerOutPort (self, name, outport) |
def | removeInPort (self, port) |
def | removeOutPort (self, port) |
def | deletePort (self, port) |
def | deletePortByName (self, port_name) |
def | getExecutionContext (self, ec_id) |
def | getExecutionRate (self, ec_id) |
def | setExecutionRate (self, ec_id, rate) |
def | isOwnExecutionContext (self, ec_id) |
def | deactivate (self, ec_id) |
def | activate (self, ec_id) |
def | reset (self, ec_id) |
def | addSdoServiceProvider (self, prof, provider) |
def | removeSdoServiceProvider (self, id) |
def | addSdoServiceConsumer (self, prof) |
def | removeSdoServiceConsumer (self, id) |
def | removeSdoServiceConsumerStartThread (self, id) |
def | readAll (self) |
def | writeAll (self) |
def | setReadAll (self, read=True, completion=False) |
def | setWriteAll (self, write=True, completion=False) |
def | finalizePorts (self) |
def | addPreComponentActionListener (self, listener_type, memfunc) |
def | removePreComponentActionListener (self, listener_type, listener) |
def | addPostComponentActionListener (self, listener_type, memfunc) |
def | removePostComponentActionListener (self, listener_type, listener) |
def | addPortActionListener (self, listener_type, memfunc) |
def | removePortActionListener (self, listener_type, listener) |
def | addExecutionContextActionListener (self, listener_type, memfunc) |
def | removeExecutionContextActionListener (self, listener_type, listener) |
def | addPortConnectListener (self, listener_type, memfunc) |
def | removePortConnectListener (self, listener_type, listener) |
def | addPortConnectRetListener (self, listener_type, memfunc) |
def | removePortConnectRetListener (self, listener_type, listener) |
def | addConfigurationParamListener (self, type, memfunc) |
def | removeConfigurationParamListener (self, type, listener) |
def | addConfigurationSetListener (self, listener_type, memfunc) |
def | removeConfigurationSetListener (self, type, listener) |
def | addConfigurationSetNameListener (self, type, memfunc) |
def | removeConfigurationSetNameListener (self, type, listener) |
def | addPreFsmActionListener (self, listener_type, memfunc) |
def | removePreFsmActionListener (self, listener_type, listener) |
def | addPostFsmActionListener (self, listener_type, memfunc) |
def | removePostFsmActionListener (self, listener_type, listener) |
def | addFsmProfileListener (self, listener_type, memfunc) |
def | removeFsmProfileListener (self, listener_type, listener) |
def | addFsmStructureListener (self, listener_type, memfunc) |
def | removeFsmStructureListener (self, listener_type, listener) |
def | shutdown (self) |
def | getPrivateContextOptions (self, ec_args) |
getting individual EC options from RTC's configuration file [詳解] | |
def | getGlobalContextOptions (self, global_ec_props) |
getting global EC options from rtc.conf [詳解] | |
def | getContextOptions (self, ec_args) |
getting EC options [詳解] | |
def | findExistingEC (self, ec_arg) |
fiding existing EC from the factory [詳解] | |
def | createContexts (self, ec_args) |
creating, initializing and binding context [詳解] | |
def | setINSObjRef (self, obj) |
omniINSPOAから取得したオブジェクトを登録 [詳解] | |
FiniteStateMachineのベースクラス。 ユーザが新たなRTコンポーネントを作成する場合は、このクラスを拡張する。 各RTコンポーネントのベースとなるクラス。}
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.__init__ | ( | self, | |
manager | |||
) |
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.attach_context | ( | self, | |
exec_context | |||
) |
[CORBA interface] ExecutionContextをattachする
指定した ExecutionContext にこの RTC を所属させる。この RTC と関連する ExecutionContext のハンドルを返す。 このオペレーションは、ExecutionContextOperations::add_component が呼ばれた 際に呼び出される。返されたハンドルは他のクライアントで使用することを想定 していない。
self | |
exec_context | 所属先 ExecutionContext |
UniqueId attach_context(ExecutionContext_ptr exec_context)
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.detach_context | ( | self, | |
ec_id | |||
) |
[CORBA interface] ExecutionContextをdetachする
指定した ExecutionContext からこの RTC の所属を解除する。 このオペレーションは、ExecutionContextOperations::remove_component が呼ば れた際に呼び出される。返されたハンドルは他のクライアントで使用することを 想定していない。
制約
self | |
ec_id | 解除対象 ExecutionContextハンドル |
ReturnCode_t detach_context(UniqueId exec_handle)
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.exit | ( | self | ) |
[CORBA interface] RTC がオーナーである ExecutionContext を 停止させ、そのコンテンツと共に終了させる
この RTC がオーナーであるすべての実行コンテキストを停止する。 この RTC が他の実行コンテキストを所有する RTC に属する実行コンテキスト (i.e. 実行コンテキストを所有する RTC はすなわちその実行コンテキストの オーナーである。)に参加している場合、当該 RTC はそれらのコンテキスト上 で非活性化されなければならない。 RTC が実行中のどの ExecutionContext でも Active 状態ではなくなった後、 この RTC とこれに含まれる RTC が終了する。
制約
self |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.finalize | ( | self | ) |
[CORBA interface] RTC を終了する
このオペレーション呼び出しの結果として ComponentAction::on_finalize() を呼び出す。
制約
self |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.get_component_profile | ( | self | ) |
[RTObject CORBA interface] コンポーネントプロファイルを取得する
当該コンポーネントのプロファイル情報を返す。
self |
virtual ComponentProfile* get_component_profile()
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.get_context | ( | self, | |
ec_id | |||
) |
[CORBA interface] ExecutionContextを取得する
指定したハンドルの ExecutionContext を取得する。 ハンドルから ExecutionContext へのマッピングは、特定の RTC インスタンスに 固有である。ハンドルはこの RTC を attach_context した際に取得できる。
self | |
ec_id | 取得対象 ExecutionContext ハンドル |
virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.get_context_handle | ( | self, | |
cxt | |||
) |
[CORBA interface] ExecutionContext のハンドルを返す
ExecutionContext | 実行コンテキスト |
与えられた実行コンテキストに関連付けられたハンドルを返す。
virtual ExecutionContextHandle_t get_context_handle(ExecutionContext_ptr cxt)
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.get_owned_contexts | ( | self | ) |
[CORBA interface] 所有する ExecutionContextListを 取得する
この RTC が所有する ExecutionContext のリストを取得する。
virtual ExecutionContextList* get_owned_contexts()
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.get_participating_contexts | ( | self | ) |
[CORBA interface] 参加している ExecutionContextList を取得する
この RTC が参加している ExecutionContext のリストを取得する。
virtual ExecutionContextList* get_participating_contexts()
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.get_ports | ( | self | ) |
[RTObject CORBA interface] ポートを取得する
当該コンポーネントが保有するポートの参照を返す。
self |
virtual PortServiceList* get_ports()
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.initialize | ( | self | ) |
[CORBA interface] RTCを初期化する
このオペレーション呼び出しの結果として、ComponentAction::on_initialize コールバック関数が呼ばれる。
制約
self |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.is_alive | ( | self, | |
exec_context | |||
) |
[CORBA interface] RTC が Alive 状態であるかどうか確認する。
RTC が指定した ExecutionContext に対して Alive状態であるかどうか確認する。 RTC の状態が Active であるか、Inactive であるか、Error であるかは実行中の ExecutionContext に依存する。すなわち、ある ExecutionContext に対しては Active 状態であっても、他の ExecutionContext に対しては Inactive 状態と なる場合もありえる。従って、このオペレーションは指定された ExecutionContext に問い合わせて、この RTC の状態が Active、Inactive、 Error の場合には Alive 状態として返す。
self | |
exec_context | 取得対象 ExecutionContext ハンドル |
virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_aborting | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC のエラー状態への遷移
RTC が所属する ExecutionContext が Active 状態から Error 状態へ遷移した 場合に呼び出される。 このオペレーションは RTC が Error 状態に遷移した際に一度だけ呼び出される。 このオペレーション呼び出しの結果として onAborting() コールバック関数が 呼び出される。
self | |
ec_id | 状態遷移した ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_action | ( | self, | |
ec_id | |||
) |
self |
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_activated | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC の活性化
所属する ExecutionContext から RTC が活性化された際に呼び出される。 このオペレーション呼び出しの結果として onActivated() コールバック関数が 呼び出される。
self | |
ec_id | 活性化 ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_deactivated | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC の非活性化
所属する ExecutionContext から RTC が非活性化された際に呼び出される。 このオペレーション呼び出しの結果として onDeactivated() コールバック関数が 呼び出される。
self | |
ec_id | 非活性化 ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_error | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC のエラー処理
RTC がエラー状態にいる際に呼び出される。 RTC がエラー状態の場合に、対象となる ExecutionContext のExecutionKind に 応じたタイミングで呼び出される。例えば、
self | |
ec_id | 対象 ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_finalize | ( | self | ) |
[ComponentAction CORBA interface] RTC の終了
RTC が破棄される。 RTC 固有の終了処理はここで実行する。 このオペレーション呼び出しの結果として onFinalize() コールバック関数が 呼び出される。
self |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_initialize | ( | self | ) |
[ComponentAction CORBA interface] RTC の初期化
RTC が初期化され、Alive 状態に遷移する。 RTC 固有の初期化処理はここで実行する。 このオペレーション呼び出しの結果として onInitialize() コールバック関数が 呼び出される。
self |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_reset | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC のリセット
Error 状態にある RTC のリカバリ処理を実行し、Inactive 状態に復帰させる 場合に呼び出される。 RTC のリカバリ処理が成功した場合は Inactive 状態に復帰するが、それ以外の 場合には Error 状態に留まる。 このオペレーション呼び出しの結果として onReset() コールバック関数が呼び 出される。
self | |
ec_id | リセット対象 ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_shutdown | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC の停止
RTC が所属する ExecutionContext が Running 状態から Stopped 状態へ遷移 した場合に呼び出される。 このオペレーション呼び出しの結果として onShutdown() コールバック関数が 呼び出される。
self | |
ec_id | 状態遷移した ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。
def OpenRTM_aist.FiniteStateMachineComponentBase.FiniteStateMachineComponentBase.on_startup | ( | self, | |
ec_id | |||
) |
[ComponentAction CORBA interface] RTC の開始
RTC が所属する ExecutionContext が Stopped 状態から Running 状態へ遷移 した場合に呼び出される。 このオペレーション呼び出しの結果として onStartup() コールバック関数が 呼び出される。
self | |
ec_id | 状態遷移した ExecutionContext の ID |
OpenRTM_aist.RTObject.RTObject_implを再実装しています。