#include <ArFunctor.h>
Inheritance diagram for ArGlobalRetFunctor::
Public Methods | |
ArGlobalRetFunctor (void) | |
Constructor. | |
ArGlobalRetFunctor (Ret(*func)(void)) | |
Constructor - supply function pointer. More... | |
virtual | ~ArGlobalRetFunctor (void) |
Destructor. | |
virtual Ret | invokeR (void) |
Invokes the functor with return value. |
This is a class for global functions which return a value. 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.
|