Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Functor.h File Reference

`#include "ace/pre.h"`
`#include "ace/ACE.h"`
`#include "ace/Functor_T.h"`
`#include "ace/post.h"`

Include dependency graph for Functor.h:

This graph shows which files directly or indirectly include this file:

## Compounds
class | ACE_Command_Base
| Defines an abstract class that allows us to invoke commands without knowing anything about the implementation. More...
class | ACE_Hash< char >
| Function object for hashing a char. More...

## Detailed Description

Functor.h,v 4.24 2002/12/09 04:42:27 bala Exp

Non-templatized classes and class template specializations for implementing function objects that are used in various places in ACE. There are currently two major categories of function objects in ACE: GoF Command Pattern objects, and STL-style functors for comparison of container elements. The command objects are invoked via an execute () method, while the STL-style functors are invoked via an operator() () method. Non-templatized classes for implementing the GoF Command Pattern, also known as functors or function objects.

Author:
  Chris Gill <cdgill@cs.wustl.edu> , Based on Command Pattern implementations originally done by , Carlos O'Ryan <coryan@cs.wustl.edu> , Douglas C. Schmidt <schmidt@cs.wustl.edu> , Sergio Flores-Gaitan <sergio@cs.wustl.edu> , and on STL-style functor implementations originally done by , Irfan Pyarali <irfan@cs.wustl.edu>