Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::FunctorWithAddressT< T > Class Template Reference

Public Types

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

Public Member Functions

 FunctorWithAddressT (T *object, FuncPtr funcptr)
 Constructor.
Public Member Functions inherited from Arcane::IFunctorWithAddress
virtual ~IFunctorWithAddress ()
 Frees resources.
Public Member Functions inherited from Arcane::IFunctor
virtual ~IFunctor ()
 Releases resources.

Public Attributes

FuncPtr m_function
 Pointer to the associated method.
T * m_object
 Associated object.

Protected Member Functions

void executeFunctor ()
 Executes the associated method.
void * functorAddress ()

Detailed Description

template<typename T>
class Arcane::FunctorWithAddressT< T >

Definition at line 33 of file FunctorWithAddress.h.

Member Typedef Documentation

◆ FuncPtr

template<typename T>
typedef void(T::* Arcane::FunctorWithAddressT< T >::FuncPtr) ()

Type of the method pointer.

Definition at line 38 of file FunctorWithAddress.h.

Constructor & Destructor Documentation

◆ FunctorWithAddressT()

template<typename T>
Arcane::FunctorWithAddressT< T >::FunctorWithAddressT ( T * object,
FuncPtr funcptr )
inline

Constructor.

Definition at line 43 of file FunctorWithAddress.h.

References m_function, and m_object.

◆ ~FunctorWithAddressT()

template<typename T>
virtual Arcane::FunctorWithAddressT< T >::~FunctorWithAddressT ( )
inlinevirtual

Definition at line 49 of file FunctorWithAddress.h.

Member Function Documentation

◆ executeFunctor()

template<typename T>
void Arcane::FunctorWithAddressT< T >::executeFunctor ( )
inlineprotectedvirtual

Executes the associated method.

Implements Arcane::IFunctor.

Definition at line 54 of file FunctorWithAddress.h.

References m_function, and m_object.

◆ functorAddress()

template<typename T>
void * Arcane::FunctorWithAddressT< T >::functorAddress ( )
inlineprotectedvirtual

Implements Arcane::IFunctorWithAddress.

Definition at line 65 of file FunctorWithAddress.h.

Member Data Documentation

◆ m_function

template<typename T>
FuncPtr Arcane::FunctorWithAddressT< T >::m_function

Pointer to the associated method.

Definition at line 99 of file FunctorWithAddress.h.

Referenced by executeFunctor(), and FunctorWithAddressT().

◆ m_object

template<typename T>
T* Arcane::FunctorWithAddressT< T >::m_object

Associated object.

Definition at line 100 of file FunctorWithAddress.h.

Referenced by executeFunctor(), and FunctorWithAddressT().


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