Aria
2.8.0
|
Base class for functors with a return value with 2 parameters. More...
#include <ArFunctor.h>
Inherits ArRetFunctor1< Ret, P1 >.
Inherited by ArConstRetFunctor2C< Ret, T, P1, P2 >, ArGlobalRetFunctor2< Ret, P1, P2 >, ArRetFunctor2C< Ret, T, P1, P2 >, and ArRetFunctor3< Ret, P1, P2, P3 >.
Public Member Functions | |
virtual Ret | invokeR (void)=0 |
Invokes the functor with return value. | |
virtual Ret | invokeR (P1 p1)=0 |
Invokes the functor with return value. More... | |
virtual Ret | invokeR (P1 p1, P2 p2)=0 |
Invokes the functor with return value. More... | |
virtual | ~ArRetFunctor2 () |
Destructor. | |
Public Member Functions inherited from ArRetFunctor1< Ret, P1 > | |
virtual | ~ArRetFunctor1 () |
Destructor. | |
Public Member Functions inherited from ArRetFunctor< Ret > | |
virtual void | invoke (void) |
Invokes the functor. | |
virtual | ~ArRetFunctor () |
Destructor. | |
Public Member Functions inherited from ArFunctor | |
virtual const char * | getName (void) |
Gets the name of the functor. | |
virtual void | setName (const char *name) |
Sets the name of the functor. | |
virtual void | setNameVar (const char *name,...) |
Sets the name of the functor with formatting. More... | |
virtual | ~ArFunctor () |
Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from ArFunctor | |
std::string | myName |
Base class for functors with a return value with 2 parameters.
This is the base class for functors with a return value and take 2 parameters. Code that has a reference to a functor that returns a value and takes 2 parameters should use this class name. This allows the code to know how to invoke the functor without knowing which class the member function is in.
For an overall description of functors, see ArFunctor.
|
pure virtual |
Invokes the functor with return value.
p1 | first parameter |
Implements ArRetFunctor1< Ret, P1 >.
Implemented in ArConstRetFunctor5C< Ret, T, P1, P2, P3, P4, P5 >, ArConstRetFunctor4C< Ret, T, P1, P2, P3, P4 >, ArConstRetFunctor3C< Ret, T, P1, P2, P3 >, ArConstRetFunctor2C< Ret, T, P1, P2 >, ArRetFunctor5C< Ret, T, P1, P2, P3, P4, P5 >, ArRetFunctor4C< Ret, T, P1, P2, P3, P4 >, ArRetFunctor3C< Ret, T, P1, P2, P3 >, ArRetFunctor3C< int, ArRobot, ArTime, ArPose *, ArPoseWithTime *>, ArRetFunctor3C< bool, ArConfig, ArArgumentBuilder *, char *, size_t >, ArRetFunctor2C< Ret, T, P1, P2 >, ArRetFunctor2C< bool, ArMap, char *, size_t >, ArRetFunctor2C< bool, ArDataLogger, char *, size_t >, ArRetFunctor2C< bool, ArSpeechSynth, const char *, const char *>, ArGlobalRetFunctor5< Ret, P1, P2, P3, P4, P5 >, ArGlobalRetFunctor4< Ret, P1, P2, P3, P4 >, ArGlobalRetFunctor3< Ret, P1, P2, P3 >, ArGlobalRetFunctor3< ArDeviceConnection *, const char *, const char *, const char *>, ArGlobalRetFunctor2< Ret, P1, P2 >, ArGlobalRetFunctor2< ArBatteryMTX *, int, const char *>, ArGlobalRetFunctor2< ArLaser *, int, const char *>, ArGlobalRetFunctor2< ArLCDMTX *, int, const char *>, ArGlobalRetFunctor2< ArSonarMTX *, int, const char *>, ArGlobalRetFunctor2< bool, const char *, const char *>, ArRetFunctor5< Ret, P1, P2, P3, P4, P5 >, ArRetFunctor4< Ret, P1, P2, P3, P4 >, ArRetFunctor3< Ret, P1, P2, P3 >, ArRetFunctor3< bool, ArArgumentBuilder *, char *, size_t >, ArRetFunctor3< int, ArTime, ArPose *, ArPoseWithTime * >, and ArRetFunctor3< ArDeviceConnection *, const char *, const char *, const char * >.
|
pure virtual |
Invokes the functor with return value.
p1 | first parameter |
p2 | second parameter |
Implemented in ArConstRetFunctor5C< Ret, T, P1, P2, P3, P4, P5 >, ArConstRetFunctor4C< Ret, T, P1, P2, P3, P4 >, ArConstRetFunctor3C< Ret, T, P1, P2, P3 >, ArConstRetFunctor2C< Ret, T, P1, P2 >, ArRetFunctor5C< Ret, T, P1, P2, P3, P4, P5 >, ArRetFunctor4C< Ret, T, P1, P2, P3, P4 >, ArRetFunctor3C< Ret, T, P1, P2, P3 >, ArRetFunctor3C< int, ArRobot, ArTime, ArPose *, ArPoseWithTime *>, ArRetFunctor3C< bool, ArConfig, ArArgumentBuilder *, char *, size_t >, ArRetFunctor2C< Ret, T, P1, P2 >, ArRetFunctor2C< bool, ArMap, char *, size_t >, ArRetFunctor2C< bool, ArDataLogger, char *, size_t >, ArRetFunctor2C< bool, ArSpeechSynth, const char *, const char *>, ArGlobalRetFunctor5< Ret, P1, P2, P3, P4, P5 >, ArGlobalRetFunctor4< Ret, P1, P2, P3, P4 >, ArGlobalRetFunctor3< Ret, P1, P2, P3 >, ArGlobalRetFunctor3< ArDeviceConnection *, const char *, const char *, const char *>, ArGlobalRetFunctor2< Ret, P1, P2 >, ArGlobalRetFunctor2< ArBatteryMTX *, int, const char *>, ArGlobalRetFunctor2< ArLaser *, int, const char *>, ArGlobalRetFunctor2< ArLCDMTX *, int, const char *>, ArGlobalRetFunctor2< ArSonarMTX *, int, const char *>, ArGlobalRetFunctor2< bool, const char *, const char *>, ArRetFunctor5< Ret, P1, P2, P3, P4, P5 >, ArRetFunctor4< Ret, P1, P2, P3, P4 >, ArRetFunctor3< Ret, P1, P2, P3 >, ArRetFunctor3< bool, ArArgumentBuilder *, char *, size_t >, ArRetFunctor3< int, ArTime, ArPose *, ArPoseWithTime * >, and ArRetFunctor3< ArDeviceConnection *, const char *, const char *, const char * >.