ACE  6.1.0
Classes
Functor.h File Reference
#include "ace/Basic_Types.h"
#include "ace/Functor.inl"

Classes

class  ACE_Command_Base
 Defines an abstract class that allows us to invoke commands without knowing anything about the implementation. More...
class  ACE_Noop_Command
class  ACE_Hash< char >
 Function object for hashing a char. More...
class  ACE_Hash< signed char >
 Function object for hashing a signed char. More...
class  ACE_Hash< unsigned char >
 Function object for hashing an unsigned char. More...
class  ACE_Hash< short >
 Function object for hashing a short number. More...
class  ACE_Hash< unsigned short >
 Function object for hashing an unsigned short number. More...
class  ACE_Hash< int >
 Function object for hashing an int number. More...
class  ACE_Hash< unsigned int >
 Function object for hashing an unsigned int number. More...
class  ACE_Hash< long >
 Function object for hashing a long number. More...
class  ACE_Hash< unsigned long >
 Function object for hashing an unsigned long number. More...
class  ACE_Hash< ACE_INT64 >
 Function object for hashing a signed 64-bit number. More...
class  ACE_Hash< ACE_UINT64 >
 Function object for hashing an unsigned 64-bit number. More...
class  ACE_Hash< const char * >
 Function object for hashing a const string. More...
class  ACE_Hash< char * >
 Function object for hashing a string. More...
class  ACE_Hash< void * >
 Function object for hashing a void *. More...
class  ACE_Equal_To< const char * >
 Function object for determining whether two const strings are equal. More...
class  ACE_Equal_To< char * >
 Function object for determining whether two non-const strings are equal. More...
class  ACE_Equal_To< ACE_UINT16 >
 Function object for determining whether two unsigned 16 bit ints are equal. More...
class  ACE_Equal_To< ACE_INT16 >
 Function object for determining whether two 16 bit ints are equal. More...
class  ACE_Equal_To< ACE_UINT32 >
 Function object for determining whether two unsigned 32 bit ints are equal. More...
class  ACE_Equal_To< ACE_INT32 >
 Function object for determining whether two 32 bit ints are equal. More...
class  ACE_Equal_To< ACE_UINT64 >
 Function object for determining whether two unsigned 64 bit ints are equal. More...
class  ACE_Less_Than< const char * >
 Function object for determining whether the first const string is less than the second const string. More...
class  ACE_Less_Than< char * >
 Function object for determining whether the first string is less than the second string. More...
class  ACE_Hash< wchar_t >
 Function object for hashing a wchar_t. More...
class  ACE_Hash< const wchar_t * >
 Function object for hashing a const string. More...
class  ACE_Hash< wchar_t * >
 Function object for hashing a string. More...
class  ACE_Equal_To< const wchar_t * >
 Function object for determining whether two const strings are equal. More...
class  ACE_Equal_To< wchar_t * >
 Function object for determining whether two non-const strings are equal. More...
class  ACE_Less_Than< const wchar_t * >
 Function object for determining whether the first const string is less than the second const string. More...
class  ACE_Less_Than< wchar_t * >
 Function object for determining whether the first string is less than the second string. More...

Detailed Description

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

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