FunctorWithAddress associated with a method of a class T. More...
#include <arcane/utils/FunctorWithAddress.h>
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 () |
| Returns the address of the associated method. | |
FunctorWithAddress associated with a method of a class T.
Definition at line 33 of file FunctorWithAddress.h.
| typedef void(T::* Arcane::FunctorWithAddressT< T >::FuncPtr) () |
Type of the method pointer.
Definition at line 38 of file FunctorWithAddress.h.
|
inline |
Constructor.
Definition at line 43 of file FunctorWithAddress.h.
References m_function, and m_object.
|
inlinevirtual |
Definition at line 49 of file FunctorWithAddress.h.
|
inlineprotectedvirtual |
Executes the associated method.
Implements Arcane::IFunctor.
Definition at line 54 of file FunctorWithAddress.h.
References m_function, and m_object.
|
inlineprotectedvirtual |
Returns the address of the associated method.
Implements Arcane::IFunctorWithAddress.
Definition at line 65 of file FunctorWithAddress.h.
References m_function, and m_object.
| FuncPtr Arcane::FunctorWithAddressT< T >::m_function |
Pointer to the associated method.
Definition at line 99 of file FunctorWithAddress.h.
Referenced by executeFunctor(), functorAddress(), and FunctorWithAddressT().
| T* Arcane::FunctorWithAddressT< T >::m_object |
Associated object.
Definition at line 100 of file FunctorWithAddress.h.
Referenced by executeFunctor(), functorAddress(), and FunctorWithAddressT().