AceSmartSoft API Documentation
|
#include <smartState.hh>
Public Member Functions | |
StateUpdateThread (SmartACE::SmartComponent *component) | |
~StateUpdateThread () | |
void | init (StateSlave *, SmartSemaphore *) |
virtual int | on_execute () |
user hook that is called periodically in the thread (must be implemented in derived classes) More... | |
void | halt () |
![]() | |
ManagedTask (Smart::IComponent *component, Smart::TaskTriggerSubject *trigger=0) | |
default constructor More... | |
virtual | ~ManagedTask () |
default destructor More... | |
virtual int | on_entry () |
user hook that is called once at the beginning of the internal thread More... | |
virtual int | on_exit () |
user hook that is called once at the end of the thread More... | |
![]() | |
Task (Smart::IComponent *component=0) | |
Constructor. More... | |
virtual | ~Task () |
Destructor. More... | |
virtual int | start () |
Creates and starts a new thread (if not yet started) More... | |
virtual int | start (const ACE_Sched_Params &sched_params, const int &cpuAffinity=-1) |
control method to start the internal thread using given scheduling parameters More... | |
virtual int | stop (const bool wait_till_stopped=true) |
Closes currently active thread (if it was started before) More... | |
Additional Inherited Members | |
![]() | |
virtual bool | test_canceled () |
Tests whether the thread has been signaled to stop. More... | |
virtual void | sleep_for (const Smart::Duration &rel_time) |
Blocks execution of the calling thread during the span of time specified by rel_time. More... | |
virtual int | svc (void) |
implements ACE_Task<ACE_MT_SYNCH> More... | |
int | setCpuAffinity (const int &cpuCore) |
int | setSchedParams (const ACE_Sched_Params &sched_params) |
|
inline |
|
inline |
void SmartACE::StateUpdateThread::halt | ( | ) |
void SmartACE::StateUpdateThread::init | ( | StateSlave * | , |
SmartSemaphore * | |||
) |
|
virtual |
user hook that is called periodically in the thread (must be implemented in derived classes)
Implements SmartACE::ManagedTask.