ACE  6.1.0
Classes
Functor_T.h File Reference
#include "ace/Functor.h"
#include "ace/Functor_String.h"
#include "ace/Functor_T.inl"
#include "ace/Functor_T.cpp"

Classes

class  ACE_Command_Callback< RECEIVER, ACTION >
 Defines a class template that allows us to invoke a GOF command style callback to an object without knowing anything about the object except its type. More...
class  ACE_Member_Function_Command< RECEIVER >
 Defines a class template that allows us to invoke a member function using the GoF command style callback. More...
class  ACE_Hash< TYPE >
 Function object for hashing. More...
class  ACE_Pointer_Hash< TYPE >
 Function object for hashing pointers. More...
class  ACE_Equal_To< TYPE >
 Function object for comparing two objects of the given type for equality. More...
class  ACE_Less_Than< TYPE >
 Function object for determining whether the first object of the given type is less than the second object of the same type. More...

Detailed Description

Id:
Functor_T.h 95332 2011-12-15 11:09:41Z mcorino

Templatized classes 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.

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>
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines