Main Page   Class Hierarchy   Compound List   Compound Members  

ArRetFunctor3 Class Template Reference

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

#include <ArFunctor.h>

Inheritance diagram for ArRetFunctor3::

ArRetFunctor ArFunctor ArGlobalRetFunctor3 ArRetFunctor3C List of all members.

Public Methods

virtual ~ArRetFunctor3 (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...

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

virtual Ret invokeR (P1 p1, P2 p2, P3 p3)=0
 Invokes the functor with return value. More...


Detailed Description

template<class Ret, class P1, class P2, class P3>
class ArRetFunctor3< Ret, P1, P2, P3 >

Base class for functors with a return value with 3 parameters.

This is the base class for functors with a return value and take 3 parameters. Code that has a reference to a functor that returns a value and takes 3 parameters 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, class P2, class P3>
virtual Ret ArRetFunctor3< Ret, P1, P2, P3 >::invokeR P1    p1,
P2    p2,
P3    p3
[pure virtual]
 

Invokes the functor with return value.

Parameters:
p1  first parameter
p2  second parameter
p3  third parameter

Reimplemented in ArGlobalRetFunctor3, and ArRetFunctor3C.

template<class Ret, class P1, class P2, class P3>
virtual Ret ArRetFunctor3< Ret, P1, P2, P3 >::invokeR P1    p1,
P2    p2
[pure virtual]
 

Invokes the functor with return value.

Parameters:
p1  first parameter
p2  second parameter

Reimplemented in ArGlobalRetFunctor3, and ArRetFunctor3C.

template<class Ret, class P1, class P2, class P3>
virtual Ret ArRetFunctor3< Ret, P1, P2, P3 >::invokeR P1    p1 [pure virtual]
 

Invokes the functor with return value.

Parameters:
p1  first parameter

Reimplemented in ArGlobalRetFunctor3, and ArRetFunctor3C.


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