|
Simpatico
v1.10
|
Functor that wraps a one-argument class member function.
The constructor to MethodFunctor<T> takes pointers to an invoking instance of class Object and a member function that takes one T argument. The operator () (const T&) invokes that method on that object.
Definition at line 26 of file MethodFunctor.h.
#include <MethodFunctor.h>
Public Member Functions | |
| MethodFunctor (Object &object, Method1Ptr methodPtr) | |
| Constructor. More... | |
| virtual | ~MethodFunctor () |
| Destructor. More... | |
| virtual void | operator() (const T &t) |
| Operator (). More... | |
Public Member Functions inherited from Util::IFunctor< T > | |
| virtual | ~IFunctor () |
| Destructor (virtual) More... | |
|
inline |
Constructor.
| object | invoking object |
| methodPtr | pointer to member function |
Definition at line 38 of file MethodFunctor.h.
|
inlinevirtual |
Destructor.
Definition at line 46 of file MethodFunctor.h.
|
inlinevirtual |
Operator ().
| t | Parameter passed to method of associated T object. |
Implements Util::IFunctor< T >.
Definition at line 53 of file MethodFunctor.h.
1.8.11