Wrapper for active objects.
More...
#include <smartManagedTask.hh>
|
| | 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_execute ()=0 |
| | user hook that is called periodically in the thread (must be implemented in derived classes) 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...
|
| |
|
| 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) |
| |
Wrapper for active objects.
◆ ManagedTask()
| SmartACE::ManagedTask::ManagedTask |
( |
Smart::IComponent * |
component, |
|
|
Smart::TaskTriggerSubject * |
trigger = 0 |
|
) |
| |
◆ ~ManagedTask()
| virtual SmartACE::ManagedTask::~ManagedTask |
( |
| ) |
|
|
virtual |
◆ on_entry()
| virtual int SmartACE::ManagedTask::on_entry |
( |
| ) |
|
|
virtual |
user hook that is called once at the beginning of the internal thread
◆ on_execute()
| virtual int SmartACE::ManagedTask::on_execute |
( |
| ) |
|
|
pure virtual |
user hook that is called periodically in the thread (must be implemented in derived classes)
Implemented in SmartACE::StateUpdateThread.
◆ on_exit()
| virtual int SmartACE::ManagedTask::on_exit |
( |
| ) |
|
|
virtual |
user hook that is called once at the end of the thread
The documentation for this class was generated from the following file: