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 Guard
- Base Classes
- None.
- Known Derived Classes
- None.
virtual | abstract | interface | template |
NO | NO | NO | YES |
- Summary
- A helper class for mutex objects and interfaces.
- File
- mutex.hxx
Public Members
-
Methods
Guard( T * pT_ );Acquires the object specified as parameter.
Guard( T & t );Acquires the object specified as parameter.
~Guard( );Releases the mutex or interface.
Protected Members
-
Data
T * pT;
Private Members
-
Methods
Guard( const Guard & );const Guard &
operator=( const Guard & );
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.