Functor associated with a method of a class T. More...
Public Types | |
| typedef void(T::* | FuncPtr) () |
| Type of the method pointer. | |
Public Member Functions | |
| FunctorT (T *object, FuncPtr funcptr) | |
| Constructor. | |
| Public Member Functions inherited from Arcane::IFunctor | |
| virtual | ~IFunctor () |
| Releases resources. | |
Protected Member Functions | |
| void | executeFunctor () override |
| Executes the associated method. | |
Private Attributes | |
| FuncPtr | m_function |
| Pointer to the associated method. | |
| T * | m_object |
| Associated object. | |
Functor associated with a method of a class T.
Definition at line 35 of file arccore/src/base/arccore/base/Functor.h.
| typedef void(T::* Arcane::FunctorT< T >::FuncPtr) () |
Type of the method pointer.
Definition at line 40 of file arccore/src/base/arccore/base/Functor.h.
|
inline |
Constructor.
Definition at line 45 of file arccore/src/base/arccore/base/Functor.h.
References m_function, and m_object.
|
inlineoverride |
Definition at line 50 of file arccore/src/base/arccore/base/Functor.h.
|
inlineoverrideprotectedvirtual |
Executes the associated method.
Implements Arcane::IFunctor.
Definition at line 55 of file arccore/src/base/arccore/base/Functor.h.
References m_function, and m_object.
|
private |
Pointer to the associated method.
Definition at line 62 of file arccore/src/base/arccore/base/Functor.h.
Referenced by executeFunctor(), and FunctorT().
|
private |
Associated object.
Definition at line 63 of file arccore/src/base/arccore/base/Functor.h.
Referenced by executeFunctor(), and FunctorT().