| Overview | Namespace | Class | Index | Help |
| PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
| PROTECTED MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
| PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
:: osl ::
template< typename T >
class ClearableGuard
- Base Classes
- None.
- Known Derived Classes
- ResettableGuard
| virtual | abstract | interface | template |
| NO | NO | NO | YES |
- Summary
- A helper class for mutex objects and interfaces.
- File
- mutex.hxx
Public Members
-
Methods
ClearableGuard( T * pT_ );Acquires the object specified as parameter.
ClearableGuard( T & t );Acquires the object specified as parameter.
~ClearableGuard( );Releases the mutex or interface if not already released by clear(). void
clear( );Releases the mutex or interface.
Protected Members
-
Data
T * pT;
Private Members
-
Methods
ClearableGuard( const ClearableGuard & );const ClearableGuard &
operator=( const ClearableGuard & );
Copyright © 2009 Sun Microsystems, Inc.


