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

ACE_Acquire_Method Class Reference

An enum class. More...

#include <Synch_T.h>

List of all members.

Public Types

enum  METHOD_TYPE { ACE_REGULAR, ACE_READ, ACE_WRITE }


Detailed Description

An enum class.

These enums should have been inside the reverse lock class, but some lame compilers cannot handle enums inside template classes.

The METHOD_TYPE is used to indicate which acquire() method will be called on the real lock when the release() method is called on the reverse lock. REGULAR indicated the acquire() method, READ indicates the acquire_read() method, and WRITE indicates the acquire_write() method. Note that the try_*() methods are not represented here because we have to make sure that the release() method on the reverse lock acquires a lock on the real lock.

Definition at line 122 of file Synch_T.h.


Member Enumeration Documentation

enum ACE_Acquire_Method::METHOD_TYPE
 

Enumeration values:
ACE_REGULAR 
ACE_READ 
ACE_WRITE 

Definition at line 125 of file Synch_T.h.

Referenced by ACE_Reverse_Lock::ACE_Reverse_Lock.

00126   {
00127     ACE_REGULAR,
00128     ACE_READ,
00129     ACE_WRITE
00130   };


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