Public Member Functions | |
| OneTBBTask (ITaskFunctor *f) | |
| OneTBBTaskFunctor | taskFunctor () |
| void | launchAndWait () override |
| Launches the task and blocks until it finishes. | |
| void | launchAndWait (ConstArrayView< ITask * > tasks) override |
| Launches the child tasks tasks and blocks until they finish. | |
| void | launch () override |
| Method allowing to launch the task. | |
| void | wait () override |
| Method allowing to wait the end of the task. | |
Public Attributes | |
| ITaskFunctor * | m_functor = nullptr |
| FixedArray< char, FUNCTOR_CLASS_SIZE > | m_functor_buf |
| Ref< tbb::task_group > | m_task_group |
Static Public Attributes | |
| static const int | FUNCTOR_CLASS_SIZE = 32 |
Protected Member Functions | |
| ITask * | _createChildTask (ITaskFunctor *functor) override |
Definition at line 305 of file TBBTaskImplementation.cc.
|
inlineexplicit |
Definition at line 314 of file TBBTaskImplementation.cc.
|
overrideprotectedvirtual |
Implements Arcane::ITask.
Definition at line 1351 of file TBBTaskImplementation.cc.
|
overridevirtual |
Method allowing to launch the task.
\warming You must call wait() to delete this object! No warning will be displayed if you forgot to do so.
Implements Arcane::ITask.
Definition at line 1326 of file TBBTaskImplementation.cc.
References Arcane::makeRef().
|
overridevirtual |
Launches the task and blocks until it finishes.
After calling this function, the task is destroyed and must not be used again.
Implements Arcane::ITask.
Definition at line 1291 of file TBBTaskImplementation.cc.
|
overridevirtual |
Launches the child tasks tasks and blocks until they finish.
Implements Arcane::ITask.
Definition at line 1303 of file TBBTaskImplementation.cc.
References Arcane::ConstArrayView< T >::size().
|
inline |
Definition at line 322 of file TBBTaskImplementation.cc.
|
overridevirtual |
Method allowing to wait the end of the task.
This method must be called after launch() method.
Implements Arcane::ITask.
Definition at line 1338 of file TBBTaskImplementation.cc.
|
static |
Definition at line 310 of file TBBTaskImplementation.cc.
| ITaskFunctor* Arcane::OneTBBTask::m_functor = nullptr |
Definition at line 335 of file TBBTaskImplementation.cc.
| FixedArray<char, FUNCTOR_CLASS_SIZE> Arcane::OneTBBTask::m_functor_buf |
Definition at line 336 of file TBBTaskImplementation.cc.
| Ref<tbb::task_group> Arcane::OneTBBTask::m_task_group |
Definition at line 337 of file TBBTaskImplementation.cc.