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
Get the reference to the CORBA object.
RTC::ExecutionKind getKind(void) const
Get the ExecutionKind.
Mutex class.
Definition: Mutex.h:40
RT component logger class.
Definition: ExecutionContextProfile.h:34
const RTC::RTObject_ptr getOwner() const
Getting a reference of the owner component.
RTC::ReturnCode_t removeComponent(RTC::LightweightRTObject_ptr comp)
Remove the RT-Component from participant list.
TimeValue class.
Definition: TimeValue.h:40
const coil::Properties getProperties() const
Setting Properties.
double getRate(void) const
Get execution rate(Hz) of ExecutionContext.
ExecutionContextProfile(RTC::ExecutionKind kind=RTC::PERIODIC)
Default Constructor.
const char * getKindString() const
Definition: ExecutionContextProfile.h:225
RTC::ExecutionContextProfile * getProfile(void)
Getting Profile.
Logger class.
Definition: SystemLogger.h:99
RTC::ReturnCode_t setOwner(RTC::LightweightRTObject_ptr comp)
Setting owner component of the execution context.
RTC::ReturnCode_t setKind(RTC::ExecutionKind kind)
Set the ExecutionKind.
Class represents a set of properties.
Definition: Properties.h:101
ExecutionContextProfile class.
Definition: ExecutionContextProfile.h:56
coil::TimeValue getPeriod(void) const
void setProperties(coil::Properties &props)
Setting Properties.
void setObjRef(RTC::ExecutionContextService_ptr ec_ptr)
Setting a CORBA object reference.
void lock() const
Getting a lock of RTC::ExecutionContextProfile.
Property list class (derived from Java Properties)
RTC::LightweightRTObject_ptr LightweightRTObject_ptr
Definition: ExecutionContextWorker.h:43
const RTC::RTCList & getComponentList() const
Getting participant RTC list.
virtual ~ExecutionContextProfile(void)
Destructor.
RTC::ReturnCode_t addComponent(RTC::LightweightRTObject_ptr comp)
Add an RT-component.
void unlock() const
Release a lock of the RTC::ExecutionContextProfile.
RTC::ReturnCode_t setRate(double rate)
Set execution rate(Hz) of ExecutionContext.
RTC::ReturnCode_t setPeriod(double period)