#include <Task.h>
Task class interface
Classes | |
class | Allocator |
Task Allocator class interface used to allocate tasks. More... | |
class | Status |
Task Status class interface used to synchronize tasks. More... | |
Public Attributes | |
int | m_id |
Protected Attributes | |
int | m_scheduledThread |
Public Member Functions | |
Task (int scheduledThread) | |
virtual | ~Task ()=default |
virtual MemoryAlloc | run ()=0 |
virtual Task::Status * | getStatus (void) const =0 |
int | getScheduledThread () const |
Static Public Member Functions | |
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) |
int sofa::simulation::Task::m_id |
|
protected |
sofa::simulation::Task::Task | ( | int | scheduledThread | ) |
|
virtualdefault |
|
static |
int sofa::simulation::Task::getScheduledThread | ( | ) | const |
|
pure virtual |
Implemented in sofa::simulation::CpuTask.
|
static |
|
static |
|
static |
|
staticdelete |
|
pure virtual |
Implemented in sofa::simulation::InitPerThreadDataTask, and sofa::simulation::SolveVisitorTask.
|
static |