\hypertarget{classopenutils_1_1_mutex}{
\section{openutils::Mutex Class Reference}
\label{classopenutils_1_1_mutex}\index{openutils::Mutex@{openutils::Mutex}}
}


{\ttfamily \#include $<$ou\_\-thread.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classopenutils_1_1_mutex_a593423d868daf926c7b0d63a833ae29a}{Mutex} ()
\item 
\hyperlink{classopenutils_1_1_mutex_a6ba29c9c71d2d255bba30fb51fc8fc2d}{Mutex} (const char $\ast$nm)
\item 
void \hyperlink{classopenutils_1_1_mutex_a8cc4f4eb600c280010f05e6d585eb0f3}{create} (const char $\ast$nm)
\item 
unsigned long $\ast$ \hyperlink{classopenutils_1_1_mutex_ad98548c846eb1576fe3e4a98853a677f}{getMutexHandle} ()
\item 
std::string \hyperlink{classopenutils_1_1_mutex_a1c294e4f880c1797afc74b21828081b6}{getName} ()
\item 
void \hyperlink{classopenutils_1_1_mutex_ad43ff97f225007f2fbb0da2e98676b07}{release} ()
\item 
\hyperlink{classopenutils_1_1_mutex_ac9e9182407f5f74892318607888e9be4}{$\sim$Mutex} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
class \hyperlink{classopenutils_1_1_mutex}{Mutex} Represents a \hyperlink{classopenutils_1_1_mutex}{Mutex} object to synchronize access to shaed resources. 

Definition at line 95 of file ou\_\-thread.h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classopenutils_1_1_mutex_a593423d868daf926c7b0d63a833ae29a}{
\index{openutils::Mutex@{openutils::Mutex}!Mutex@{Mutex}}
\index{Mutex@{Mutex}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{Mutex}]{\setlength{\rightskip}{0pt plus 5cm}Mutex::Mutex ()}}
\label{classopenutils_1_1_mutex_a593423d868daf926c7b0d63a833ae29a}
@ The \hyperlink{classopenutils_1_1_mutex}{Mutex} class implementation @/

/$\ast$$\ast$ \hyperlink{classopenutils_1_1_mutex_a593423d868daf926c7b0d63a833ae29a}{Mutex()} default constructor 

Definition at line 223 of file ou\_\-thread.cpp.

\hypertarget{classopenutils_1_1_mutex_a6ba29c9c71d2d255bba30fb51fc8fc2d}{
\index{openutils::Mutex@{openutils::Mutex}!Mutex@{Mutex}}
\index{Mutex@{Mutex}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{Mutex}]{\setlength{\rightskip}{0pt plus 5cm}Mutex::Mutex (const char $\ast$ {\em nm})}}
\label{classopenutils_1_1_mutex_a6ba29c9c71d2d255bba30fb51fc8fc2d}
\hyperlink{classopenutils_1_1_mutex_a6ba29c9c71d2d255bba30fb51fc8fc2d}{Mutex(const char$\ast$ nm)} overloaded constructor creates a \hyperlink{classopenutils_1_1_mutex}{Mutex} object identified by \char`\"{}nm\char`\"{} 

Definition at line 232 of file ou\_\-thread.cpp.

\hypertarget{classopenutils_1_1_mutex_ac9e9182407f5f74892318607888e9be4}{
\index{openutils::Mutex@{openutils::Mutex}!$\sim$Mutex@{$\sim$Mutex}}
\index{$\sim$Mutex@{$\sim$Mutex}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{$\sim$Mutex}]{\setlength{\rightskip}{0pt plus 5cm}Mutex::$\sim$Mutex ()}}
\label{classopenutils_1_1_mutex_ac9e9182407f5f74892318607888e9be4}


Definition at line 275 of file ou\_\-thread.cpp.



\subsection{Member Function Documentation}
\hypertarget{classopenutils_1_1_mutex_a8cc4f4eb600c280010f05e6d585eb0f3}{
\index{openutils::Mutex@{openutils::Mutex}!create@{create}}
\index{create@{create}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}void Mutex::create (const char $\ast$ {\em nm})}}
\label{classopenutils_1_1_mutex_a8cc4f4eb600c280010f05e6d585eb0f3}
\hyperlink{classopenutils_1_1_mutex_a8cc4f4eb600c280010f05e6d585eb0f3}{create(const char$\ast$ nm)} frees the current mutex handle. creates a \hyperlink{classopenutils_1_1_mutex}{Mutex} object identified by \char`\"{}nm\char`\"{} 

Definition at line 244 of file ou\_\-thread.cpp.

\hypertarget{classopenutils_1_1_mutex_ad98548c846eb1576fe3e4a98853a677f}{
\index{openutils::Mutex@{openutils::Mutex}!getMutexHandle@{getMutexHandle}}
\index{getMutexHandle@{getMutexHandle}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{getMutexHandle}]{\setlength{\rightskip}{0pt plus 5cm}unsigned long $\ast$ Mutex::getMutexHandle ()}}
\label{classopenutils_1_1_mutex_ad98548c846eb1576fe3e4a98853a677f}
\hyperlink{classopenutils_1_1_mutex_ad98548c846eb1576fe3e4a98853a677f}{getMutexHandle()} returns the handle of the low-\/level mutex object 

Definition at line 258 of file ou\_\-thread.cpp.

\hypertarget{classopenutils_1_1_mutex_a1c294e4f880c1797afc74b21828081b6}{
\index{openutils::Mutex@{openutils::Mutex}!getName@{getName}}
\index{getName@{getName}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{getName}]{\setlength{\rightskip}{0pt plus 5cm}string Mutex::getName ()}}
\label{classopenutils_1_1_mutex_a1c294e4f880c1797afc74b21828081b6}
\hyperlink{classopenutils_1_1_mutex_a1c294e4f880c1797afc74b21828081b6}{getName()} returns the name of the mutex 

Definition at line 265 of file ou\_\-thread.cpp.

\hypertarget{classopenutils_1_1_mutex_ad43ff97f225007f2fbb0da2e98676b07}{
\index{openutils::Mutex@{openutils::Mutex}!release@{release}}
\index{release@{release}!openutils::Mutex@{openutils::Mutex}}
\subsubsection[{release}]{\setlength{\rightskip}{0pt plus 5cm}void Mutex::release ()}}
\label{classopenutils_1_1_mutex_ad43ff97f225007f2fbb0da2e98676b07}


Definition at line 269 of file ou\_\-thread.cpp.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
neurosky/header/\hyperlink{ou__thread_8h}{ou\_\-thread.h}\item 
neurosky/src/\hyperlink{ou__thread_8cpp}{ou\_\-thread.cpp}\end{DoxyCompactItemize}
