#include <ArFunctor.h>
Inheritance diagram for ArGlobalFunctor::
Public Methods | |
ArGlobalFunctor (void) | |
Constructor. | |
ArGlobalFunctor (void(*func)(void)) | |
Constructor - supply function pointer. More... | |
virtual | ~ArGlobalFunctor (void) |
Destructor. | |
virtual void | invoke (void) |
Invokes the functor. | |
virtual void | operator() () |
Invokes the functor. |
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.
|
Constructor - supply function pointer.
|