jp.go.aist.rtm.RTC.executionContext
Class ExtTrigExecutionContext

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by OpenRTM.ExtTrigExecutionContextServicePOA
          extended by jp.go.aist.rtm.RTC.executionContext.ExecutionContextBase
              extended by jp.go.aist.rtm.RTC.executionContext.PeriodicExecutionContext
                  extended by jp.go.aist.rtm.RTC.executionContext.ExtTrigExecutionContext
All Implemented Interfaces:
SDOServiceOperations, java.lang.Runnable, ECNewDeleteFunc, ExtTrigExecutionContextServiceOperations, org.omg.CORBA.portable.InvokeHandler, ExecutionContextOperations, ExecutionContextServiceOperations

public class ExtTrigExecutionContext
extends PeriodicExecutionContext
implements java.lang.Runnable

ExecutionContext class that enables one step execution

ExecutionContext class that can execute every one cycle for Periodic Sampled Data Processing. Time(Tick) advances one cycle by invoking method externally.


Nested Class Summary
 
Nested classes/interfaces inherited from class jp.go.aist.rtm.RTC.executionContext.PeriodicExecutionContext
PeriodicExecutionContext.Comp, PeriodicExecutionContext.DFP, PeriodicExecutionContext.DFPBase, PeriodicExecutionContext.find_comp
 
Field Summary
protected  Logbuf rtcout
          Logging用フォーマットオブジェクト
 
Fields inherited from class jp.go.aist.rtm.RTC.executionContext.PeriodicExecutionContext
m_comps, m_nowait, m_profile, m_ref, m_running, m_thread, m_usec
 
Constructor Summary
ExtTrigExecutionContext()
           Constructor
 
Method Summary
 java.lang.Object ECDeleteFunc(ExecutionContextBase comp)
          ExecutionContextのインスタンスを破棄します。
 ExecutionContextBase ECNewFunc()
          ExecutionContextのインスタンスを取得します。
static void ExtTrigExecutionContextInit(Manager manager)
          このExecutionContextを生成するFactoryクラスを ExecutionContext用ObjectManagerに登録します。
 void run()
          ExecutionContextを起動します。
 int svc()
          ExecutionContextにattachされている各Componentの処理を呼び出します。 全Componentの処理を呼び出した後、次のイベントが発生するまで休止します。
 void tick()
          ExecutionContextの処理を1周期分進めます。
 
Methods inherited from class jp.go.aist.rtm.RTC.executionContext.PeriodicExecutionContext
__this, activate_component, add_component, bindComponent, close, deactivate_component, finalizeExecutionContext, get_component_state, get_kind, get_profile, get_rate, getObjRef, getRef, is_running, open, PeriodicExecutionContextInit, remove_component, reset_component, set_rate, setObjRef, start, stop
 
Methods inherited from class OpenRTM.ExtTrigExecutionContextServicePOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rtcout

protected Logbuf rtcout

Logging用フォーマットオブジェクト

Constructor Detail

ExtTrigExecutionContext

public ExtTrigExecutionContext()
Constructor

Method Detail

tick

public void tick()
          throws org.omg.CORBA.SystemException

ExecutionContextの処理を1周期分進めます。

Specified by:
tick in interface ExtTrigExecutionContextServiceOperations
Overrides:
tick in class ExecutionContextBase
Throws:
org.omg.CORBA.SystemException

svc

public int svc()

ExecutionContextにattachされている各Componentの処理を呼び出します。 全Componentの処理を呼び出した後、次のイベントが発生するまで休止します。

Overrides:
svc in class PeriodicExecutionContext

run

public void run()

ExecutionContextを起動します。

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class PeriodicExecutionContext

ExtTrigExecutionContextInit

public static void ExtTrigExecutionContextInit(Manager manager)

このExecutionContextを生成するFactoryクラスを ExecutionContext用ObjectManagerに登録します。

Parameters:
manager - Managerオブジェクト

ECDeleteFunc

public java.lang.Object ECDeleteFunc(ExecutionContextBase comp)

ExecutionContextのインスタンスを破棄します。

Specified by:
ECDeleteFunc in interface ECNewDeleteFunc
Overrides:
ECDeleteFunc in class PeriodicExecutionContext
Parameters:
comp - 破棄対象ExecutionContextインスタンス

ECNewFunc

public ExecutionContextBase ECNewFunc()

ExecutionContextのインスタンスを取得します。

Specified by:
ECNewFunc in interface ECNewDeleteFunc
Overrides:
ECNewFunc in class PeriodicExecutionContext
Returns:
ExecutionContextインスタンス