#include <ArFunctor.h>
Inheritance diagram for ArRetFunctor2C< Ret, T, P1, P2 >:
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 2113 of file ArFunctor.h.
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 |
|
Constructor - supply function pointer.
Definition at line 2124 of file ArFunctor.h. |
|
Constructor - supply function pointer, default parameters.
Definition at line 2132 of file ArFunctor.h. |
|
Constructor - supply function pointer, default parameters.
Definition at line 2141 of file ArFunctor.h. |
|
Constructor - supply function pointer.
Definition at line 2148 of file ArFunctor.h. |
|
Constructor - supply function pointer, default parameters.
Definition at line 2156 of file ArFunctor.h. |
|
Constructor - supply function pointer, default parameters.
Definition at line 2165 of file ArFunctor.h. |
|
Invokes the functor with return value.
Implements ArRetFunctor2< Ret, P1, P2 >. Definition at line 2185 of file ArFunctor.h. |
|
Invokes the functor with return value.
Implements ArRetFunctor2< Ret, P1, P2 >. Definition at line 2178 of file ArFunctor.h. |
|
Set the default parameter.
Definition at line 2203 of file ArFunctor.h. |
|
Set the default 2nd parameter.
Definition at line 2209 of file ArFunctor.h. |
|
Set the 'this' pointer.
Definition at line 2197 of file ArFunctor.h. |
|
Set the 'this' pointer.
Definition at line 2191 of file ArFunctor.h. |