ACE  6.3.3
Classes
Functor_T.h File Reference
#include "ace/Functor.h"
#include "ace/Functor_String.h"
#include "ace/Truncate.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

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 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 schmi.nosp@m.dt@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
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 irfan.nosp@m.@cs..nosp@m.wustl.nosp@m..edu