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

ArRetFunctor< Ret > Class Template Reference

#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.

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.

Java Wrapper Library: To create the equivalent of ArRetFunctor<bool>, you can subclass ArRetFunctor_Bool and override invoke(bool)


Public Member Functions

virtual void invoke (void)
 Invokes the functor.
virtual Ret invokeR (void)=0
 Invokes the functor with return value.
virtual ~ArRetFunctor ()
 Destructor.


The documentation for this class was generated from the following file:
Generated on Thu Jan 7 10:34:43 2010 for Aria by  doxygen 1.4.2