ArFunctor2< P1, P2 > Class Template Reference

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

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.


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.


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 * >, ArFunctor3< char *, unsigned short, ArFunctor2< char *, unsigned short > * >, ArFunctor3C< ArNetServer, char **, int, ArSocket * >, and ArFunctor3C< const ArDataLogger, char *, unsigned short, ArFunctor2< char *, unsigned short > * >.

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 * >, ArFunctor3< char *, unsigned short, ArFunctor2< char *, unsigned short > * >, ArFunctor3C< ArNetServer, char **, int, ArSocket * >, and ArFunctor3C< const ArDataLogger, char *, unsigned short, ArFunctor2< char *, unsigned short > * >.


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:39:35 2009 for Aria by  doxygen 1.5.1