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

ArFunctor2< P1, P2 > Class Template Reference

Base class for functors with 2 parameters. More...

#include <ArFunctor.h>

Inheritance diagram for ArFunctor2< P1, P2 >:

ArFunctor1< P1 > ArFunctor ArConstFunctor2C< T, P1, P2 > ArFunctor2C< T, P1, P2 > ArFunctor3< P1, P2, P3 > ArGlobalFunctor2< P1, P2 > ArConstFunctor3C< T, P1, P2, P3 > ArFunctor3C< T, P1, P2, P3 > ArFunctor4< P1, P2, P3, P4 > ArGlobalFunctor3< P1, P2, P3 > ArConstFunctor4C< T, P1, P2, P3, P4 > ArFunctor4C< T, P1, P2, P3, P4 > ArGlobalFunctor4< P1, P2, P3, P4 > List of all members.

Public Member Functions

virtual void invoke (P1 p1, P2 p2)=0
 Invokes the functor.
virtual void invoke (P1 p1)=0
 Invokes the functor.
virtual void invoke (void)=0
 Invokes the functor.
virtual ~ArFunctor2 ()
 Destructor.

Detailed Description

template<class P1, class P2>
class ArFunctor2< P1, P2 >

Base class for functors with 2 parameters.

This is the base class for functors with 2 parameters. Code that has a reference to a functor that takes 2 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.

Definition at line 162 of file ArFunctor.h.


Member Function Documentation

template<class P1, class P2>
virtual void ArFunctor2< P1, P2 >::invoke P1  p1,
P2  p2
[pure virtual]
 

Invokes the functor.

Parameters:
p1 first parameter
p2 second parameter

Implemented in ArFunctor3< P1, P2, P3 >, ArFunctor4< P1, P2, P3, P4 >, ArGlobalFunctor2< P1, P2 >, ArGlobalFunctor3< P1, P2, P3 >, ArGlobalFunctor4< P1, P2, P3, P4 >, ArFunctor2C< T, P1, P2 >, ArFunctor3C< T, P1, P2, P3 >, ArFunctor4C< T, P1, P2, P3, P4 >, ArConstFunctor2C< T, P1, P2 >, ArConstFunctor3C< T, P1, P2, P3 >, ArConstFunctor4C< T, P1, P2, P3, P4 >, ArFunctor3< char **, int, ArSocket * >, and ArFunctor3C< ArNetServer, char **, int, ArSocket * >.

template<class P1, class P2>
virtual void ArFunctor2< P1, P2 >::invoke P1  p1  )  [pure virtual]
 

Invokes the functor.

Parameters:
p1 first parameter

Implements ArFunctor1< P1 >.

Implemented in ArFunctor3< P1, P2, P3 >, ArFunctor4< P1, P2, P3, P4 >, ArGlobalFunctor2< P1, P2 >, ArGlobalFunctor3< P1, P2, P3 >, ArGlobalFunctor4< P1, P2, P3, P4 >, ArFunctor2C< T, P1, P2 >, ArFunctor3C< T, P1, P2, P3 >, ArFunctor4C< T, P1, P2, P3, P4 >, ArConstFunctor2C< T, P1, P2 >, ArConstFunctor3C< T, P1, P2, P3 >, ArConstFunctor4C< T, P1, P2, P3, P4 >, ArFunctor3< char **, int, ArSocket * >, and ArFunctor3C< ArNetServer, char **, int, ArSocket * >.


The documentation for this class was generated from the following file:
Generated on Wed Oct 19 12:56:46 2005 for Aria by  doxygen 1.4.0