public interface ExecutionContextBase extends ECNewDeleteFunc
Periodic Sampled Data Processing(周期実行用)ExecutionContextのベースとなる 抽象クラスです。
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ExecutionContextBase.transitionModeHolder
transitionMode保持用クラスです。 
 | 
ECDeleteFunc, ECNewFuncvoid init(Properties props)
void setObjRef(ExecutionContextService ref)
Sets the reference to the CORBA object as ExecutioncontextService of this object.
ref - 
   The object referenceReturnCode_t bindComponent(RTObject_impl rtc)
bindComponent
rtc - RTObjectExecutionContextService getObjRef()
Get the reference to the CORBA object as ExecutioncontextService of this object.
ReturnCode_t setRate(double rate)
This operation shall set the rate (in hertz) at which this context’s Active participating RTCs are being called. If the execution kind of the context is PERIODIC, a rate change shall result in the invocation of on_rate_changed on any RTCs realizing DataFlowComponentAction that are registered with any RTCs participating in the context.
rate - 
   Execution cycle(Unit:Hz)double getRate()
This operation shall return the rate (in hertz) at which its Active participating RTCs are being invoked.
java.lang.String getKindString(ExecutionKind kind)
This function converts enumeration (PERIODIC, EVENT_DRIVEN, OTHER) defined in RTC::ExecutionKind to string.
kind - 
   ExecutionKindReturnCode_t setKind(ExecutionKind kind)
This operation sets the kind of the execution context.
kind - 
   ExecutionKindReturnCode_t setOwner(LightweightRTObject comp)
This function sets an RT-Component to be owner of the execution context.
comp - 
   an owner RT-Component of this execution contextRTObject getOwner()
This function returns a reference of the owner RT-Component of this execution context
RTObject[] getComponentList()
This function returns a list of participant RTC of the execution context.
void setProperties(Properties props)
This function sets ExecutionContextProfile::properties by coil::Properties.
props - 
   Properties to be set to ExecutionContextProfile::properties.Properties getProperties()
This function sets ExecutionContextProfile::properties by coil::Properties.
ExecutionContextProfile getProfile()
This function gets RTC::ExecutionContextProfile.
boolean setExecutionRate(Properties props)
props - 
   Properties to be set to ExecutionContextProfile::properties.boolean setTransitionMode(Properties props, java.lang.String key, ExecutionContextBase.transitionModeHolder flag)
props - 
   Properties to be set to ExecutionContextProfile::properties.key - flag - boolean setTimeout(Properties props, java.lang.String key, TimeValue timevalue)
props - 
   Properties to be set to 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()