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 38 of file Module.h.


Member Enumeration Documentation

anonymous enum
 

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

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

Definition at line 41 of file Module.h.

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


The documentation for this class was generated from the following file:
Generated on Thu Nov 9 11:25:06 2006 for ACE by doxygen 1.3.6