The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

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

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. 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.