|
Blender V5.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 41 of file task_pool.cc.
|
inline |
Definition at line 49 of file task_pool.cc.
References free_taskdata, freedata, pool, run, and taskdata.
Referenced by operator=(), operator=(), Task(), and Task().
|
inline |
Definition at line 58 of file task_pool.cc.
References free_taskdata, freedata, blender::MEM_delete_void(), pool, and taskdata.
|
inline |
Definition at line 74 of file task_pool.cc.
References free_taskdata, freedata, pool, run, Task(), and taskdata.
|
delete |
References Task().
| void blender::Task::operator() | ( | ) | const |
Definition at line 118 of file task_pool.cc.
References pool, run, and taskdata.
Referenced by operator=().
References operator()(), and Task().
| bool blender::Task::free_taskdata |
Definition at line 46 of file task_pool.cc.
| TaskFreeFunction blender::Task::freedata |
Definition at line 47 of file task_pool.cc.
| TaskPool* blender::Task::pool |
Definition at line 43 of file task_pool.cc.
Referenced by operator()(), Task(), Task(), and ~Task().
| TaskRunFunction blender::Task::run |
Definition at line 44 of file task_pool.cc.
Referenced by operator()(), Task(), and Task().
| void* blender::Task::taskdata |
Definition at line 45 of file task_pool.cc.
Referenced by operator()(), Task(), Task(), and ~Task().