Aria: ArRetFunctor< Ret > Class Template Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArRetFunctor< Ret > Class Template Reference

`#include <ArFunctor.h>`

Inheritance diagram for ArRetFunctor< Ret >:

List of all members.

## Detailed Description

### template<class Ret>
class ArRetFunctor< Ret >

Base class for functors with a return value.

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.

The documentation for this class was generated from the following file:

- ArFunctor.h