#include <ArFunctor.h>
Inheritance diagram for ArRetFunctor< Ret >:
This is the base class for functors with a return value. Code that has a reference to a functor that returns a value 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.
Java Wrapper Library: To create the equivalent of ArRetFunctor<bool>, you can subclass ArRetFunctor_Bool
and override invoke(bool)
Public Member Functions | |
virtual void | invoke (void) |
Invokes the functor. | |
virtual Ret | invokeR (void)=0 |
Invokes the functor with return value. | |
virtual | ~ArRetFunctor () |
Destructor. |