Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 & );

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.