ACE  6.1.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functor_T.h File Reference
#include "ace/Functor.h"
#include "ace/Functor_String.h"
#include "ace/Functor_T.inl"
#include "ace/Functor_T.cpp"


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

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.

Chris Gill cdgil.nosp@m.l@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
Based on Command Pattern implementations originally done by
Carlos O'Ryan corya.nosp@m.n@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
Douglas C. Schmidt
Sergio Flores-Gaitan sergi.nosp@m.o@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
and on STL-style functor implementations originally done by
Irfan Pyarali