Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::TaskFunctorWithContext< InstanceType > Class Template Reference

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

Additional Inherited Members

Protected Member Functions inherited from Arcane::ITaskFunctor
 ITaskFunctor (const ITaskFunctor &)=default

Detailed Description

template<typename InstanceType>
class Arcane::TaskFunctorWithContext< InstanceType >

Definition at line 148 of file Task.h.

Member Typedef Documentation

◆ FunctorType

template<typename InstanceType>
typedef void(InstanceType::* Arcane::TaskFunctorWithContext< InstanceType >::FunctorType) (const TaskContext &tc)

Definition at line 153 of file Task.h.

Constructor & Destructor Documentation

◆ TaskFunctorWithContext()

template<typename InstanceType>
Arcane::TaskFunctorWithContext< InstanceType >::TaskFunctorWithContext ( InstanceType * instance,
FunctorType func )
inline

Definition at line 157 of file Task.h.

Member Function Documentation

◆ clone()

template<typename InstanceType>
ITaskFunctor * Arcane::TaskFunctorWithContext< InstanceType >::clone ( void * buffer,
Integer size )
inlineoverridevirtual

Implements Arcane::ITaskFunctor.

Definition at line 171 of file Task.h.

◆ executeFunctor()

template<typename InstanceType>
void Arcane::TaskFunctorWithContext< InstanceType >::executeFunctor ( const TaskContext & tc)
inlineoverridevirtual

Executes the associated method.

Implements Arcane::ITaskFunctor.

Definition at line 167 of file Task.h.


The documentation for this class was generated from the following files: