#include <CpuTask.h>

Base class to implement a CPU task all the tasks running on the CPU should inherits from this class
Public Member Functions | |
| Status * | getStatus (void) const override final |
| CpuTask (Status *status, int scheduledThread=-1) | |
| virtual | ~CpuTask ()=default |
Public Member Functions inherited from sofa::simulation::Task | |
| Task (int scheduledThread) | |
| virtual | ~Task ()=default |
| virtual MemoryAlloc | run ()=0 |
| int | getScheduledThread () const |
Additional Inherited Members | |
Public Attributes inherited from sofa::simulation::Task | |
| int | m_id |
Protected Attributes inherited from sofa::simulation::Task | |
| int | m_scheduledThread |
Static Public Member Functions inherited from sofa::simulation::Task | |
| static void * | operator new (std::size_t sz) |
| static void | operator delete (void *ptr) |
| static void | operator delete (void *ptr, std::size_t sz) |
| static void * | operator new[] (std::size_t sz)=delete |
| static Task::Allocator * | getAllocator () |
| static void | setAllocator (Task::Allocator *allocator) |
| sofa::simulation::CpuTask::CpuTask | ( | CpuTask::Status * | status, |
| int | scheduledThread = -1 |
||
| ) |
|
virtualdefault |
|
finaloverridevirtual |
Implements sofa::simulation::Task.