50 lines
6.4 KiB
TeX
50 lines
6.4 KiB
TeX
\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{\Hypertarget{_lockable_d_object_8h_source_l00001}00001\ \textcolor{comment}{/*\ ***********************************************************************}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00002}00002\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00003}00003\ \textcolor{comment}{//\ \ \ Copyright\ (C)\ 2025\ -\/-\/\ The\ 4D-\/STAR\ Collaboration}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00004}00004\ \textcolor{comment}{//\ \ \ File\ Author:\ Emily\ Boudreaux}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00005}00005\ \textcolor{comment}{//\ \ \ Last\ Modified:\ March\ 17,\ 2025}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00006}00006\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00007}00007\ \textcolor{comment}{//\ \ \ 4DSSE\ is\ free\ software;\ you\ can\ use\ it\ and/or\ modify}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00008}00008\ \textcolor{comment}{//\ \ \ it\ under\ the\ terms\ and\ restrictions\ the\ GNU\ General\ Library\ Public}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00009}00009\ \textcolor{comment}{//\ \ \ License\ version\ 3\ (GPLv3)\ as\ published\ by\ the\ Free\ Software\ Foundation.}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00010}00010\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00011}00011\ \textcolor{comment}{//\ \ \ 4DSSE\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00012}00012\ \textcolor{comment}{//\ \ \ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00013}00013\ \textcolor{comment}{//\ \ \ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00014}00014\ \textcolor{comment}{//\ \ \ See\ the\ GNU\ Library\ General\ Public\ License\ for\ more\ details.}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00015}00015\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00016}00016\ \textcolor{comment}{//\ \ \ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ Library\ General\ Public\ License}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00017}00017\ \textcolor{comment}{//\ \ \ along\ with\ this\ software;\ if\ not,\ write\ to\ the\ Free\ Software}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00018}00018\ \textcolor{comment}{//\ \ \ Foundation,\ Inc.,\ 59\ Temple\ Place,\ Suite\ 330,\ Boston,\ MA\ 02111-\/1307\ USA}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00019}00019\ \textcolor{comment}{//}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00020}00020\ \textcolor{comment}{//\ ***********************************************************************\ */}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00021}00021\ \textcolor{preprocessor}{\#ifndef\ LOCKABLE\_DOBJECT\_H}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00022}00022\ \textcolor{preprocessor}{\#define\ LOCKABLE\_DOBJECT\_H}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00023}00023\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00024}00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{_d_object_8h}{DObject.h}}"{}}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00025}00025\ \textcolor{preprocessor}{\#include\ <mutex>}}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00026}00026\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00034}00034\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00039}\mbox{\hyperlink{class_lockable_d_object}{00039}}\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_lockable_d_object_ae1a174a2740fa053626fe2820ee0efee}{LockableDObject}}\ \{}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00040}00040\ \textcolor{keyword}{public}:}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00044}\mbox{\hyperlink{class_lockable_d_object_ae1a174a2740fa053626fe2820ee0efee}{00044}}\ \ \ \ \ \mbox{\hyperlink{class_lockable_d_object_ae1a174a2740fa053626fe2820ee0efee}{LockableDObject}}()\ =\ \textcolor{keywordflow}{default};}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00045}00045\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00050}00050\ \ \ \ \ \mbox{\hyperlink{class_d_object}{DObject}}\&\ \mbox{\hyperlink{class_lockable_d_object_adcfe201fc728cc1c6fcf638a566ba9a1}{get}}();}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00051}00051\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00055}00055\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_lockable_d_object_ade38ca54703913359fc3b4366f6e292a}{lock}}();}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00056}00056\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00060}00060\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_lockable_d_object_a1481ed99dcd837490bf28309aadaedfb}{unlock}}();}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00061}00061\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00062}00062\ \textcolor{keyword}{private}:}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00063}\mbox{\hyperlink{class_lockable_d_object_a1eb1ca1d9cf979dcb9eead96054b89bb}{00063}}\ \ \ \ \ \mbox{\hyperlink{class_d_object}{DObject}}\ \mbox{\hyperlink{class_lockable_d_object_a1eb1ca1d9cf979dcb9eead96054b89bb}{object\_}};\ \ \ \ \ \ \ \ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00064}\mbox{\hyperlink{class_lockable_d_object_a712cd3ea0c565f7e9089a651ef79b7bd}{00064}}\ \ \ \ \ std::mutex\ \mbox{\hyperlink{class_lockable_d_object_a712cd3ea0c565f7e9089a651ef79b7bd}{mutex\_}};\ \ \ \ \ \ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00065}00065\ \};}
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00066}00066\ }
|
|
\DoxyCodeLine{\Hypertarget{_lockable_d_object_8h_source_l00067}00067\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ LOCKABLE\_DOBJECT\_H}}
|
|
|
|
\end{DoxyCode}
|