Aria  2.8.0
ArFunctor1< P1 > Class Template Referenceabstract

Base class for functors with 1 parameter. More...

#include <ArFunctor.h>

Inherits ArFunctor.

Inherited by ArConstFunctor1C< T, P1 >, ArFunctor1C< T, P1 >, ArFunctor2< P1, P2 >, and ArGlobalFunctor1< P1 >.

Public Member Functions

virtual void invoke (void)=0
 Invokes the functor.
 
virtual void invoke (P1 p1)=0
 Invokes the functor. More...
 
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
 

Detailed Description

template<class P1>
class ArFunctor1< P1 >

Base class for functors with 1 parameter.

This is the base class for functors with 1 parameter. Code that has a reference to a functor that takes 1 parameter 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.

Member Function Documentation

◆ invoke()

template<class P1>
virtual void ArFunctor1< P1 >::invoke ( P1  p1)
pure virtual

Invokes the functor.

Parameters
p1first 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 >, ArConstFunctor1C< T, P1 >, 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 >, ArFunctor1C< T, P1 >, ArFunctor1C< ArNovatelSPAN, ArNMEAParser::Message >, ArFunctor1C< ArNovatelGPS, ArNMEAParser::Message >, ArFunctor1C< ArPTZConnector, ArRobotParams *>, ArFunctor1C< ArTrimbleGPS, ArNMEAParser::Message >, ArFunctor1C< ArGPS, ArNMEAParser::Message >, ArFunctor1C< ArMD5Calculator, const char *>, ArFunctor1C< ArLCDConnector, int >, ArFunctor1C< ArModeCommand, int >, ArFunctor1C< ArTCMCompassDirect, ArNMEAParser::Message >, ArGlobalFunctor5< P1, P2, P3, P4, P5 >, ArGlobalFunctor4< P1, P2, P3, P4 >, ArGlobalFunctor3< P1, P2, P3 >, ArMapFileLineSetWriter, ArGlobalFunctor2< P1, P2 >, ArGlobalFunctor1< P1 >, ArGlobalFunctor1< int >, ArFunctor5< P1, P2, P3, P4, P5 >, ArFunctor4< P1, P2, P3, P4 >, ArFunctor3< P1, P2, P3 >, ArFunctor3< char **, int, ArSocket * >, ArFunctor3< const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > * >, ArFunctor2< P1, P2 >, ArFunctor2< char **, int >, ArFunctor2< double, double >, ArFunctor2< char *, ArTypes::UByte2 >, and ArFunctor2< const char *, ArTypes::UByte2 >.


The documentation for this class was generated from the following file: