jp.go.aist.rtm.RTC
クラス ComponentObserverConsumer

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.ComponentObserverConsumer
すべての実装されたインタフェース:
ObjectCreator<SdoServiceConsumerBase>, ObjectDestructor, SdoServiceConsumerBase, CallbackFunction

public class ComponentObserverConsumer
extends java.lang.Object
implements SdoServiceConsumerBase, CallbackFunction, ObjectCreator<SdoServiceConsumerBase>, ObjectDestructor


コンストラクタの概要
ComponentObserverConsumer()
          ctor of ComponentObserverConsumer
 
メソッドの概要
static void ComponentObserverConsumerInit()
           ComponentObserverConsumerInit
 SdoServiceConsumerBase creator_()
           creator_
 void destructor_(java.lang.Object obj)
           destructor_
 void doOperate()
          ハートビートをオブザーバに伝える
 void finalize()
          終了処理
 ServiceProfile getProfile()
          ServiceProfile を取得する
 boolean init(RTObject_impl rtobj, ServiceProfile profile)
          初期化
 boolean reinit(ServiceProfile profile)
          再初期化
protected  void setComponentProfileListeners()
          ComponentProfile状態変化リスナの設定
protected  void setComponentStatusListeners()
          RTC状態変化リスナの設定処理
protected  void setConfigurationListeners()
          Configuration状態変化リスナの設定
protected  void setExecutionContextListeners()
          ECの状態変化リスナの設定
protected  void setHeartbeat(Properties prop)
          ハートビートを設定する
protected  void setListeners(Properties prop)
          RTObjectへのリスナ接続処理
protected  void setPortProfileListeners()
          Portプロファイル変化リスナの設定処理
protected
<DataType> void
switchListeners(boolean next, DataRef<java.lang.Boolean> pre, DataType obj, java.lang.String setfunc, java.lang.String unsetfunc)
          リスナ接続・切断スイッチング処理
protected  java.lang.String toString(StatusKind kind)
          Kindを文字列へ変換する
protected  void unsetComponentProfileListeners()
          ComponentProfile状態変化リスナの解除
protected  void unsetComponentStatusListeners()
          RTC状態変化リスナの解除処理
protected  void unsetConfigurationListeners()
          Configuration状態変化リスナの解除
protected  void unsetExecutionContextListeners()
          ECの状態変化リスナの解除
protected  void unsetHeartbeat()
          ハートビートを解除する
protected  void unsetPortProfileListeners()
          Portプロファイル変化リスナの解除処理
protected  void updateStatus(StatusKind statuskind, java.lang.String msg)
          リモートオブジェクトコール
 
クラス java.lang.Object から継承されたメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ComponentObserverConsumer

public ComponentObserverConsumer()
ctor of ComponentObserverConsumer

メソッドの詳細

init

public boolean init(RTObject_impl rtobj,
                    ServiceProfile profile)
初期化

定義:
インタフェース SdoServiceConsumerBase 内の init
パラメータ:
rtobj - このオブジェクトがインスタンス化された RTC
profile - 外部から与えられた SDO ServiceProfile
戻り値:
与えられた SDO Service や ServiceProfile が不正の場合 false

reinit

public boolean reinit(ServiceProfile profile)
再初期化

定義:
インタフェース SdoServiceConsumerBase 内の reinit
パラメータ:
profile - 新たに与えられた SDO ServiceProfile
戻り値:
不正な ServiceProfile が与えられた場合は false

getProfile

public final ServiceProfile getProfile()
ServiceProfile を取得する

定義:
インタフェース SdoServiceConsumerBase 内の getProfile
戻り値:
このオブジェクトが保持している ServiceProfile

finalize

public void finalize()
終了処理

定義:
インタフェース SdoServiceConsumerBase 内の finalize
オーバーライド:
クラス java.lang.Object 内の finalize

updateStatus

protected void updateStatus(StatusKind statuskind,
                            java.lang.String msg)
リモートオブジェクトコール


toString

protected final java.lang.String toString(StatusKind kind)
Kindを文字列へ変換する


setListeners

protected void setListeners(Properties prop)
RTObjectへのリスナ接続処理


switchListeners

protected <DataType> void switchListeners(boolean next,
                                          DataRef<java.lang.Boolean> pre,
                                          DataType obj,
                                          java.lang.String setfunc,
                                          java.lang.String unsetfunc)
リスナ接続・切断スイッチング処理


doOperate

public void doOperate()
ハートビートをオブザーバに伝える

定義:
インタフェース CallbackFunction 内の doOperate

setHeartbeat

protected void setHeartbeat(Properties prop)
ハートビートを設定する


unsetHeartbeat

protected void unsetHeartbeat()
ハートビートを解除する


setComponentStatusListeners

protected void setComponentStatusListeners()
RTC状態変化リスナの設定処理


unsetComponentStatusListeners

protected void unsetComponentStatusListeners()
RTC状態変化リスナの解除処理


setPortProfileListeners

protected void setPortProfileListeners()
Portプロファイル変化リスナの設定処理


unsetPortProfileListeners

protected void unsetPortProfileListeners()
Portプロファイル変化リスナの解除処理


setExecutionContextListeners

protected void setExecutionContextListeners()
ECの状態変化リスナの設定


unsetExecutionContextListeners

protected void unsetExecutionContextListeners()
ECの状態変化リスナの解除


setComponentProfileListeners

protected void setComponentProfileListeners()
ComponentProfile状態変化リスナの設定


unsetComponentProfileListeners

protected void unsetComponentProfileListeners()
ComponentProfile状態変化リスナの解除


setConfigurationListeners

protected void setConfigurationListeners()
Configuration状態変化リスナの設定


unsetConfigurationListeners

protected void unsetConfigurationListeners()
Configuration状態変化リスナの解除


creator_

public SdoServiceConsumerBase creator_()

creator_

定義:
インタフェース ObjectCreator<SdoServiceConsumerBase> 内の creator_
戻り値:
Object Created instances

destructor_

public void destructor_(java.lang.Object obj)

destructor_

定義:
インタフェース ObjectDestructor 内の destructor_
パラメータ:
obj - The target instances for destruction

ComponentObserverConsumerInit

public static void ComponentObserverConsumerInit()

ComponentObserverConsumerInit