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

Public Types

typedef void(InstanceType::* FunctorType) ()

Public Member Functions

 TaskFunctor (InstanceType *instance, FunctorType func)
 TaskFunctor (const TaskFunctor &rhs)=default
TaskFunctor & operator= (const TaskFunctor &rhs)=delete
void executeFunctor (const TaskContext &) 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::TaskFunctor< InstanceType >

Definition at line 102 of file Task.h.

Member Typedef Documentation

◆ FunctorType

template<typename InstanceType>
typedef void(InstanceType::* Arcane::TaskFunctor< InstanceType >::FunctorType) ()

Definition at line 107 of file Task.h.

Constructor & Destructor Documentation

◆ TaskFunctor()

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

Definition at line 111 of file Task.h.

Member Function Documentation

◆ clone()

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

Implements Arcane::ITaskFunctor.

Definition at line 126 of file Task.h.

◆ executeFunctor()

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

Executes the associated method.

Implements Arcane::ITaskFunctor.

Definition at line 122 of file Task.h.


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