\doxysection{/home/chr/devel/\+Ph\+D/\+Environment/pub/\+PCBEnv/pcbenv/cxx/\+Defs.hpp File Reference}
\hypertarget{Defs_8hpp}{}\label{Defs_8hpp}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/Defs.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/Defs.hpp}}
{\ttfamily \#include $<$cstdint$>$}\newline
{\ttfamily \#include $<$format$>$}\newline
\doxysubsubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \mbox{\hyperlink{namespacefmt}{fmt}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{Defs_8hpp_a563cdca613a7713f4675dc3319f25e8b}{std\+\_\+08x}}~std\+::hex $<$$<$ std\+::setw(8) $<$$<$ std\+::setfill(\textquotesingle{}0\textquotesingle{})
\item 
\#define \mbox{\hyperlink{Defs_8hpp_a94c72a17ef70564f414cbafc67caacf3}{PEDANTIC}}(args...)
\item 
\#define \mbox{\hyperlink{Defs_8hpp_a613996099916ff97385464ec2871dcdb}{WITH\+\_\+\+LOCK}}(a,  b)
\item 
\#define \mbox{\hyperlink{Defs_8hpp_a0905d5cc94031d798dc2ff61d8d3f537}{WITH\+\_\+\+RLOCK}}(a,  b)
\item 
\#define \mbox{\hyperlink{Defs_8hpp_a03ad15d4a6c8540757e38267d624adaa}{WITH\+\_\+\+WLOCK}}(a,  b)
\end{DoxyCompactItemize}
\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{Defs_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} = double
\item 
using \mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}} = unsigned int
\end{DoxyCompactItemize}


\label{doc-define-members}
\Hypertarget{Defs_8hpp_doc-define-members}
\doxysubsection{Macro Definition Documentation}
\Hypertarget{Defs_8hpp_a94c72a17ef70564f414cbafc67caacf3}\index{Defs.hpp@{Defs.hpp}!PEDANTIC@{PEDANTIC}}
\index{PEDANTIC@{PEDANTIC}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{PEDANTIC}{PEDANTIC}}
{\footnotesize\ttfamily \label{Defs_8hpp_a94c72a17ef70564f414cbafc67caacf3} 
\#define PEDANTIC(\begin{DoxyParamCaption}\item[{}]{args...}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{args}

\end{DoxyCode}
\Hypertarget{Defs_8hpp_a563cdca613a7713f4675dc3319f25e8b}\index{Defs.hpp@{Defs.hpp}!std\_08x@{std\_08x}}
\index{std\_08x@{std\_08x}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{std\_08x}{std\_08x}}
{\footnotesize\ttfamily \label{Defs_8hpp_a563cdca613a7713f4675dc3319f25e8b} 
\#define std\+\_\+08x~std\+::hex $<$$<$ std\+::setw(8) $<$$<$ std\+::setfill(\textquotesingle{}0\textquotesingle{})}

\Hypertarget{Defs_8hpp_a613996099916ff97385464ec2871dcdb}\index{Defs.hpp@{Defs.hpp}!WITH\_LOCK@{WITH\_LOCK}}
\index{WITH\_LOCK@{WITH\_LOCK}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{WITH\_LOCK}{WITH\_LOCK}}
{\footnotesize\ttfamily \label{Defs_8hpp_a613996099916ff97385464ec2871dcdb} 
\#define WITH\+\_\+\+LOCK(\begin{DoxyParamCaption}\item[{}]{a}{, }\item[{}]{b}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{do}\ \{\ std::lock\_guard\ \_lock((a)-\/>getLock());\ b;\ \}\ \textcolor{keywordflow}{while}(0)}

\end{DoxyCode}
\Hypertarget{Defs_8hpp_a0905d5cc94031d798dc2ff61d8d3f537}\index{Defs.hpp@{Defs.hpp}!WITH\_RLOCK@{WITH\_RLOCK}}
\index{WITH\_RLOCK@{WITH\_RLOCK}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{WITH\_RLOCK}{WITH\_RLOCK}}
{\footnotesize\ttfamily \label{Defs_8hpp_a0905d5cc94031d798dc2ff61d8d3f537} 
\#define WITH\+\_\+\+RLOCK(\begin{DoxyParamCaption}\item[{}]{a}{, }\item[{}]{b}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{do}\ \{\ std::shared\_lock\ \_lock((a)-\/>getLock());\ b;\ \}\ \textcolor{keywordflow}{while}(0)}

\end{DoxyCode}
\Hypertarget{Defs_8hpp_a03ad15d4a6c8540757e38267d624adaa}\index{Defs.hpp@{Defs.hpp}!WITH\_WLOCK@{WITH\_WLOCK}}
\index{WITH\_WLOCK@{WITH\_WLOCK}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{WITH\_WLOCK}{WITH\_WLOCK}}
{\footnotesize\ttfamily \label{Defs_8hpp_a03ad15d4a6c8540757e38267d624adaa} 
\#define WITH\+\_\+\+WLOCK(\begin{DoxyParamCaption}\item[{}]{a}{, }\item[{}]{b}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{do}\ \{\ std::unique\_lock\ \_lock((a)-\/>getLock());\ b;\ \}\ \textcolor{keywordflow}{while}(0)}

\end{DoxyCode}


\label{doc-typedef-members}
\Hypertarget{Defs_8hpp_doc-typedef-members}
\doxysubsection{Typedef Documentation}
\Hypertarget{Defs_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}\index{Defs.hpp@{Defs.hpp}!Real@{Real}}
\index{Real@{Real}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{Real}{Real}}
{\footnotesize\ttfamily \label{Defs_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de} 
using \mbox{\hyperlink{Defs_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} = double}

\Hypertarget{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}\index{Defs.hpp@{Defs.hpp}!uint@{uint}}
\index{uint@{uint}!Defs.hpp@{Defs.hpp}}
\doxysubsubsection{\texorpdfstring{uint}{uint}}
{\footnotesize\ttfamily \label{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d} 
using \mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}} = unsigned int}

