frepple::utils::ScopeMutexLock Class Reference

This is a convenience class that makes it easy (and exception-safe) to lock a mutex in a scope. More...

#include <utils.h>

Inheritance diagram for frepple::utils::ScopeMutexLock:
frepple::utils::NonCopyable

List of all members.

Public Member Functions

 ScopeMutexLock (Mutex &imtx)
 ~ScopeMutexLock ()

Protected Attributes

Mutexmtx

Detailed Description

This is a convenience class that makes it easy (and exception-safe) to lock a mutex in a scope.

Definition at line 623 of file utils.h.


Constructor & Destructor Documentation

frepple::utils::ScopeMutexLock::ScopeMutexLock ( Mutex imtx  )  [inline]

Definition at line 628 of file utils.h.

frepple::utils::ScopeMutexLock::~ScopeMutexLock (  )  [inline]

Definition at line 629 of file utils.h.


Member Data Documentation

Definition at line 626 of file utils.h.


The documentation for this class was generated from the following file:

Generated on 25 Sep 2009 for frePPLe by  doxygen 1.6.1