#include <ArFunctor.h>
Inheritance diagram for ArRetFunctor2C< Ret, T, P1, P2 >:

Public Member Functions | |
| ArRetFunctor2C (T *obj, Ret(T::*func)(P1, P2), P1 p1, P2 p2) | |
| Constructor - supply function pointer, default parameters. | |
| ArRetFunctor2C (T *obj, Ret(T::*func)(P1, P2), P1 p1) | |
| Constructor - supply function pointer, default parameters. | |
| ArRetFunctor2C (T *obj, Ret(T::*func)(P1, P2)) | |
| Constructor - supply function pointer. | |
| ArRetFunctor2C (T &obj, Ret(T::*func)(P1, P2), P1 p1, P2 p2) | |
| Constructor - supply function pointer, default parameters. | |
| ArRetFunctor2C (T &obj, Ret(T::*func)(P1, P2), P1 p1) | |
| Constructor - supply function pointer, default parameters. | |
| ArRetFunctor2C (T &obj, Ret(T::*func)(P1, P2)) | |
| Constructor - supply function pointer. | |
| ArRetFunctor2C () | |
| Constructor. | |
| virtual Ret | invokeR (P1 p1, P2 p2) |
| Invokes the functor with return value. | |
| virtual Ret | invokeR (P1 p1) |
| Invokes the functor with return value. | |
| virtual Ret | invokeR (void) |
| Invokes the functor with return value. | |
| virtual void | setP1 (P1 p1) |
| Set the default parameter. | |
| virtual void | setP2 (P2 p2) |
| Set the default 2nd parameter. | |
| virtual void | setThis (T &obj) |
| Set the 'this' pointer. | |
| virtual void | setThis (T *obj) |
| Set the 'this' pointer. | |
| virtual | ~ArRetFunctor2C () |
| Destructor. | |
Protected Attributes | |
| Ret(T::* | myFunc )(P1, P2) |
| T * | myObj |
| P1 | myP1 |
| P2 | myP2 |
This is a class for member functions which take 2 parameters and return a value. This class contains the knowledge on how to call a member function on a particular instance of a class. This class should be instantiated by code that wishes to pass off a functor to another piece of code.
For an overall description of functors, see ArFunctor.
Definition at line 2110 of file ArFunctor.h.
|
||||||||||||||||
|
Constructor - supply function pointer.
Definition at line 2121 of file ArFunctor.h. |
|
||||||||||||||||||||
|
Constructor - supply function pointer, default parameters.
Definition at line 2129 of file ArFunctor.h. |
|
||||||||||||||||||||||||
|
Constructor - supply function pointer, default parameters.
Definition at line 2138 of file ArFunctor.h. |
|
||||||||||||||||
|
Constructor - supply function pointer.
Definition at line 2145 of file ArFunctor.h. |
|
||||||||||||||||||||
|
Constructor - supply function pointer, default parameters.
Definition at line 2153 of file ArFunctor.h. |
|
||||||||||||||||||||||||
|
Constructor - supply function pointer, default parameters.
Definition at line 2162 of file ArFunctor.h. |
|
||||||||||||||||
|
Invokes the functor with return value.
Implements ArRetFunctor2< Ret, P1, P2 >. Definition at line 2182 of file ArFunctor.h. |
|
||||||||||
|
Invokes the functor with return value.
Implements ArRetFunctor2< Ret, P1, P2 >. Definition at line 2175 of file ArFunctor.h. |
|
||||||||||
|
Set the default parameter.
Definition at line 2200 of file ArFunctor.h. |
|
||||||||||
|
Set the default 2nd parameter.
Definition at line 2206 of file ArFunctor.h. |
|
||||||||||
|
Set the 'this' pointer.
Definition at line 2194 of file ArFunctor.h. |
|
||||||||||
|
Set the 'this' pointer.
Definition at line 2188 of file ArFunctor.h. |
1.4.0