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

ArFunctor1< P1 > Class Template Reference

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

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.

Examples:

functorExample.cpp.

Definition at line 132 of file ArFunctor.h.

Public Member Functions

virtual void invoke (P1 p1)=0
 Invokes the functor.
virtual void invoke (void)=0
 Invokes the functor.
virtual ~ArFunctor1 ()
 Destructor.


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 >, ArFunctor2< const char *, ArTypes::UByte2 >, ArFunctor3< char **, int, ArSocket * >, ArFunctor3< const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > * >, ArGlobalFunctor1< int >, ArFunctor1C< ArGPS, MessageVector * >, ArFunctor1C< ArModeCommand, int >, ArFunctor3C< ArNetServer, char **, int, ArSocket * >, and ArFunctor3C< ArDataLogger, const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > * >.


The documentation for this class was generated from the following file:
Generated on Tue Feb 20 10:51:43 2007 for Aria by  doxygen 1.4.0