public interface ExecutionContextBase extends ECNewDeleteFunc
Periodic Sampled Data Processing(周期実行用)ExecutionContextのベースとなる 抽象クラスです。
| 修飾子とタイプ | インタフェースと説明 | 
|---|---|
static class  | 
ExecutionContextBase.transitionModeHolder
transitionMode保持用クラスです。 
 | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
ReturnCode_t | 
bindComponent(RTObject_impl rtc)
 bindComponent  
 | 
RTObject[] | 
getComponentList()
RTコンポーネントの参加者リストを取得する
 
 
 現在登録されている参加者RTCのリストを取得する。 
 | 
java.lang.String | 
getKindString(ExecutionKind kind)
ExecutionKind を文字列化する
 
 
 RTC::ExecutionKind で定義されている PERIODIC, EVENT_DRIVEN,
 OTHER を文字列化する。 
 | 
ExecutionContextService | 
getObjRef()
CORBA オブジェクト参照の取得
 
 
 本オブジェクトの ExecutioncontextService としての CORBA オブジェ
 クト参照を取得する。 
 | 
RTObject | 
getOwner()
Ownerコンポーネントの参照を取得する
 
 
 このECのOwnerであるRTCの参照を取得する。 
 | 
ExecutionContextProfile | 
getProfile()
Profileを取得する
 
 
 ExecutionContextProfile を取得する。 
 | 
Properties | 
getProperties()
Propertiesを取得する
 
 
 ExecutionContextProfile::properties を取得する。 
 | 
double | 
getRate()
ExecutionContext の実行周期(Hz)を取得する
 
 
 Active 状態にてRTコンポーネントが実行される周期(単位:Hz)を取得す
 る。 
 | 
void | 
init(Properties props)
ExecutionContextクラスの初期化関数
  
 | 
void | 
invokeWorker()  | 
void | 
invokeWorkerDo()  | 
void | 
invokeWorkerPostDo()  | 
void | 
invokeWorkerPreDo()  | 
boolean | 
isAllCurrentState(LifeCycleState state)  | 
boolean | 
isAllNextState(LifeCycleState state)  | 
boolean | 
isOneOfCurrentState(LifeCycleState state)  | 
boolean | 
isOneOfNextState(LifeCycleState state)  | 
ReturnCode_t | 
onActivated(RTObjectStateMachine comp,
           long count)  | 
ReturnCode_t | 
onActivating(LightweightRTObject comp)  | 
ReturnCode_t | 
onAddedComponent(LightweightRTObject rtobj)  | 
ReturnCode_t | 
onAddingComponent(LightweightRTObject rtobj)  | 
ReturnCode_t | 
onDeactivated(RTObjectStateMachine comp,
             long count)  | 
ReturnCode_t | 
onDeactivating(LightweightRTObject comp)  | 
LifeCycleState | 
onGetComponentState(LifeCycleState state)  | 
ExecutionKind | 
onGetKind(ExecutionKind kind)  | 
ExecutionContextProfile | 
onGetProfile(ExecutionContextProfile profile)  | 
double | 
onGetRate(double rate)  | 
ReturnCode_t | 
onRemovedComponent(LightweightRTObject rtobj)  | 
ReturnCode_t | 
onRemovingComponent(LightweightRTObject rtobj)  | 
ReturnCode_t | 
onReset(RTObjectStateMachine comp,
       long count)  | 
ReturnCode_t | 
onResetting(LightweightRTObject comp)  | 
ReturnCode_t | 
onSetRate(double rate)  | 
double | 
onSettingRate(double rate)  | 
ReturnCode_t | 
onStarted()  | 
ReturnCode_t | 
onStopped()  | 
ReturnCode_t | 
onStopping()  | 
ReturnCode_t | 
onWaitingActivated(RTObjectStateMachine comp,
                  long count)
onWaitingActivated() template function
  
 | 
ReturnCode_t | 
onWaitingDeactivated(RTObjectStateMachine comp,
                    long count)
onWaitingDeactivated() template function
  
 | 
ReturnCode_t | 
onWaitingReset(RTObjectStateMachine comp,
              long count)
onWaitingReset() template function
  
 | 
boolean | 
setExecutionRate(Properties props)
Propertiesから実行コンテキストをセットする
  
 | 
ReturnCode_t | 
setKind(ExecutionKind kind)
ExecutionKind を設定する
 
 
 この ExecutionContext の ExecutionKind を設定する
  
 | 
void | 
setObjRef(ExecutionContextService ref)
CORBA オブジェクトの設定
 
 
 本オブジェクトの ExecutioncontextService としての CORBA オブジェ
 クトを設定する。 
 | 
ReturnCode_t | 
setOwner(LightweightRTObject comp)
Ownerコンポーネントをセットする。 
 | 
void | 
setProperties(Properties props)
Propertiesをセットする
 
 
 ExecutionContextProfile::properties をセットする。 
 | 
ReturnCode_t | 
setRate(double rate)
ExecutionContext の実行周期(Hz)を設定する
 
 
 {@.ja Active 状態にてRTコンポーネントが実行される周期(単位:Hz)を設定す
 る。 
 | 
boolean | 
setTimeout(Properties props,
          java.lang.String key,
          TimeValue timevalue)
Propertiesから状態遷移Timeoutをセットする
  
 | 
boolean | 
setTransitionMode(Properties props,
                 java.lang.String key,
                 ExecutionContextBase.transitionModeHolder flag)
Propertiesから状態遷移モードをセットする
  
 | 
ECDeleteFunc, ECNewFuncvoid init(Properties props)
void setObjRef(ExecutionContextService ref)
本オブジェクトの ExecutioncontextService としての CORBA オブジェ クトを設定する。
ref - オブジェクトリファレンス
   ReturnCode_t bindComponent(RTObject_impl rtc)
bindComponent
rtc - RTObjectExecutionContextService getObjRef()
本オブジェクトの ExecutioncontextService としての CORBA オブジェ クト参照を取得する。
ReturnCode_t setRate(double rate)
Active 状態にてRTコンポーネントが実行される周期(単位:Hz)を設定す る。実行周期の変更は、DataFlowComponentAction の on_rate_changed によって各RTコンポーネントに伝達される。
rate - 処理周期(単位:Hz)
   double getRate()
Active 状態にてRTコンポーネントが実行される周期(単位:Hz)を取得す る。
java.lang.String getKindString(ExecutionKind kind)
RTC::ExecutionKind で定義されている PERIODIC, EVENT_DRIVEN, OTHER を文字列化する。
kind - ExecutionKind
   ReturnCode_t setKind(ExecutionKind kind)
この ExecutionContext の ExecutionKind を設定する
kind - ExecutionKind
   ReturnCode_t setOwner(LightweightRTObject comp)
このECのOwnerとなるRTCをセットする。
comp - OwnerとなるRTコンポーネント
   RTObject getOwner()
このECのOwnerであるRTCの参照を取得する。
RTObject[] getComponentList()
現在登録されている参加者RTCのリストを取得する。
void setProperties(Properties props)
ExecutionContextProfile::properties をセットする。
props - ExecutionContextProfile::properties にセットするプロパティー
   Properties getProperties()
ExecutionContextProfile::properties を取得する。
ExecutionContextProfile getProfile()
ExecutionContextProfile を取得する。
boolean setExecutionRate(Properties props)
props - ExecutionContextProfile::properties にセットするプロパティー
   boolean setTransitionMode(Properties props, java.lang.String key, ExecutionContextBase.transitionModeHolder flag)
props - ExecutionContextProfile::properties にセットするプロパティー
   key - flag - boolean setTimeout(Properties props, java.lang.String key, TimeValue timevalue)
props - ExecutionContextProfile::properties にセットするプロパティー
   key - timevalue - ReturnCode_t onStarted()
ReturnCode_t onStopping()
ReturnCode_t onStopped()
double onGetRate(double rate)
double onSettingRate(double rate)
ReturnCode_t onSetRate(double rate)
ReturnCode_t onAddingComponent(LightweightRTObject rtobj)
ReturnCode_t onAddedComponent(LightweightRTObject rtobj)
ReturnCode_t onRemovingComponent(LightweightRTObject rtobj)
ReturnCode_t onRemovedComponent(LightweightRTObject rtobj)
ReturnCode_t onActivating(LightweightRTObject comp)
ReturnCode_t onActivated(RTObjectStateMachine comp, long count)
ReturnCode_t onDeactivating(LightweightRTObject comp)
ReturnCode_t onDeactivated(RTObjectStateMachine comp, long count)
ReturnCode_t onResetting(LightweightRTObject comp)
ReturnCode_t onReset(RTObjectStateMachine comp, long count)
LifeCycleState onGetComponentState(LifeCycleState state)
ExecutionKind onGetKind(ExecutionKind kind)
ExecutionContextProfile onGetProfile(ExecutionContextProfile profile)
ReturnCode_t onWaitingActivated(RTObjectStateMachine comp, long count)
ReturnCode_t onWaitingDeactivated(RTObjectStateMachine comp, long count)
ReturnCode_t onWaitingReset(RTObjectStateMachine comp, long count)
boolean isAllCurrentState(LifeCycleState state)
boolean isAllNextState(LifeCycleState state)
boolean isOneOfCurrentState(LifeCycleState state)
boolean isOneOfNextState(LifeCycleState state)
void invokeWorker()
void invokeWorkerPreDo()
void invokeWorkerDo()
void invokeWorkerPostDo()