メインページ | ネームスペース一覧 | クラス階層 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

クラス RTM::RtcCompositeBase

#include <RtcCompositeBase.h>

RTM::RtcCompositeBaseに対する継承グラフ

RTM::RtcBase RTM::RtcSyncComposite すべてのメンバ一覧

Public メソッド

 RtcCompositeBase ()
 A constructor.

 RtcCompositeBase (RtcManager *manager)
 RtcCompositeBase (CORBA::ORB_ptr &orb, PortableServer::POA_ptr &poa)
virtual RTCProfile * profile ()
 [CORBA interface] Return output port object reference list

virtual RTCConfiguration * configuration ()
virtual RtmRes rtc_add_component (RTCBase_ptr comp)
virtual RtmRes rtc_delete_component (RTCBase_ptr comp)
virtual RtmRes rtc_replace_component (RTCBase_ptr comp1, RTCBase_ptr comp2)
virtual RtmRes rtc_replace_component_by_name (const char *name1, const char *name2)
virtual RTCBaseList * rtc_components ()
virtual RTCBase_ptr rtc_get_component (const char *name)
virtual RtmRes rtc_attach_inport (InPort_ptr in_port)
virtual RtmRes rtc_attach_inport_by_name (RTCBase_ptr comp, const char *name)
virtual RtmRes rtc_detatch_inport (InPort_ptr in_port)
virtual RtmRes rtc_detatch_inport_by_name (const char *name)
virtual RtmRes rtc_attach_outport (OutPort_ptr out_port)
virtual RtmRes rtc_attach_outport_by_name (RTCBase_ptr comp, const char *name)
virtual RtmRes rtc_detatch_outport (OutPort_ptr out_port)
virtual RtmRes rtc_detatch_outport_by_name (const char *name)
virtual int open (void *args)
virtual int svc (void)
virtual RtmRes rtc_start () throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition)
 [CORBA interface] コンポーネントのアクティブ化

virtual RtmRes rtc_stop () throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition)
 [CORBA interface] コンポーネントの非アクティブ化

virtual RtmRes rtc_reset () throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition)
 [CORBA interface] コンポーネントのリセット

virtual RtmRes rtc_exit () throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition)
 [CORBA interface] コンポーネントのリセット

virtual RtmRes rtc_kill ()
 [CORBA interface] コンポーネントの強制終了

virtual RtmRes rtc_worker ()
 [CORBA interface] メインアクティビティのメソッド

virtual OutPort_ptr rtc_state ()
 [CORBA interface] アクティビティステータスのOutPortの取得

virtual InPortList * inports ()
 [CORBA interface] InPortList の取得

virtual InPort_ptr get_inport (const char *name) throw (CORBA::SystemException, RTM::RTComponent::NoSuchName)
 [CORBA interface] InPort の取得

virtual OutPortList * outports ()
 [CORBA interface] OutPortList の取得

virtual OutPort_ptr get_outport (const char *name) throw (CORBA::SystemException, RTM::RTComponent::NoSuchName)
 [CORBA interface] OutPort の取得

virtual char * instance_id ()
 [CORBA interface] instance_id の取得

virtual char * implementation_id ()
 [CORBA interface] implementation_id の取得

virtual char * description ()
 [CORBA interface] description の取得

virtual char * version ()
 [CORBA interface] version の取得

virtual char * maker ()
 [CORBA interface] maker の取得

virtual char * category ()
 [CORBA interface] category の取得

virtual RtmRes rtc_start_thread ()
 [CORBA interface] アクティビティスレッドのスタート

virtual RtmRes rtc_suspend_thread ()
 [CORBA interface] アクティビティスレッドのサスペンド

virtual RtmRes rtc_stop_thread ()
 [CORBA interface] アクティビティスレッドのストップ

virtual RtmRes rtc_set_parent (RTCBase_ptr comp)
 [CORBA interface] 親コンポーネントをセットする

virtual void init_orb (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 ORB, POA のポインタを与えて初期化する.

virtual int close (unsigned long flags)
 コンポーネントのアクティビティスレッド終了関数

virtual RTM::RTComponent::ComponentState getState ()
 コンポーネントステート取得

virtual void initModuleProfile (RtcModuleProfile prof)
 ModuleProfile の初期化.

virtual RtcModuleProfilegetModuleProfile ()
 ModuleProfile の取得.

virtual string setComponentName (int num)
 コンポーネント名をセットする

bool registerInPort (InPortBase &in_ch)
 InPort の登録.

bool deleteInPort (InPortBase &in_ch)
 InPort の登録解除.

bool deleteInPortByName (const char *ch_name)
 InPort の登録解除.

void readAllInPorts ()
 全ての InPort のデータ取り込み.

void finalizeInPorts ()
 全ての InPort の終了処理.

bool registerOutPort (OutPortBase &out_ch)
 OutPort の登録.

bool deleteOutPort (OutPortBase &out_ch)
 OutPort の登録.

bool deleteOutPortByName (const char *ch_name)
 OutPort の登録解除.

void writeAllOutPorts ()
 全ての OutPort のデータ書き出し.

void finalizeOutPorts ()
 全ての OutPort の終了処理.

void appendAlias (const char *alias)
 コンポーネント名の alias を登録

void appendAlias (const std::string alias)
 コンポーネント名の alias を登録

std::list< string > getAliases ()
 コンポーネント名の alias を取得

void setNamingPolicy (NamingPolicy policy)
NamingPolicy getNamingPolicy ()
bool isLongNameEnable ()
bool isAliasEnable ()
void forceExit ()
void finalize ()
 コンポーネントの終了処理

bool isThreadRunning ()

Protected 型

typedef list< RTCBase_ptr
>::iterator 
Components_it
typedef list< InPort_ptr
>::iterator 
InPorts_it
 Input channel list iterator.

typedef list< OutPort_ptr
>::iterator 
OutPorts_it
 Output channel list iterator.

typedef RtmRes(RtcBase::* StateFunc )()
 アクティビティ関数ポインタ宣言

enum  ThreadStates { UNKNOWN, RUNNING, SUSPEND, STOP }
 アクティビティスレッド状態フラグ構造体 [詳細]


Protected メソッド

virtual RtmRes rtc_ready_entry ()
 This method will be called once when component enter to Ready state.

virtual RtmRes rtc_ready_do ()
 This method will be called repeatedly when component state is Ready.

virtual RtmRes rtc_ready_exit ()
 This method will be called once when component exit from Ready state.

virtual RtmRes rtc_active_entry ()
 This method will be called once when component enter to Active state.

virtual RtmRes rtc_active_do ()
 This method will be called repeatedly when component state is Active.

virtual RtmRes rtc_active_exit ()
 This method will be called once when component exit from Active state.

virtual RtmRes rtc_error_entry ()
 This method will be called once when component enter to Error state.

virtual RtmRes rtc_error_do ()
 This method will be called repeatedly when component state is Error.

virtual RtmRes rtc_error_exit ()
 This method will be called once when component exit from Error state.

virtual RtmRes rtc_fatal_entry ()
 This method will be called once when component enter to FatalError state.

virtual RtmRes rtc_fatal_do ()
 This method will be called repeatedly when component state is FatalError.

virtual RtmRes rtc_fatal_exit ()
 This method will be called once when component exit from FatalError state.

virtual RtmRes rtc_init_entry ()
 Initializing state This method will be called and move to Ready/Error state immediately.

virtual RtmRes rtc_starting_entry ()
 This method will be called and move to Active state immediately.

virtual RtmRes rtc_stopping_entry ()
 This method will be called and move to Ready state immediately.

virtual RtmRes rtc_aborting_entry ()
 This method will be called and move to Error state immediately.

virtual RtmRes rtc_exiting_entry ()
 This method will be called and terminate component.

bool registerPort (InPortBase &in_ch)
 Registration of input channel.

bool deletePort (InPortBase &in_ch)
 Deletion of input channel.

bool deleteInPortByName (char *ch_name)
 Deletion of input channel by channel name.

bool registerPort (OutPortBase &out_ch)
 Registration of output channel.

bool deletePort (OutPortBase &out_ch)
 Deletion of output channel.

bool deleteOutPortByName (char *ch_name)
 Deletion of output channel by channel name.

RtmRes _check_error (RtmRes result)
 アクティビティエラーチェック関数

RtmRes _nop ()
 アクティビティ用ダミー関数

RtmRes _rtc_initializing ()
 アクティビティ rtc_init_entry 実行関数

RtmRes _rtc_ready_entry ()
 アクティビティ rtc_ready_entry 実行関数

RtmRes _rtc_starting ()
 アクティビティ rtc_starting_entry 実行関数

RtmRes _rtc_active_entry ()
 アクティビティ rtc_active_entry 実行関数

RtmRes _rtc_stopping ()
 アクティビティ rtc_stippoing_entry 実行関数

RtmRes _rtc_aborting ()
 アクティビティ rtc_aborting_entry 実行関数

RtmRes _rtc_error_entry ()
 アクティビティ rtc_error_entry 実行関数

RtmRes _rtc_fatal_entry ()
 アクティビティ rtc_fatal_entry 実行関数

RtmRes _rtc_exiting ()
 アクティビティ rtc_exiting_entry 実行関数

RtmRes _rtc_ready ()
 アクティビティ rtc_ready_do 実行関数

RtmRes _rtc_active ()
 アクティビティ rtc_active_do 実行関数

RtmRes _rtc_error ()
 アクティビティ rtc_error_do 実行関数

RtmRes _rtc_fatal ()
 アクティビティ rtc_fatal_do 実行関数

RtmRes _rtc_ready_exit ()
 アクティビティ rtc_ready_exit 実行関数

RtmRes _rtc_active_exit ()
 アクティビティ rtc_active_exit 実行関数

RtmRes _rtc_error_exit ()
 アクティビティ rtc_error_exit 実行関数

RtmRes _rtc_fatal_exit ()
 アクティビティ rtc_fatal_exit 実行関数

void init_state_func_table ()
 アクティビティ関数テーブルの初期化


Protected 変数

RTCProfile m_Profile
 コンポーネントプロファイル

RTCConfiguration m_Configuration
Components m_Components
InPorts m_InPorts
 mutex 付き InPort リスト

OutPorts m_OutPorts
 mutex 付き OutPort リスト

CORBA::ORB_ptr m_pORB
 ORB ポインタ変数.

PortableServer::POA_ptr m_pPOA
 POA ポインタ変数.

RtcManagerm_pManager
 Manager ポインタ変数.

RTCBase_var m_Parent
 親コンポーネントのオブジェクトリファレンス

ThreadState m_ThreadState
 アクティビティスレッド状態変数

ComponentStateMtx m_CurrentState
 アクティビティの現在状態変数

ComponentStateMtx m_NextState
 アクティビティの次状態変数

StateFunc _exit_func [11]
 アクティビティの exit 関数テーブル

StateFunc _entry_func [11]
 アクティビティの entry 関数テーブル

StateFunc _do_func [11]
 アクティビティの do 関数テーブル

TimedState m_TimedState
 Input port flag list アクティビティ状態変数.

OutPortAny< TimedState > m_StatePort
 アクティビティ状態OutPort

std::list< string > m_Alias
 コンポーネント名のalias

NamingPolicy m_NamingPolicy
RtcMedLogbuf m_MedLogbuf
 ロガー仲介バッファ

RtcLogStream rtcout
 ロガーストリーム


Static Protected 変数

const ComponentState RTC_UNKNOWN = RTM::RTComponent::RTC_UNKNOWN
 Set component category name.

const ComponentState RTC_BORN = RTM::RTComponent::RTC_BORN
const ComponentState RTC_INITIALIZING = RTM::RTComponent::RTC_INITIALIZING
const ComponentState RTC_READY = RTM::RTComponent::RTC_READY
const ComponentState RTC_STARTING = RTM::RTComponent::RTC_STARTING
const ComponentState RTC_ACTIVE = RTM::RTComponent::RTC_ACTIVE
const ComponentState RTC_STOPPING = RTM::RTComponent::RTC_STOPPING
const ComponentState RTC_ABORTING = RTM::RTComponent::RTC_ABORTING
const ComponentState RTC_ERROR = RTM::RTComponent::RTC_ERROR
const ComponentState RTC_FATAL_ERROR = RTM::RTComponent::RTC_FATAL_ERROR
const ComponentState RTC_EXITING = RTM::RTComponent::RTC_EXITING

型定義

typedef list<RTCBase_ptr>::iterator RTM::RtcCompositeBase::Components_it [protected]
 

typedef list<InPort_ptr>::iterator RTM::RtcCompositeBase::InPorts_it [protected]
 

Input channel list iterator.

RTM::RtcBaseを再定義しています。

typedef list<OutPort_ptr>::iterator RTM::RtcCompositeBase::OutPorts_it [protected]
 

Output channel list iterator.

RTM::RtcBaseを再定義しています。

typedef RtmRes(RtcBase::* RTM::RtcBase::StateFunc)() [protected, inherited]
 

アクティビティ関数ポインタ宣言


列挙型

enum RTM::RtcBase::ThreadStates [protected, inherited]
 

アクティビティスレッド状態フラグ構造体

列挙型の値:
UNKNOWN 
RUNNING 
SUSPEND 
STOP 


コンストラクタとデストラクタ

RTM::RtcCompositeBase::RtcCompositeBase  ) 
 

A constructor.

RTM::RtcCompositeBase::RtcCompositeBase RtcManager manager  ) 
 

RTM::RtcCompositeBase::RtcCompositeBase CORBA::ORB_ptr &  orb,
PortableServer::POA_ptr &  poa
 


関数

RtmRes RTM::RtcBase::_check_error RtmRes  result  )  [protected, inherited]
 

アクティビティエラーチェック関数

RtmRes RTM::RtcBase::_nop  )  [inline, protected, inherited]
 

アクティビティ用ダミー関数

RtmRes RTM::RtcBase::_rtc_aborting  )  [protected, inherited]
 

アクティビティ rtc_aborting_entry 実行関数

RtmRes RTM::RtcBase::_rtc_active  )  [protected, inherited]
 

アクティビティ rtc_active_do 実行関数

RtmRes RTM::RtcBase::_rtc_active_entry  )  [protected, inherited]
 

アクティビティ rtc_active_entry 実行関数

RtmRes RTM::RtcBase::_rtc_active_exit  )  [protected, inherited]
 

アクティビティ rtc_active_exit 実行関数

RtmRes RTM::RtcBase::_rtc_error  )  [protected, inherited]
 

アクティビティ rtc_error_do 実行関数

RtmRes RTM::RtcBase::_rtc_error_entry  )  [protected, inherited]
 

アクティビティ rtc_error_entry 実行関数

RtmRes RTM::RtcBase::_rtc_error_exit  )  [protected, inherited]
 

アクティビティ rtc_error_exit 実行関数

RtmRes RTM::RtcBase::_rtc_exiting  )  [protected, inherited]
 

アクティビティ rtc_exiting_entry 実行関数

RtmRes RTM::RtcBase::_rtc_fatal  )  [protected, inherited]
 

アクティビティ rtc_fatal_do 実行関数

RtmRes RTM::RtcBase::_rtc_fatal_entry  )  [protected, inherited]
 

アクティビティ rtc_fatal_entry 実行関数

RtmRes RTM::RtcBase::_rtc_fatal_exit  )  [protected, inherited]
 

アクティビティ rtc_fatal_exit 実行関数

RtmRes RTM::RtcBase::_rtc_initializing  )  [protected, inherited]
 

アクティビティ rtc_init_entry 実行関数

RtmRes RTM::RtcBase::_rtc_ready  )  [protected, inherited]
 

アクティビティ rtc_ready_do 実行関数

RtmRes RTM::RtcBase::_rtc_ready_entry  )  [protected, inherited]
 

アクティビティ rtc_ready_entry 実行関数

RtmRes RTM::RtcBase::_rtc_ready_exit  )  [protected, inherited]
 

アクティビティ rtc_ready_exit 実行関数

RtmRes RTM::RtcBase::_rtc_starting  )  [protected, inherited]
 

アクティビティ rtc_starting_entry 実行関数

RtmRes RTM::RtcBase::_rtc_stopping  )  [protected, inherited]
 

アクティビティ rtc_stippoing_entry 実行関数

void RTM::RtcBase::appendAlias const std::string  alias  )  [inherited]
 

コンポーネント名の alias を登録

コンポーネント名の alias を登録する。登録された alias はネーミングサーバ に登録される。 名前の付け方は コンテキストの区切りを "/"、 id と kind の区切りを "|" とする。コンテキスト Manipulator の下に自分自身を MyManipulator0 として bind したい場合には "/Manipualtor/MyManipulator0|rtc" を文字列として 渡す。マネージャにより適切なタイミングでネーミングサーバに登録される。

引数:
alias コンポーネント名の alias

void RTM::RtcBase::appendAlias const char *  alias  )  [inherited]
 

コンポーネント名の alias を登録

コンポーネント名の alias を登録する。登録された alias はネーミングサーバ に登録される。 名前の付け方は コンテキストの区切りを "/"、 id と kind の区切りを "|" とする。コンテキスト Manipulator の下に自分自身を MyManipulator0 として bind したい場合には "/Manipualtor/MyManipulator0|rtc" を文字列として 渡す。マネージャにより適切なタイミングでネーミングサーバに登録される。

引数:
alias コンポーネント名の alias

virtual char* RTM::RtcBase::category  )  [virtual, inherited]
 

[CORBA interface] category の取得

コンポーネントのカテゴリを取得する。

virtual int RTM::RtcBase::close unsigned long  flags  )  [virtual, inherited]
 

コンポーネントのアクティビティスレッド終了関数

コンポーネントの内部アクティビティスレッド終了時に呼ばれる。 コンポーネントオブジェクトの非アクティブ化、マネージャへの通知を行う。 これは ACE_Task サービスクラスメソッドのオーバーライド。

virtual RTCConfiguration* RTM::RtcCompositeBase::configuration  )  [virtual]
 

bool RTM::RtcBase::deleteInPort InPortBase in_ch  )  [inherited]
 

InPort の登録解除.

登録されている InPort の登録を解除する。

引数:
in_ch InPort object of InPort<T>

bool RTM::RtcBase::deleteInPortByName const char *  ch_name  )  [inherited]
 

InPort の登録解除.

登録されている InPort の登録を名前を指定して解除する。

引数:
ch_name InPort 名

bool RTM::RtcCompositeBase::deleteInPortByName char *  ch_name  )  [protected]
 

Deletion of input channel by channel name.

"false" is returned when the object of the argument is not registered.

引数:
ch_name Input channel name
戻り値:
true/false: "false" will be returned if deletion goes wrong.

bool RTM::RtcBase::deleteOutPort OutPortBase out_ch  )  [inherited]
 

OutPort の登録.

OutPort をコンポーネントに登録する。登録されたOutPortは外部から 見えるようになる。

引数:
out_ch OutPort object of OutPort<T>

bool RTM::RtcBase::deleteOutPortByName const char *  ch_name  )  [inherited]
 

OutPort の登録解除.

登録されている OutPort の登録を名前を指定して解除する。

引数:
ch_name OutPort 名

bool RTM::RtcCompositeBase::deleteOutPortByName char *  ch_name  )  [protected]
 

Deletion of output channel by channel name.

"false" is returned when the object of the argument is not registered.

引数:
ch_name Output channel name
戻り値:
true/false: "false" will be returned if deletion goes wrong.

bool RTM::RtcCompositeBase::deletePort OutPortBase out_ch  )  [protected]
 

Deletion of output channel.

"false" is returned when the object of the argument is not registered.

引数:
out_ch Output channel object of OutPort<T>
戻り値:
true/false: "false" will be returned if deletion goes wrong.

RTM::RtcBaseを再定義しています。

bool RTM::RtcCompositeBase::deletePort InPortBase in_ch  )  [protected]
 

Deletion of input channel.

"false" is returned when the object of the argument is not registered.

引数:
in_ch Input channel object of InPort<T>
戻り値:
true/false: "false" will be returned if deletion goes wrong.

RTM::RtcBaseを再定義しています。

virtual char* RTM::RtcBase::description  )  [virtual, inherited]
 

[CORBA interface] description の取得

コンポーネントの概要説明を取得する。

void RTM::RtcBase::finalize  )  [inherited]
 

コンポーネントの終了処理

1.OutPortの終了処理+deactivate、2.InPortの終了処理+deactivate、 3.アクティビティの停止、4.コンポーネントのdeactivate 5.

void RTM::RtcBase::finalizeInPorts  )  [inherited]
 

全ての InPort の終了処理.

全てのInPortに対してオブジェクトの deactivate() を行う。

void RTM::RtcBase::finalizeOutPorts  )  [inherited]
 

全ての OutPort の終了処理.

全てのOutPortに対して各サブスクライバを切断し、オブジェクトの deactivate() を行う。

void RTM::RtcBase::forceExit  )  [inherited]
 

virtual InPort_ptr RTM::RtcBase::get_inport const char *  name  )  throw (CORBA::SystemException, RTM::RTComponent::NoSuchName) [virtual, inherited]
 

[CORBA interface] InPort の取得

InPort のオブジェクトリファレンスを取得する。

引数:
name InPort 名

virtual OutPort_ptr RTM::RtcBase::get_outport const char *  name  )  throw (CORBA::SystemException, RTM::RTComponent::NoSuchName) [virtual, inherited]
 

[CORBA interface] OutPort の取得

OutPort のオブジェクトリファレンスを取得する。

引数:
name OutPort 名

std::list<string> RTM::RtcBase::getAliases  )  [inherited]
 

コンポーネント名の alias を取得

登録されているコンポーネント名の alias を取得する。

virtual RtcModuleProfile& RTM::RtcBase::getModuleProfile  )  [inline, virtual, inherited]
 

ModuleProfile の取得.

ModuleProfile を取得する。

NamingPolicy RTM::RtcBase::getNamingPolicy  )  [inherited]
 

virtual RTM::RTComponent::ComponentState RTM::RtcBase::getState  )  [virtual, inherited]
 

コンポーネントステート取得

コンポーネントの現在の状態を取得する。

virtual char* RTM::RtcBase::implementation_id  )  [virtual, inherited]
 

[CORBA interface] implementation_id の取得

コンポーネントのインプリメンテーションIDを取得する。

virtual void RTM::RtcBase::init_orb CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa
[virtual, inherited]
 

ORB, POA のポインタを与えて初期化する.

コンポーネントにORBとPOAのポインタを与えてコンポーネントを初期化する。

引数:
orb ORB へのポインタ
poa POA へのポインタ

void RTM::RtcBase::init_state_func_table  )  [protected, inherited]
 

アクティビティ関数テーブルの初期化

virtual void RTM::RtcBase::initModuleProfile RtcModuleProfile  prof  )  [virtual, inherited]
 

ModuleProfile の初期化.

RtcModuleProfile クラスのインスタンスを渡して、コンポーネントの プロファイルを初期化する。

引数:
RtcModuleProfSpec モジュールプロファイル

virtual InPortList* RTM::RtcBase::inports  )  [virtual, inherited]
 

[CORBA interface] InPortList の取得

InPort のオブジェクトリファレンスのリストを取得する。

virtual char* RTM::RtcBase::instance_id  )  [virtual, inherited]
 

[CORBA interface] instance_id の取得

コンポーネントのインスタンスIDを取得する。

bool RTM::RtcBase::isAliasEnable  )  [inherited]
 

bool RTM::RtcBase::isLongNameEnable  )  [inherited]
 

bool RTM::RtcBase::isThreadRunning  )  [inherited]
 

virtual char* RTM::RtcBase::maker  )  [virtual, inherited]
 

[CORBA interface] maker の取得

コンポーネントの作成者を取得する。

virtual int RTM::RtcCompositeBase::open void *  args  )  [inline, virtual]
 

------------------------------------------------------------ Start activity ACE_Task class method over ride. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual OutPortList* RTM::RtcBase::outports  )  [virtual, inherited]
 

[CORBA interface] OutPortList の取得

OutPort のオブジェクトリファレンスのリストを取得する。

virtual RTCProfile* RTM::RtcCompositeBase::profile  )  [virtual]
 

[CORBA interface] Return output port object reference list

RTM::RtcBaseを再定義しています。

void RTM::RtcBase::readAllInPorts  )  [inherited]
 

全ての InPort のデータ取り込み.

全てのInPortに対して InPort::read() を実行。予めバインドされた変数に 最新の値が代入される。変数にバインドされていないInPortでは何も 起こらない。

bool RTM::RtcBase::registerInPort InPortBase in_ch  )  [inherited]
 

InPort の登録.

InPort をコンポーネントに登録する。登録されたInPortは外部から 見えるようになる。

引数:
in_ch InPort object of InPort<T>

bool RTM::RtcBase::registerOutPort OutPortBase out_ch  )  [inherited]
 

OutPort の登録.

OutPort をコンポーネントに登録する。登録されたOutPortは外部から 見えるようになる。

引数:
out_ch OutPort object of OutPort<T>

bool RTM::RtcCompositeBase::registerPort OutPortBase out_ch  )  [protected]
 

Registration of output channel.

Duplication of a name of output channel is not allowed. "false" will be returned when there is duplication of a name.

引数:
out_ch Output channel object of OutPort<T>
戻り値:
true/false: "false" will be returned if registration goes wrong.

RTM::RtcBaseを再定義しています。

bool RTM::RtcCompositeBase::registerPort InPortBase in_ch  )  [protected]
 

Registration of input channel.

Duplication of a name of input channel is not allowed. "false" will be returned when there is duplication of a name.

引数:
in_ch Input channel object of InPort<T>
戻り値:
true/false: "false" will be returned if registration goes wrong.

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_aborting_entry  )  [inline, protected, virtual]
 

This method will be called and move to Error state immediately.

Aborting state. entry: aborting() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_active_do  )  [inline, protected, virtual]
 

This method will be called repeatedly when component state is Active.

do: active() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_active_entry  )  [inline, protected, virtual]
 

This method will be called once when component enter to Active state.

entry: active() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_active_exit  )  [inline, protected, virtual]
 

This method will be called once when component exit from Active state.

exit: active method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_add_component RTCBase_ptr  comp  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Add child component. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_attach_inport InPort_ptr  in_port  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Attach a InPort to composit component's InPort ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_attach_inport_by_name RTCBase_ptr  comp,
const char *  name
[virtual]
 

------------------------------------------------------------ [CORBA interface] Attach a InPort to composit component's InPort by owner component's object reference and its port name. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_attach_outport OutPort_ptr  out_port  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Attach a OutPort to composit component's OutPort ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_attach_outport_by_name RTCBase_ptr  comp,
const char *  name
[virtual]
 

------------------------------------------------------------ [CORBA interface] Attach a OutPort to composit component's OutPort by owner component's object reference and its port name. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RTCBaseList* RTM::RtcCompositeBase::rtc_components  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Get registered child components list. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_delete_component RTCBase_ptr  comp  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Delete child component. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_detatch_inport InPort_ptr  in_port  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Detatch a InPort by InPort's object reference. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_detatch_inport_by_name const char *  name  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Detach a InPort by InPort's name ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_detatch_outport OutPort_ptr  out_port  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Detatch a OutPort by OutPort's object reference. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_detatch_outport_by_name const char *  name  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Detach a OutPort by OutPort's name ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_error_do  )  [inline, protected, virtual]
 

This method will be called repeatedly when component state is Error.

do: error() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_error_entry  )  [inline, protected, virtual]
 

This method will be called once when component enter to Error state.

entry: error() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_error_exit  )  [inline, protected, virtual]
 

This method will be called once when component exit from Error state.

exit: error() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcBase::rtc_exit  )  throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition) [virtual, inherited]
 

[CORBA interface] コンポーネントのリセット

コンポーネントの状態を EXITING に遷移させる。 EXITING 状態に遷移したコンポーネントは二度と復帰することなく終了する。

virtual RtmRes RTM::RtcCompositeBase::rtc_exiting_entry  )  [inline, protected, virtual]
 

This method will be called and terminate component.

Exiting state. entry: exiting() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_fatal_do  )  [inline, protected, virtual]
 

This method will be called repeatedly when component state is FatalError.

do: fatal() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_fatal_entry  )  [inline, protected, virtual]
 

This method will be called once when component enter to FatalError state.

entry: fatal() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_fatal_exit  )  [inline, protected, virtual]
 

This method will be called once when component exit from FatalError state.

exit: fatal() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RTCBase_ptr RTM::RtcCompositeBase::rtc_get_component const char *  name  )  [virtual]
 

------------------------------------------------------------ [CORBA interface] Get a registered child component. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_init_entry  )  [inline, protected, virtual]
 

Initializing state This method will be called and move to Ready/Error state immediately.

Initializing state. entry: initializing() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcBase::rtc_kill  )  [virtual, inherited]
 

[CORBA interface] コンポーネントの強制終了

FATAL_ERROR 状態のコンポーネントを EXITING に遷移させる。 EXITING 状態に遷移したコンポーネントは二度と復帰することなく終了する。

virtual RtmRes RTM::RtcCompositeBase::rtc_ready_do  )  [inline, protected, virtual]
 

This method will be called repeatedly when component state is Ready.

do: ready() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_ready_entry  )  [inline, protected, virtual]
 

This method will be called once when component enter to Ready state.

entry: ready() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_ready_exit  )  [inline, protected, virtual]
 

This method will be called once when component exit from Ready state.

exit: ready method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcCompositeBase::rtc_replace_component RTCBase_ptr  comp1,
RTCBase_ptr  comp2
[virtual]
 

------------------------------------------------------------ [CORBA interface] Replace child components ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcCompositeBase::rtc_replace_component_by_name const char *  name1,
const char *  name2
[virtual]
 

------------------------------------------------------------ [CORBA interface] Replace child components by component name ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

virtual RtmRes RTM::RtcBase::rtc_reset  )  throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition) [virtual, inherited]
 

[CORBA interface] コンポーネントのリセット

コンポーネントの状態を ERROR から INITIALIZE に遷移させる。 INITIALIZE 後エラーがなければすぐに READY 状態に遷移する。 このオペレーションを発行するとき、コンポーネントは ERROR 状態でなければ ならない。他の状態の場合には IllegalTransition 例外が発生する。

virtual RtmRes RTM::RtcBase::rtc_set_parent RTCBase_ptr  comp  )  [virtual, inherited]
 

[CORBA interface] 親コンポーネントをセットする

親コンポーネントのオブジェクトリファレンスをセットする。

virtual RtmRes RTM::RtcBase::rtc_start  )  throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition) [virtual, inherited]
 

[CORBA interface] コンポーネントのアクティブ化

コンポーネントの状態を READY から ACTIVE に遷移させる。 このオペレーションを発行するとき、コンポーネントは READY 状態でなければ ならない。他の状態の場合には IllegalTransition 例外が発生する。

virtual RtmRes RTM::RtcBase::rtc_start_thread  )  [virtual, inherited]
 

[CORBA interface] アクティビティスレッドのスタート

コンポーネントアクティビティの内部スレッドをスタートさせる

virtual RtmRes RTM::RtcCompositeBase::rtc_starting_entry  )  [inline, protected, virtual]
 

This method will be called and move to Active state immediately.

Starting state. entry: starting() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual OutPort_ptr RTM::RtcBase::rtc_state  )  [virtual, inherited]
 

[CORBA interface] アクティビティステータスのOutPortの取得

アクティビティステータスのOutPortのオブジェクトリファレンスを取得する。

virtual RtmRes RTM::RtcBase::rtc_stop  )  throw (CORBA::SystemException, RTM::RTComponent::IllegalTransition) [virtual, inherited]
 

[CORBA interface] コンポーネントの非アクティブ化

コンポーネントの状態を ACTIVE から READY に遷移させる。 このオペレーションを発行するとき、コンポーネントは ACTIVE 状態でなければ ならない。他の状態の場合には IllegalTransition 例外が発生する。

virtual RtmRes RTM::RtcBase::rtc_stop_thread  )  [virtual, inherited]
 

[CORBA interface] アクティビティスレッドのストップ

コンポーネントアクティビティの内部スレッドをストップさせる

virtual RtmRes RTM::RtcCompositeBase::rtc_stopping_entry  )  [inline, protected, virtual]
 

This method will be called and move to Ready state immediately.

Stopping state. entry: stopping() method.

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual RtmRes RTM::RtcBase::rtc_suspend_thread  )  [virtual, inherited]
 

[CORBA interface] アクティビティスレッドのサスペンド

コンポーネントアクティビティの内部スレッドをサスペンドさせる

virtual RtmRes RTM::RtcBase::rtc_worker  )  [virtual, inherited]
 

[CORBA interface] メインアクティビティのメソッド

コンポーネントのアクティビティの本体はこのメソッドを周期実行することに より処理される。単体のコンポーネントでは内部的なスレッドによりこのメソ ッドを周期呼出することで処理を行っている。 スレッドを停止させ、外部からこのオペレーションを呼び出すことにより、任 意のタイミングでアクティビティを実行することも出来る。

virtual string RTM::RtcBase::setComponentName int  num  )  [virtual, inherited]
 

コンポーネント名をセットする

コンポーネントのモジュール名に引数で与えられる数字を付加した コンポーネント名を返す。 ユーザはこのメソッドをオーバーライドして、コンポーネント名の命名 方法をカスタマイズすることが出来る。

引数:
num コンポーネントのインスタンス番号

void RTM::RtcBase::setNamingPolicy NamingPolicy  policy  )  [inherited]
 

virtual int RTM::RtcCompositeBase::svc void   )  [inline, virtual]
 

------------------------------------------------------------ Run by a daemon thread to handle deferred processing ACE_Task class method over ride. ------------------------------------------------------------

RTM::RtcBaseを再定義しています。

RTM::RtcSyncCompositeで再定義されています。

virtual char* RTM::RtcBase::version  )  [virtual, inherited]
 

[CORBA interface] version の取得

コンポーネントのバージョンを取得する。

void RTM::RtcBase::writeAllOutPorts  )  [inherited]
 

全ての OutPort のデータ書き出し.

全てのOutPortに対して OutPort::write() を実行。予めバインドされた変数の 値をサブスクライバに書き出すためのバッファに書き込まれる。 変数にバインドされていないInPortでは何も起こらない。


変数

StateFunc RTM::RtcBase::_do_func[11] [protected, inherited]
 

アクティビティの do 関数テーブル

StateFunc RTM::RtcBase::_entry_func[11] [protected, inherited]
 

アクティビティの entry 関数テーブル

StateFunc RTM::RtcBase::_exit_func[11] [protected, inherited]
 

アクティビティの exit 関数テーブル

std::list<string> RTM::RtcBase::m_Alias [protected, inherited]
 

コンポーネント名のalias

Components RTM::RtcCompositeBase::m_Components [protected]
 

RTCConfiguration RTM::RtcCompositeBase::m_Configuration [protected]
 

ComponentStateMtx RTM::RtcBase::m_CurrentState [protected, inherited]
 

アクティビティの現在状態変数

InPorts RTM::RtcCompositeBase::m_InPorts [protected]
 

mutex 付き InPort リスト

RTM::RtcBaseを再定義しています。

RtcMedLogbuf RTM::RtcBase::m_MedLogbuf [protected, inherited]
 

ロガー仲介バッファ

NamingPolicy RTM::RtcBase::m_NamingPolicy [protected, inherited]
 

ComponentStateMtx RTM::RtcBase::m_NextState [protected, inherited]
 

アクティビティの次状態変数

OutPorts RTM::RtcCompositeBase::m_OutPorts [protected]
 

mutex 付き OutPort リスト

RTM::RtcBaseを再定義しています。

RTCBase_var RTM::RtcBase::m_Parent [protected, inherited]
 

親コンポーネントのオブジェクトリファレンス

RtcManager* RTM::RtcBase::m_pManager [protected, inherited]
 

Manager ポインタ変数.

CORBA::ORB_ptr RTM::RtcBase::m_pORB [protected, inherited]
 

ORB ポインタ変数.

PortableServer::POA_ptr RTM::RtcBase::m_pPOA [protected, inherited]
 

POA ポインタ変数.

RTCProfile RTM::RtcCompositeBase::m_Profile [protected]
 

コンポーネントプロファイル

RTM::RtcBaseを再定義しています。

OutPortAny<TimedState> RTM::RtcBase::m_StatePort [protected, inherited]
 

アクティビティ状態OutPort

ThreadState RTM::RtcBase::m_ThreadState [protected, inherited]
 

アクティビティスレッド状態変数

TimedState RTM::RtcBase::m_TimedState [protected, inherited]
 

Input port flag list アクティビティ状態変数.

const ComponentState RTM::RtcCompositeBase::RTC_ABORTING = RTM::RTComponent::RTC_ABORTING [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_ACTIVE = RTM::RTComponent::RTC_ACTIVE [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_BORN = RTM::RTComponent::RTC_BORN [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_ERROR = RTM::RTComponent::RTC_ERROR [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_EXITING = RTM::RTComponent::RTC_EXITING [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_FATAL_ERROR = RTM::RTComponent::RTC_FATAL_ERROR [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_INITIALIZING = RTM::RTComponent::RTC_INITIALIZING [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_READY = RTM::RTComponent::RTC_READY [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_STARTING = RTM::RTComponent::RTC_STARTING [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_STOPPING = RTM::RTComponent::RTC_STOPPING [static, protected]
 

const ComponentState RTM::RtcCompositeBase::RTC_UNKNOWN = RTM::RTComponent::RTC_UNKNOWN [static, protected]
 

Set component category name.

RtcLogStream RTM::RtcBase::rtcout [protected, inherited]
 

ロガーストリーム


このクラスの説明は次のファイルから生成されました:
OpenRTMに対してWed Apr 6 14:22:12 2005に生成されました。 doxygen 1.3.6