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

ArGlobalFunctor Class Reference

Functor for a global function with no parameters. More...

#include <ArFunctor.h>

Inheritance diagram for ArGlobalFunctor:

ArFunctor List of all members.

Public Member Functions

 ArGlobalFunctor (void(*func)(void))
 Constructor - supply function pointer.
 ArGlobalFunctor ()
 Constructor.
virtual void invoke (void)
 Invokes the functor.
virtual ~ArGlobalFunctor ()
 Destructor.

Protected Attributes

void(* myFunc )(void)

Detailed Description

Functor for a global function with no parameters.

This is a class for global functions. This ties a C style function pointer into the functor class hierarchy as a convience. Code that has a reference to this class and treat it as an ArFunctor can use it like any other functor.

For an overall description of functors, see ArFunctor.

Definition at line 499 of file ArFunctor.h.


Constructor & Destructor Documentation

ArGlobalFunctor::ArGlobalFunctor void(*)(void)  func  )  [inline]
 

Constructor - supply function pointer.

Parameters:
func global function pointer

Definition at line 509 of file ArFunctor.h.


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