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

ArRetFunctor< Ret > Class Template Reference

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

#include <ArFunctor.h>

Inheritance diagram for ArRetFunctor< Ret >:

ArFunctor ArConstRetFunctorC< Ret, T > ArGlobalRetFunctor< Ret > ArRetFunctor1< Ret, P1 > ArRetFunctorC< Ret, T > 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 void invoke (void)
 Invokes the functor.
virtual Ret invokeR (void)=0
 Invokes the functor with return value.
virtual ~ArRetFunctor ()
 Destructor.

Detailed Description

template<class Ret>
class ArRetFunctor< Ret >

Base class for functors with a return value.

This is the base class for functors with a return value. Code that has a reference to a functor that returns a value 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 295 of file ArFunctor.h.


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