- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

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

# IFunctor1< Arg1, ReturnType > Class Template Reference
[Utility Classes.]

A functor with one argument. More...

`#include <FUFunctor.h>`

Inheritance diagram for IFunctor1< Arg1, ReturnType >:

List of all members.

## Public Member Functions
virtual | ~IFunctor1 ()
| Destructor.
virtual ReturnType | operator() (Arg1 argument1) const =0
| Calls the functor.
virtual bool | Compare (void *object, void *function) const =0
| Checks whether this functor points towards the given member function.
virtual IFunctor1< Arg1, ReturnType > * | Copy () const =0
| Returns a copy of this functor.

## Detailed Description

### template<class Arg1, class ReturnType>
class IFunctor1< Arg1, ReturnType >

A functor with one argument.

## Member Function Documentation

template<class Arg1, class ReturnType>
virtual bool IFunctor1< Arg1, ReturnType >::Compare | ( | void * | object,
|  | void * | function
| ) | const`[pure virtual]`

  | Checks whether this functor points towards the given member function. Parameters:
  | object | The object which holds the member function.
  | function | The member function.
Returns: Whether this functor points towards the given member function. Implemented in FUFunctor1< Class, Arg1, ReturnType >.

template<class Arg1, class ReturnType>
virtual ReturnType IFunctor1< Arg1, ReturnType >::operator() | ( | Arg1 | argument1 | ) | const`[pure virtual]`

  | Calls the functor. Parameters:
  | argument1 | A first argument.
Returns: Implementation-dependant. Implemented in FUFunctor1< Class, Arg1, ReturnType >, and FUStaticFunctor1< Arg1, ReturnType >.

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

- FUtils/FUFunctor.h