All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HSEP::ExclusiveScope Class Reference

RAII control for a Mutex. More...

#include <Mutex.h>

Public Member Functions

 ExclusiveScope (Mutex *pMutex)
 
 ~ExclusiveScope ()
 

Detailed Description

RAII control for a Mutex.

The ExclusiveScope has been designed to execute its "destructor", releasing an acquired Mutex, even when an exception is triggered disturbing the designed program control flow.

Definition at line 39 of file Mutex.h.

Constructor & Destructor Documentation

HSEP::ExclusiveScope::ExclusiveScope ( Mutex pMutex)
inline

Definition at line 42 of file Mutex.h.

HSEP::ExclusiveScope::~ExclusiveScope ( )
inline

Definition at line 45 of file Mutex.h.


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