|
Blender V4.3
|
Public Member Functions | |
| Task (TaskPool *pool, TaskRunFunction run, void *taskdata, bool free_taskdata, TaskFreeFunction freedata) | |
| ~Task () | |
| Task (Task &&other) | |
| Task (const Task &other)=delete | |
| Task & | operator= (const Task &other)=delete |
| Task & | operator= (Task &&other)=delete |
| void | operator() () const |
Public Attributes | |
| TaskPool * | pool |
| TaskRunFunction | run |
| void * | taskdata |
| bool | free_taskdata |
| TaskFreeFunction | freedata |
Unit of work to execute. This is a C++ class to work with TBB.
Definition at line 34 of file task_pool.cc.
|
inline |
Definition at line 42 of file task_pool.cc.
|
inline |
Definition at line 51 of file task_pool.cc.
References free_taskdata, freedata, MEM_freeN(), pool, and taskdata.
|
inline |
Definition at line 67 of file task_pool.cc.
|
delete |
| void Task::operator() | ( | ) | const |
Definition at line 169 of file task_pool.cc.
| bool Task::free_taskdata |
Definition at line 39 of file task_pool.cc.
Referenced by ~Task().
| TaskFreeFunction Task::freedata |
Definition at line 40 of file task_pool.cc.
Referenced by ~Task().
| TaskPool* Task::pool |
Definition at line 36 of file task_pool.cc.
Referenced by operator()(), and ~Task().
| TaskRunFunction Task::run |
Definition at line 37 of file task_pool.cc.
Referenced by operator()().
| void* Task::taskdata |
Definition at line 38 of file task_pool.cc.
Referenced by operator()(), and ~Task().