\doxysection{Lockable\+DObject.\+h}
\hypertarget{_lockable_d_object_8h_source}{}\label{_lockable_d_object_8h_source}\index{src/dobj/public/LockableDObject.h@{src/dobj/public/LockableDObject.h}}
\mbox{\hyperlink{_lockable_d_object_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ LOCKABLE\_DOBJECT\_H}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ LOCKABLE\_DOBJECT\_H}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{_d_object_8h}{DObject.h}}"{}}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <mutex>}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00019\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_lockable_d_object_ae1a174a2740fa053626fe2820ee0efee}{LockableDObject}}\ \{}
\DoxyCodeLine{00020\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00024\ \ \ \ \ \mbox{\hyperlink{class_lockable_d_object_ae1a174a2740fa053626fe2820ee0efee}{LockableDObject}}()\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00030\ \ \ \ \ \mbox{\hyperlink{class_d_object}{DObject}}\&\ \mbox{\hyperlink{class_lockable_d_object_adcfe201fc728cc1c6fcf638a566ba9a1}{get}}();}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_lockable_d_object_ade38ca54703913359fc3b4366f6e292a}{lock}}();}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_lockable_d_object_a1481ed99dcd837490bf28309aadaedfb}{unlock}}();}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00043\ \ \ \ \ \mbox{\hyperlink{class_d_object}{DObject}}\ object\_;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00044\ \ \ \ \ std::mutex\ mutex\_;\ \ \ \ \ \ }
\DoxyCodeLine{00045\ \};}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ LOCKABLE\_DOBJECT\_H}}

\end{DoxyCode}
