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

ACE_Module_Base Class Reference

Workaround HP/C++ compiler bug with enums in templates. More...

#include <Module.h>

Inheritance diagram for ACE_Module_Base:

Inheritance graph
[legend]
List of all members.

Public Types

enum  { M_DELETE_NONE = 0, M_DELETE_READER = 1, M_DELETE_WRITER = 2, M_DELETE = 3 }

Detailed Description

Workaround HP/C++ compiler bug with enums in templates.

Certain C++ compilers, e.g., the HP/UX 10.x and 9.x compilers, seem to fail if enums are defined inside a template, hence we have to move them into a base class.

Definition at line 35 of file Module.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
M_DELETE_NONE  Indicates that <close> should not delete any Tasks.
M_DELETE_READER  Indicates that <close> should delete the writer Task.
M_DELETE_WRITER  Indicates that <close> should delete the reader Task.
M_DELETE  Indicates that <close> deletes the Tasks.

Don't change this value without updating the same enum in class ACE_Stream... The <M_DELETE_READER> and <M_DELETE_WRITER> flags may be or'ed together.

Definition at line 38 of file Module.h.

00039   {
00040     /// Indicates that <close> should not delete any Tasks.
00041     M_DELETE_NONE = 0,
00042 
00043     /// Indicates that <close> should delete the writer Task.
00044     M_DELETE_READER = 1,
00045 
00046     /// Indicates that <close> should delete the reader Task.
00047     M_DELETE_WRITER = 2,
00048 
00049     /// Indicates that <close> deletes the Tasks.
00050     /**
00051      * Don't change this value without updating the same enum in class
00052      * ACE_Stream...
00053      * The <M_DELETE_READER> and <M_DELETE_WRITER> flags may be or'ed
00054      * together.
00055      */
00056     M_DELETE = 3
00057   };


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 12:50:44 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002