Main Page   Class Hierarchy   Compound List   Compound Members  

ArRetFunctor1 Class Template Reference

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

#include <ArFunctor.h>

Inheritance diagram for ArRetFunctor1::

ArRetFunctor ArFunctor ArGlobalRetFunctor1 ArRetFunctor1C List of all members.

Public Methods

virtual ~ArRetFunctor1 (void)
 Destructor.

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

virtual Ret invokeR (P1 p1)=0
 Invokes the functor with return value. More...


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.


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

Reimplemented in ArGlobalRetFunctor1, and ArRetFunctor1C.


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