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