#include <PeriodicExecutionContext.h>
Public Member Functions | |
PeriodicExecutionContext (DataFlowComponent_ptr owner, double rate=0.0) | |
virtual | ~PeriodicExecutionContext () |
ExecutionContextService_ptr | getRef () |
virtual int | open (void *args) |
Create internal activity thread. | |
virtual int | svc (void) |
Create internal activity thread. | |
virtual int | close (unsigned long flags) |
Close activity thread. | |
virtual CORBA::Boolean | is_running () |
virtual ReturnCode_t | start () |
virtual ReturnCode_t | stop () |
virtual CORBA::Double | get_rate () |
virtual ReturnCode_t | set_rate (CORBA::Double rate) |
virtual ReturnCode_t | activate_component (LightweightRTObject_ptr comp) |
virtual ReturnCode_t | deactivate_component (LightweightRTObject_ptr comp) |
virtual ReturnCode_t | reset_component (LightweightRTObject_ptr comp) |
virtual LifeCycleState | get_component_state (LightweightRTObject_ptr comp) |
virtual ExecutionKind | get_kind () |
virtual ReturnCode_t | add (LightweightRTObject_ptr comp) |
virtual ReturnCode_t | remove (LightweightRTObject_ptr comp) |
virtual ExecutionContextProfile * | get_profile () |
Protected Types | |
typedef LifeCycleState | ExecContextState |
typedef StateHolder< ExecContextState > | ECStates |
typedef std::vector< Comp >::iterator | CompItr |
Protected Attributes | |
std::vector< Comp > | m_comps |
bool | m_running |
ExecutionContextProfile | m_profile |
long int | m_usec |
ExecutionContextService_var | m_ref |
Classes | |
struct | Comp |
class | DFP |
class | DFPBase |
struct | find_comp |
struct | invoke_on_rate_changed |
struct | invoke_on_shutdown |
struct | invoke_on_startup |
struct | invoke_worker |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Close activity thread. close() method is called when activity thread svc() is returned. This method deactivate this object and notify it to manager. ACE_Task class method override. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create internal activity thread. Create internal activity thread. This is ACE_Task class method over ride.
|
|
|
|
|
|
|
|
|
|
|
|
Create internal activity thread. Run by a daemon thread to handle deferred processing. ACE_Task class method override. |
|
|
|
|
|
|
|
|
|
|