Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::FunctorWithArgumentT< ClassType, ArgType > Class Template Reference

Public Types

typedef void(ClassType::* FuncPtr) (ArgType)
 Type of the method pointer.

Public Member Functions

 FunctorWithArgumentT (ClassType *object, FuncPtr funcptr)
 Constructor.
Public Member Functions inherited from Arcane::IFunctorWithArgumentT< ArgType >
virtual ~IFunctorWithArgumentT ()
 Releases resources.

Protected Member Functions

void executeFunctor (ArgType arg)
 Executes the associated method.
Protected Member Functions inherited from Arcane::IFunctorWithArgumentT< ArgType >
 IFunctorWithArgumentT (const IFunctorWithArgumentT< ArgType > &rhs)=default
IFunctorWithArgumentT< ArgType > & operator= (const IFunctorWithArgumentT< ArgType > &rhs)=default

Detailed Description

template<typename ClassType, typename ArgType>
class Arcane::FunctorWithArgumentT< ClassType, ArgType >

Definition at line 74 of file arccore/src/base/arccore/base/Functor.h.

Member Typedef Documentation

◆ FuncPtr

template<typename ClassType, typename ArgType>
typedef void(ClassType::* Arcane::FunctorWithArgumentT< ClassType, ArgType >::FuncPtr) (ArgType)

Type of the method pointer.

Definition at line 79 of file arccore/src/base/arccore/base/Functor.h.

Constructor & Destructor Documentation

◆ FunctorWithArgumentT()

template<typename ClassType, typename ArgType>
Arcane::FunctorWithArgumentT< ClassType, ArgType >::FunctorWithArgumentT ( ClassType * object,
FuncPtr funcptr )
inline

Constructor.

Definition at line 84 of file arccore/src/base/arccore/base/Functor.h.

Member Function Documentation

◆ executeFunctor()

template<typename ClassType, typename ArgType>
void Arcane::FunctorWithArgumentT< ClassType, ArgType >::executeFunctor ( ArgType arg)
inlineprotectedvirtual

Executes the associated method.

Implements Arcane::IFunctorWithArgumentT< ArgType >.

Definition at line 92 of file arccore/src/base/arccore/base/Functor.h.


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