# Guard_T.h File Reference

`#include "ace/Lock.h"`
`#include "ace/Global_Macros.h"`
`#include "ace/OS_NS_Thread.h"`
`#include "ace/Guard_T.inl"`
`#include "ace/Guard_T.cpp"`

Include dependency graph for Guard_T.h:

This graph shows which files directly or indirectly include this file:

## Classes

class | ACE_Guard< ACE_LOCK >
| This data structure is meant to be used within a method or function... It performs automatic aquisition and release of a parameterized synchronization object <ace_lock>. More...
class | ACE_Write_Guard< ACE_LOCK >
| This class is similar to class ACE_Guard, though it acquires/releases a write lock automatically (naturally, the <ace_lock> it is instantiated with must support the appropriate API). More...
class | ACE_Read_Guard< ACE_LOCK >
| This class is similar to class ACE_Guard, though it acquires/releases a read lock automatically (naturally, the <ace_lock> it is instantiated with must support the appropriate API). More...

## Defines

#define | ACE_TSS_Guard ACE_Guard
#define | ACE_TSS_Write_GUARD ACE_Write_Guard
#define | ACE_TSS_Read_GUARD ACE_Read_Guard

## Detailed Description

Id
  Guard_T.h,v 4.5 2006/02/10 09:55:11 jwillemsen Exp

Moved from Synch.h.

Author:
  Douglas C. Schmidt <schmidt@cs.wustl.edu>

## Define Documentation

#define ACE_TSS_Guard ACE_Guard

#define ACE_TSS_Read_GUARD ACE_Read_Guard

#define ACE_TSS_Write_GUARD ACE_Write_Guard