Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

ArRetFunctor1< Ret, P1 > Class Template Reference

Base class for functors with a return value with 1 parameter. More...

#include <ArFunctor.h>

Inheritance diagram for ArRetFunctor1< Ret, P1 >:

ArRetFunctor< Ret > ArFunctor ArConstRetFunctor1C< Ret, T, P1 > ArGlobalRetFunctor1< Ret, P1 > ArRetFunctor1C< Ret, T, P1 > ArRetFunctor2< Ret, P1, P2 > ArConstRetFunctor2C< Ret, T, P1, P2 > ArGlobalRetFunctor2< Ret, P1, P2 > ArRetFunctor2C< Ret, T, P1, P2 > ArRetFunctor3< Ret, P1, P2, P3 > ArConstRetFunctor3C< Ret, T, P1, P2, P3 > ArGlobalRetFunctor3< Ret, P1, P2, P3 > ArRetFunctor3C< Ret, T, P1, P2, P3 > ArRetFunctor4< Ret, P1, P2, P3, P4 > ArConstRetFunctor4C< Ret, T, P1, P2, P3, P4 > ArGlobalRetFunctor4< Ret, P1, P2, P3, P4 > ArRetFunctor4C< Ret, T, P1, P2, P3, P4 > List of all members.

Public Member Functions

virtual Ret invokeR (P1 p1)=0
 Invokes the functor with return value.
virtual Ret invokeR (void)=0
 Invokes the functor with return value.
virtual ~ArRetFunctor1 ()
 Destructor.

Detailed Description

template<class Ret, class P1>
class ArRetFunctor1< Ret, P1 >

Base class for functors with a return value with 1 parameter.

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

Definition at line 320 of file ArFunctor.h.


Member Function Documentation

template<class Ret, class P1>
virtual Ret ArRetFunctor1< Ret, P1 >::invokeR P1  p1  )  [pure virtual]
 

Invokes the functor with return value.

Parameters:
p1 first parameter

Implemented in ArRetFunctor2< Ret, P1, P2 >, ArRetFunctor3< Ret, P1, P2, P3 >, ArRetFunctor4< Ret, P1, P2, P3, P4 >, ArGlobalRetFunctor1< Ret, P1 >, ArGlobalRetFunctor2< Ret, P1, P2 >, ArGlobalRetFunctor3< Ret, P1, P2, P3 >, ArGlobalRetFunctor4< Ret, P1, P2, P3, P4 >, ArRetFunctor1C< Ret, T, P1 >, ArRetFunctor2C< Ret, T, P1, P2 >, ArRetFunctor3C< Ret, T, P1, P2, P3 >, ArRetFunctor4C< Ret, T, P1, P2, P3, P4 >, ArConstRetFunctor1C< Ret, T, P1 >, ArConstRetFunctor2C< Ret, T, P1, P2 >, ArConstRetFunctor3C< Ret, T, P1, P2, P3 >, ArConstRetFunctor4C< Ret, T, P1, P2, P3, P4 >, ArRetFunctor2< bool, ArArgumentBuilder *, char * >, ArRetFunctor2< bool, ArTypes::Byte2 *, int >, ArRetFunctor2< bool, ArArgumentBuilder *, int >, ArRetFunctor2< bool, char *, size_t >, ArRetFunctor2< bool, const char *, const char * >, ArRetFunctor3< bool, ArArgumentBuilder *, char *, size_t >, ArGlobalRetFunctor2< bool, const char *, const char * >, ArRetFunctor1C< void *, ArRangeDeviceThreaded, void * >, ArRetFunctor1C< bool, ArRobotParams, ArArgumentBuilder * >, ArRetFunctor1C< bool, ArSickLogger, ArRobotPacket * >, ArRetFunctor1C< bool, ArSick, bool >, ArRetFunctor1C< bool, ArRobot, ArRobotPacket * >, ArRetFunctor1C< bool, ArSick, ArRobotPacket * >, ArRetFunctor1C< bool, ArActionRobotJoydrive, ArRobotPacket * >, ArRetFunctor1C< bool, ArTCM2, ArRobotPacket * >, ArRetFunctor1C< bool, ArGripper, ArRobotPacket * >, ArRetFunctor1C< bool, ArRobotConfigPacketReader, ArRobotPacket * >, ArRetFunctor1C< bool, ArP2Arm, ArRobotPacket * >, ArRetFunctor1C< bool, ArMap, ArArgumentBuilder * >, ArRetFunctor1C< bool, ArIrrfDevice, ArRobotPacket * >, ArRetFunctor1C< bool, ArPTZ, ArRobotPacket * >, ArRetFunctor1C< void *, ArASyncTask, void * >, ArRetFunctor1C< bool, ArRobotJoyHandler, ArRobotPacket * >, ArRetFunctor1C< double, ArAnalogGyro, ArPoseWithTime >, ArRetFunctor1C< bool, ArAnalogGyro, ArRobotPacket * >, ArRetFunctor2C< bool, ArMap, ArArgumentBuilder *, int >, ArRetFunctor2C< bool, ArMap, char *, size_t >, ArRetFunctor2C< bool, ArSpeechSynth, const char *, const char * >, ArRetFunctor2C< bool, ArDataLogger, char *, size_t >, and ArRetFunctor3C< bool, ArConfig, ArArgumentBuilder *, char *, size_t >.


The documentation for this class was generated from the following file:
Generated on Wed Oct 19 12:56:52 2005 for Aria by  doxygen 1.4.0