Main Page   Class Hierarchy   Compound List   Compound Members  

ArRetFunctor Class Template Reference

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

#include <ArFunctor.h>

Inheritance diagram for ArRetFunctor::

ArFunctor ArGlobalRetFunctor ArRetFunctor1 ArRetFunctor2 ArRetFunctor3 ArRetFunctorC ArGlobalRetFunctor1 ArRetFunctor1C ArGlobalRetFunctor2 ArRetFunctor2C ArGlobalRetFunctor3 ArRetFunctor3C List of all members.

Public Methods

virtual ~ArRetFunctor (void)
 Destructor.

virtual void invoke (void)
 Invokes the functor.

virtual void operator() ()
 Invokes the functor.

virtual Ret invokeR (void)=0
 Invokes the functor with return value.


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.


The documentation for this class was generated from the following file:
Generated on Tue Nov 12 17:44:02 2002 for Aria by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001