#include <hrpEC.h>
Public Member Functions | |
void | activate () |
bool | enterRT () |
bool | exitRT () |
OpenHRP::ExecutionProfileService::ComponentProfile | getComponentProfile (RTC::LightweightRTObject_ptr obj) |
OpenHRP::ExecutionProfileService::Profile * | getProfile () |
hrpExecutionContext () | |
void | resetProfile () |
virtual int | svc (void) |
bool | waitForNextPeriod () |
virtual | ~hrpExecutionContext () |
Public Member Functions inherited from RTC::PeriodicExecutionContext | |
virtual ReturnCode_t | activate_component (LightweightRTObject_ptr comp) |
virtual ReturnCode_t | add_component (LightweightRTObject_ptr comp) |
virtual RTC::ReturnCode_t | bindComponent (RTObject_impl *rtc) |
virtual int | close (unsigned long flags) |
virtual ReturnCode_t | deactivate_component (LightweightRTObject_ptr comp) |
virtual LifeCycleState | get_component_state (LightweightRTObject_ptr comp) |
virtual ExecutionKind | get_kind (void) |
virtual ExecutionContextProfile * | get_profile (void) |
virtual CORBA::Double | get_rate (void) |
virtual ExecutionContextService_ptr | getObjRef (void) |
virtual CORBA::Boolean | is_running (void) |
virtual int | open (void *args) |
PeriodicExecutionContext () | |
PeriodicExecutionContext (OpenRTM::DataFlowComponent_ptr owner, double rate=1000.0) | |
virtual ReturnCode_t | remove_component (LightweightRTObject_ptr comp) |
virtual ReturnCode_t | reset_component (LightweightRTObject_ptr comp) |
virtual ReturnCode_t | set_rate (CORBA::Double rate) |
virtual ReturnCode_t | start (void) |
virtual ReturnCode_t | stop (void) |
virtual | ~PeriodicExecutionContext (void) |
Public Member Functions inherited from RTC::ExecutionContextBase | |
virtual void | tick () |
virtual | ~ExecutionContextBase (void) |
Public Member Functions inherited from coil::Task | |
virtual void | finalize () |
virtual void | finalize () |
virtual void | reset () |
virtual void | reset () |
virtual int | resume (void) |
virtual int | resume (void) |
virtual int | suspend (void) |
virtual int | suspend (void) |
Task () | |
Task () | |
virtual int | wait (void) |
virtual int | wait (void) |
virtual | ~Task () |
virtual | ~Task () |
Private Member Functions | |
template<class T > | |
void | getProperty (coil::Properties &prop, const char *key, T &value) |
void | printRTCProcessingTime (std::vector< double > &processes) |
int | svc_wrapped (void) |
Private Attributes | |
int | m_cpu |
int | m_priority |
OpenHRP::ExecutionProfileService::Profile | m_profile |
volatile bool | m_thread_pending |
struct timeval | m_tv |
std::vector< std::string > | rtc_names |
Additional Inherited Members | |
Static Public Member Functions inherited from coil::Task | |
static void * | svc_run (void *args=0) |
static unsigned int WINAPI | svc_run (void *args=0) |
Protected Types inherited from RTC::PeriodicExecutionContext | |
typedef std::vector< Comp >::iterator | CompItr |
typedef RTC_Utils::StateHolder< ExecContextState > | ECStates |
typedef LifeCycleState | ExecContextState |
Protected Attributes inherited from RTC::PeriodicExecutionContext | |
std::vector< Comp > | m_comps |
bool | m_nowait |
coil::TimeValue | m_period |
ExecutionContextProfile | m_profile |
coil::Mutex | m_profileMutex |
ExecutionContextService_var | m_ref |
bool | m_running |
bool | m_svc |
Worker | m_worker |
Logger | rtclog |
RTC::hrpExecutionContext::hrpExecutionContext | ( | ) |
Definition at line 10 of file hrpEC-art.cpp.
|
virtual |
Definition at line 12 of file hrpEC-common.cpp.
|
virtual |
Reimplemented from coil::Task.
Definition at line 203 of file hrpEC-common.cpp.
bool RTC::hrpExecutionContext::enterRT | ( | ) |
Definition at line 37 of file hrpEC-art.cpp.
bool RTC::hrpExecutionContext::exitRT | ( | ) |
Definition at line 47 of file hrpEC-art.cpp.
OpenHRP::ExecutionProfileService::ComponentProfile RTC::hrpExecutionContext::getComponentProfile | ( | RTC::LightweightRTObject_ptr | obj | ) |
Definition at line 186 of file hrpEC-common.cpp.
OpenHRP::ExecutionProfileService::Profile * RTC::hrpExecutionContext::getProfile | ( | ) |
Definition at line 178 of file hrpEC-common.cpp.
|
inlineprivate |
|
inlineprivate |
void RTC::hrpExecutionContext::resetProfile | ( | ) |
Definition at line 209 of file hrpEC-common.cpp.
Reimplemented from RTC::PeriodicExecutionContext.
Definition at line 18 of file hrpEC-common.cpp.
Definition at line 24 of file hrpEC-common.cpp.
bool RTC::hrpExecutionContext::waitForNextPeriod | ( | ) |
Definition at line 25 of file hrpEC-art.cpp.
|
private |
|
private |
|
private |