|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.omg.PortableServer.Servant
OpenRTM.ExtTrigExecutionContextServicePOA
jp.go.aist.rtm.RTC.executionContext.ExecutionContextBase
jp.go.aist.rtm.RTC.executionContext.PeriodicExecutionContext
public class PeriodicExecutionContext
Periodic Sampled Data Processing(周期実行用)ExecutionContextクラスです。
入れ子のクラスの概要 | |
---|---|
protected class |
PeriodicExecutionContext.Comp
ExecutionContextにattachされたコンポーネントのメソッド呼出用クラスです。 |
protected class |
PeriodicExecutionContext.DFP
DataFlowComponentのAction定義用抽象クラスです。 |
protected class |
PeriodicExecutionContext.DFPBase
DataFlowComponentのAction定義用抽象クラスです。 |
protected class |
PeriodicExecutionContext.find_comp
管理対象コンポーネント検索用ヘルパークラスです。 |
protected class |
PeriodicExecutionContext.Worker
|
フィールドの概要 | |
---|---|
protected java.util.Vector<PeriodicExecutionContext.Comp> |
m_comps
ExecutionContextにatttachされているコンポーネントのリストです。 |
protected boolean |
m_nowait
|
protected ExecutionContextProfile |
m_profile
ExecutionContextProfileです。 |
protected ExecutionContextService |
m_ref
ExecutionContextServiceとしてのCORBAオブジェクト参照です。 |
protected boolean |
m_running
ExecutionContextの実行状態です。 |
protected java.lang.Thread |
m_thread
|
protected long |
m_usec
ExecutionContextの動作周期です。 |
protected Logbuf |
rtcout
Logging用フォーマットオブジェクト |
コンストラクタの概要 | |
---|---|
PeriodicExecutionContext()
デフォルトコンストラクタ {@.ja デフォルトコンストラクタ プロファイルに以下の項目を設定する。 |
|
PeriodicExecutionContext(DataFlowComponent owner)
コンストラクタ 設定された値をプロファイルに設定する。 |
|
PeriodicExecutionContext(DataFlowComponent owner,
double rate)
コンストラクタ 設定された値をプロファイルに設定する。 |
メソッドの概要 | |
---|---|
ExecutionContextService |
__this()
__this() |
ReturnCode_t |
activate_component(LightweightRTObject comp)
コンポーネントをアクティブ化します。 |
ReturnCode_t |
add_component(LightweightRTObject comp)
RTコンポーネントを追加する {@.ja 指定したRTコンポーネントを参加者リストに追加する。 |
ReturnCode_t |
bindComponent(RTObject_impl rtc)
コンポーネントをバインドする。 |
int |
close(long flags)
スレッド終了関数です。 |
ReturnCode_t |
deactivate_component(LightweightRTObject comp)
コンポーネントを非アクティブ化します。 |
java.lang.Object |
ECDeleteFunc(ExecutionContextBase comp)
ExecutionContextのインスタンスを破棄します。 |
ExecutionContextBase |
ECNewFunc()
ExecutionContextのインスタンスを取得します。 |
boolean |
finalizeExecutionContext()
終了処理用関数 |
LifeCycleState |
get_component_state(LightweightRTObject comp)
コンポーネントの状態を取得します。 |
ExecutionKind |
get_kind()
ExecutionKindを取得します。 |
ExecutionContextProfile |
get_profile()
ExecutionContextProfile を取得します。 |
double |
get_rate()
ExecutionContextの実行周期(Hz)を取得します。 |
ExecutionContextService |
getObjRef()
getObjRef |
ExecutionContextService |
getRef()
本オブジェクトのExecutionContextServiceとしてのCORBAオブジェクト参照を設定します。 |
boolean |
is_running()
ExecutionContextが実行中かどうかを取得します。 |
int |
open()
ExecutionContext用のスレッドを生成します。 |
static void |
PeriodicExecutionContextInit(Manager manager)
このExecutionContextを生成するFactoryクラスを ExecutionContext用ObjectManagerに登録します。 |
ReturnCode_t |
remove_component(LightweightRTObject comp)
RTコンポーネントを参加者リストから削除する {@.ja 指定したRTコンポーネントを参加者リストから削除する。 |
ReturnCode_t |
reset_component(LightweightRTObject comp)
コンポーネントをリセットします。 |
void |
run()
スレッド実行関数です。 |
ReturnCode_t |
set_rate(double rate)
ExecutionContextの実行周期(Hz)を設定します。 |
void |
setObjRef(ExecutionContextService ref)
本オブジェクトのExecutionContextServiceとしてのCORBAオブジェクト参照を設定します。 |
ReturnCode_t |
start()
ExecutionContext をスタートします。 |
ReturnCode_t |
stop()
ExecutionContext をストップします。 |
int |
svc()
ExecutionContext用のスレッドの実行関数です。 |
クラス jp.go.aist.rtm.RTC.executionContext.ExecutionContextBase から継承されたメソッド |
---|
tick |
クラス OpenRTM.ExtTrigExecutionContextServicePOA から継承されたメソッド |
---|
_all_interfaces, _invoke, _this, _this |
クラス org.omg.PortableServer.Servant から継承されたメソッド |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.util.Vector<PeriodicExecutionContext.Comp> m_comps
ExecutionContextにatttachされているコンポーネントのリストです。
protected boolean m_running
ExecutionContextの実行状態です。
protected ExecutionContextProfile m_profile
ExecutionContextProfileです。
protected long m_usec
ExecutionContextの動作周期です。
protected ExecutionContextService m_ref
ExecutionContextServiceとしてのCORBAオブジェクト参照です。
protected boolean m_nowait
protected java.lang.Thread m_thread
protected Logbuf rtcout
Logging用フォーマットオブジェクト
コンストラクタの詳細 |
---|
public PeriodicExecutionContext()
デフォルトコンストラクタ プロファイルに以下の項目を設定する。 - kind : PERIODIC - rate : 0.0
public PeriodicExecutionContext(DataFlowComponent owner)
設定された値をプロファイルに設定する。
owner
- 当該 Executioncontext の owner
public PeriodicExecutionContext(DataFlowComponent owner, double rate)
設定された値をプロファイルに設定する。
owner
- 当該 Executioncontext の owner
rate
- 動作周期(Hz)
メソッドの詳細 |
---|
public boolean finalizeExecutionContext()
終了処理用関数
ExecutionContextBase
内の finalizeExecutionContext
public ExecutionContextService __this()
__this()
public void setObjRef(ExecutionContextService ref)
本オブジェクトのExecutionContextServiceとしてのCORBAオブジェクト参照を設定します。
ExecutionContextBase
内の setObjRef
ref
- CORBAオブジェクト参照public ExecutionContextService getObjRef()
getObjRef
ExecutionContextBase
内の getObjRef
public ExecutionContextService getRef()
本オブジェクトのExecutionContextServiceとしてのCORBAオブジェクト参照を設定します。
public int open()
ExecutionContext用のスレッドを生成します。
public int svc()
ExecutionContext用のスレッドの実行関数です。 登録されたコンポーネントの処理を呼び出します。
public void run()
スレッド実行関数です。
java.lang.Runnable
内の run
public int close(long flags)
スレッド終了関数です。
public boolean is_running()
ExecutionContextが実行中かどうかを取得します。
ExecutionContextOperations
内の is_running
public ReturnCode_t start()
ExecutionContext をスタートします。
ExecutionContextOperations
内の start
public ReturnCode_t stop()
ExecutionContext をストップします。
ExecutionContextOperations
内の stop
public double get_rate()
ExecutionContextの実行周期(Hz)を取得します。
ExecutionContextOperations
内の get_rate
public ReturnCode_t set_rate(double rate)
ExecutionContextの実行周期(Hz)を設定します。
ExecutionContextOperations
内の set_rate
rate
- 実行周期(Hz)public ReturnCode_t activate_component(LightweightRTObject comp)
コンポーネントをアクティブ化します。
ExecutionContextOperations
内の activate_component
comp
- アクティブ化対象コンポーネント
public ReturnCode_t deactivate_component(LightweightRTObject comp)
コンポーネントを非アクティブ化します。
ExecutionContextOperations
内の deactivate_component
comp
- 非アクティブ化対象コンポーネント
public ReturnCode_t reset_component(LightweightRTObject comp)
コンポーネントをリセットします。
ExecutionContextOperations
内の reset_component
comp
- リセット対象コンポーネント
public LifeCycleState get_component_state(LightweightRTObject comp)
コンポーネントの状態を取得します。
ExecutionContextOperations
内の get_component_state
comp
- 状態取得対象コンポーネント
public ExecutionKind get_kind()
ExecutionKindを取得します。
ExecutionContextOperations
内の get_kind
public ReturnCode_t add_component(LightweightRTObject comp)
指定したRTコンポーネントを参加者リストに追加する。追加されたRTコ ンポーネントは attach_context が呼ばれ、Inactive 状態に遷移する。 指定されたRTコンポーネントがnullの場合は、BAD_PARAMETER が返され る。指定されたRTコンポーネントが DataFlowComponent 以外の場合は、 BAD_PARAMETER が返される。
ExecutionContextOperations
内の add_component
comp
- 追加対象RTコンポーネント
public ReturnCode_t bindComponent(RTObject_impl rtc)
コンポーネントをバインドする。
ExecutionContextBase
内の bindComponent
rtc
- RTコンポーネント
public ReturnCode_t remove_component(LightweightRTObject comp)
指定したRTコンポーネントを参加者リストから削除する。削除された RTコンポーネントは detach_context が呼ばれる。指定されたRTコンポー ネントが参加者リストに登録されていない場合は、BAD_PARAMETER が返 される。
ExecutionContextOperations
内の remove_component
comp
- 削除対象RTコンポーネント
public ExecutionContextProfile get_profile()
ExecutionContextProfile を取得します。
ExecutionContextServiceOperations
内の get_profile
public static void PeriodicExecutionContextInit(Manager manager)
このExecutionContextを生成するFactoryクラスを ExecutionContext用ObjectManagerに登録します。
manager
- Managerオブジェクトpublic ExecutionContextBase ECNewFunc()
ExecutionContextのインスタンスを取得します。
ECNewDeleteFunc
内の ECNewFunc
public java.lang.Object ECDeleteFunc(ExecutionContextBase comp)
ExecutionContextのインスタンスを破棄します。
ECNewDeleteFunc
内の ECDeleteFunc
comp
- 破棄対象ExecutionContextインスタンス
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |