Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PoDoFo::Util::PdfMutexWrapper Class Reference

#include <PdfMutexWrapper.h>

List of all members.

Public Member Functions

PODOFO_NOTHROW PdfMutexWrapper (PdfMutex &rMutex)
 ~PdfMutexWrapper ()


Detailed Description

A wrapper around PdfMutex. The mutex is locked in the constructor and unlocked in the destructor.

In debug builds all exceptions thrown by the mutex implementation are caught and logged before being rethrown.

Note that PdfMutexWrapper is *not* part of PoDoFo's public API.


Constructor & Destructor Documentation

PoDoFo::Util::PdfMutexWrapper::PdfMutexWrapper PdfMutex &  rMutex  )  [inline]
 

Lock a mutex.

Parameters:
rMutex the mutex to be locked.

PoDoFo::Util::PdfMutexWrapper::~PdfMutexWrapper  )  [inline]
 

Unlocks the mutex on destruction


Generated on Sun Feb 12 13:22:56 2012 for PoDoFo by  doxygen 1.3.9.1