Aria
2.8.0
|
Base class for functors with 2 parameters. More...
#include <ArFunctor.h>
Inherits ArFunctor1< P1 >.
Inherited by ArConstFunctor2C< T, P1, P2 >, ArFunctor2C< T, P1, P2 >, ArFunctor3< P1, P2, P3 >, and ArGlobalFunctor2< P1, P2 >.
Public Member Functions | |
virtual void | invoke (void)=0 |
Invokes the functor. | |
virtual void | invoke (P1 p1)=0 |
Invokes the functor. More... | |
virtual void | invoke (P1 p1, P2 p2)=0 |
Invokes the functor. More... | |
virtual | ~ArFunctor2 () |
Destructor. | |
Public Member Functions inherited from ArFunctor1< P1 > | |
virtual | ~ArFunctor1 () |
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 2 parameters.
This is the base class for functors with 2 parameters. Code that has a reference to a functor that 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.
p1 | first parameter |
Implements ArFunctor1< P1 >.
Implemented in ArConstFunctor5C< T, P1, P2, P3, P4, P5 >, ArConstFunctor4C< T, P1, P2, P3, P4 >, ArConstFunctor3C< T, P1, P2, P3 >, ArConstFunctor2C< T, P1, P2 >, ArFunctor5C< T, P1, P2, P3, P4, P5 >, ArFunctor4C< T, P1, P2, P3, P4 >, ArFunctor3C< T, P1, P2, P3 >, ArFunctor3C< ArDataLogger, const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > *>, ArFunctor3C< ArNetServer, char **, int, ArSocket *>, ArFunctor2C< T, P1, P2 >, ArFunctor2C< KeyPTU, double, double >, ArGlobalFunctor5< P1, P2, P3, P4, P5 >, ArGlobalFunctor4< P1, P2, P3, P4 >, ArGlobalFunctor3< P1, P2, P3 >, ArGlobalFunctor2< P1, P2 >, ArFunctor5< P1, P2, P3, P4, P5 >, ArFunctor4< P1, P2, P3, P4 >, ArFunctor3< P1, P2, P3 >, ArFunctor3< char **, int, ArSocket * >, and ArFunctor3< const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > * >.
|
pure virtual |
Invokes the functor.
p1 | first parameter |
p2 | second parameter |
Implemented in ArConstFunctor5C< T, P1, P2, P3, P4, P5 >, ArConstFunctor4C< T, P1, P2, P3, P4 >, ArConstFunctor3C< T, P1, P2, P3 >, ArConstFunctor2C< T, P1, P2 >, ArFunctor5C< T, P1, P2, P3, P4, P5 >, ArFunctor4C< T, P1, P2, P3, P4 >, ArFunctor3C< T, P1, P2, P3 >, ArFunctor3C< ArDataLogger, const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > *>, ArFunctor3C< ArNetServer, char **, int, ArSocket *>, ArFunctor2C< T, P1, P2 >, ArFunctor2C< KeyPTU, double, double >, ArGlobalFunctor5< P1, P2, P3, P4, P5 >, ArGlobalFunctor4< P1, P2, P3, P4 >, ArGlobalFunctor3< P1, P2, P3 >, ArGlobalFunctor2< P1, P2 >, ArFunctor5< P1, P2, P3, P4, P5 >, ArFunctor4< P1, P2, P3, P4 >, ArFunctor3< P1, P2, P3 >, ArFunctor3< char **, int, ArSocket * >, and ArFunctor3< const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > * >.