\section{booster\+:\+:unique\+\_\+lock$<$ Mutex $>$ Class Template Reference}
\label{classbooster_1_1unique__lock}\index{booster\+::unique\+\_\+lock$<$ Mutex $>$@{booster\+::unique\+\_\+lock$<$ Mutex $>$}}


a Unique lock guard.  




{\ttfamily \#include $<$booster/booster/thread.\+h$>$}

Inheritance diagram for booster\+:\+:unique\+\_\+lock$<$ Mutex $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classbooster_1_1unique__lock}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf unique\+\_\+lock} (Mutex \&m)\label{classbooster_1_1unique__lock_aa6d0d424b78ff0d2d187128b263eef20}

\begin{DoxyCompactList}\small\item\em Acquire the lock. \end{DoxyCompactList}\item 
{\bf $\sim$unique\+\_\+lock} ()\label{classbooster_1_1unique__lock_aa699e08d0efdcb720eae97ae92c9b1e5}

\begin{DoxyCompactList}\small\item\em Release the lock. \end{DoxyCompactList}\item 
Mutex $\ast$ {\bf mutex} () const \label{classbooster_1_1unique__lock_a46d07c657dcd56ea3d5cc2f805c326b4}

\begin{DoxyCompactList}\small\item\em Get the reference to the mutex object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Mutex$>$\\*
class booster\+::unique\+\_\+lock$<$ Mutex $>$}

a Unique lock guard. 

Acquire the unique lock in the constructor and release it in the destructor 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
booster/thread.\+h\end{DoxyCompactItemize}
