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

ArFunctor1< P1 > Class Template Reference

Base class for functors with 1 parameter. More...

#include <ArFunctor.h>

Inheritance diagram for ArFunctor1< P1 >:

ArFunctor ArConstFunctor1C< T, P1 > ArFunctor1C< T, P1 > ArFunctor2< P1, P2 > ArGlobalFunctor1< P1 > 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)=0
 Invokes the functor.
virtual void invoke (void)=0
 Invokes the functor.
virtual ~ArFunctor1 ()
 Destructor.

Detailed Description

template<class P1>
class ArFunctor1< P1 >

Base class for functors with 1 parameter.

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

Definition at line 135 of file ArFunctor.h.


Member Function Documentation

template<class P1>
virtual void ArFunctor1< P1 >::invoke P1  p1  )  [pure virtual]
 

Invokes the functor.

Parameters:
p1 first parameter

Implemented in ArFunctor2< P1, P2 >, ArFunctor3< P1, P2, P3 >, ArFunctor4< P1, P2, P3, P4 >, ArGlobalFunctor1< P1 >, ArGlobalFunctor2< P1, P2 >, ArGlobalFunctor3< P1, P2, P3 >, ArGlobalFunctor4< P1, P2, P3, P4 >, ArFunctor1C< T, P1 >, ArFunctor2C< T, P1, P2 >, ArFunctor3C< T, P1, P2, P3 >, ArFunctor4C< T, P1, P2, P3, P4 >, ArConstFunctor1C< T, P1 >, ArConstFunctor2C< T, P1, P2 >, ArConstFunctor3C< T, P1, P2, P3 >, ArConstFunctor4C< T, P1, P2, P3, P4 >, ArFunctor2< char **, int >, ArFunctor2< char *, ArTypes::UByte2 >, ArFunctor3< char **, int, ArSocket * >, ArGlobalFunctor1< int >, ArFunctor1C< ArModeCommand, int >, 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