Functor for a task taking a TaskContext as an argument. More...
Public Types | |
| typedef void(InstanceType::* | FunctorType) (const TaskContext &tc) |
Public Member Functions | |
| TaskFunctorWithContext (InstanceType *instance, FunctorType func) | |
| void | executeFunctor (const TaskContext &tc) override |
| Executes the associated method. | |
| ITaskFunctor * | clone (void *buffer, Integer size) override |
Private Attributes | |
| InstanceType * | m_instance = nullptr |
| FunctorType | m_function |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::ITaskFunctor | |
| ITaskFunctor (const ITaskFunctor &)=default | |
Functor for a task taking a TaskContext as an argument.
| typedef void(InstanceType::* Arcane::TaskFunctorWithContext< InstanceType >::FunctorType) (const TaskContext &tc) |
|
inline |
|
inlineoverridevirtual |
Implements Arcane::ITaskFunctor.
|
inlineoverridevirtual |
Executes the associated method.
Implements Arcane::ITaskFunctor.
|
private |
|
private |