19 #ifndef RTC_EXECUTIONCONTEXTPROFILE_H 20 #define RTC_EXECUTIONCONTEXTPROFILE_H 27 #include <rtm/idl/RTCStub.h> 31 #pragma warning( disable : 4290 ) 119 void setObjRef(RTC::ExecutionContextService_ptr ec_ptr);
140 RTC::ExecutionContextService_ptr
getObjRef(
void)
const;
175 RTC::ReturnCode_t
setRate(
double rate);
176 RTC::ReturnCode_t
setPeriod(
double period);
248 RTC::ReturnCode_t
setKind(RTC::ExecutionKind kind);
269 RTC::ExecutionKind
getKind(
void)
const;
306 const RTC::RTObject_ptr
getOwner()
const;
467 RTC::ExecutionContextProfile*
getProfile(
void);
486 const RTC::ExecutionContextProfile&
getProfile(
void)
const;
538 RTC::ExecutionContextProfile m_profile;
565 RTC::ExecutionContextService_var m_ref;
567 class find_participant
569 RTC::RTObject_var m_comp;
571 find_participant(RTC::RTObject_ptr comp)
572 : m_comp(RTC::RTObject::_duplicate(comp)) {}
573 bool operator()(RTC::RTObject_ptr comp)
575 return m_comp->_is_equivalent(comp);
582 #pragma warning( default : 4290 ) 585 #endif // RTC_EXECUTIONCONTEXTPROFILE_H RTC::ExecutionContextService_ptr getObjRef(void) const
CORBA オブジェクト参照の取得
RTC::ExecutionKind getKind(void) const
ExecutionKind を取得する
Mutex クラス
Definition: Mutex.h:40
RT component logger class.
Definition: ExecutionContextProfile.h:34
const RTC::RTObject_ptr getOwner() const
Ownerコンポーネントの参照を取得する
RTC::ReturnCode_t removeComponent(RTC::LightweightRTObject_ptr comp)
RTコンポーネントを参加者リストから削除する
TimeValue クラス
Definition: TimeValue.h:40
const coil::Properties getProperties() const
Propertiesを取得する
double getRate(void) const
ExecutionContext の実行周期(Hz)を取得する
ExecutionContextProfile(RTC::ExecutionKind kind=RTC::PERIODIC)
デフォルトコンストラクタ
const char * getKindString() const
Definition: ExecutionContextProfile.h:225
RTC::ExecutionContextProfile * getProfile(void)
Profileを取得する
Logger クラス
Definition: SystemLogger.h:99
RTC::ReturnCode_t setOwner(RTC::LightweightRTObject_ptr comp)
Ownerコンポーネントをセットする。
RTC::ReturnCode_t setKind(RTC::ExecutionKind kind)
ExecutionKind を設定する
プロパティセットを表現するクラス
Definition: Properties.h:101
ExecutionContextProfile クラス
Definition: ExecutionContextProfile.h:56
coil::TimeValue getPeriod(void) const
void setProperties(coil::Properties &props)
Propertiesをセットする
void setObjRef(RTC::ExecutionContextService_ptr ec_ptr)
CORBA オブジェクト参照のセット
void lock() const
ExecutionContextProfileをロックする
Property list class (derived from Java Properties)
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
const RTC::RTCList & getComponentList() const
RTコンポーネントの参加者リストを取得する
virtual ~ExecutionContextProfile(void)
デストラクタ
RTC::ReturnCode_t addComponent(RTC::LightweightRTObject_ptr comp)
RTコンポーネントを追加する
void unlock() const
ExecutionContextProfileをアンロックする
RTC::ReturnCode_t setRate(double rate)
ExecutionContext の実行周期(Hz)を設定する
RTC::ReturnCode_t setPeriod(double period)