\hypertarget{classObjectIDPointerManagerT}{}\section{Object\+I\+D\+Pointer\+ManagerT$<$ Pointer $>$ Class Template Reference}
\label{classObjectIDPointerManagerT}\index{Object\+I\+D\+Pointer\+Manager\+T$<$ Pointer $>$@{Object\+I\+D\+Pointer\+Manager\+T$<$ Pointer $>$}}


{\ttfamily \#include $<$Open\+Flipper/common/\+Object\+I\+D\+Pointer\+Manager\+T.\+hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a9e35bb192095abb5982b64270506e2ba}\label{classObjectIDPointerManagerT_a9e35bb192095abb5982b64270506e2ba}} 
typedef std\+::map$<$ int, Pointer $>$ \hyperlink{classObjectIDPointerManagerT_a9e35bb192095abb5982b64270506e2ba}{Pointer\+Object\+I\+D\+Map}
\begin{DoxyCompactList}\small\item\em typedef for the idmap \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a77d0163b2f9a76a84699b0180cf7625e}\label{classObjectIDPointerManagerT_a77d0163b2f9a76a84699b0180cf7625e}} 
typedef std\+::pair$<$ int, Pointer $>$ \hyperlink{classObjectIDPointerManagerT_a77d0163b2f9a76a84699b0180cf7625e}{Pointer\+Object\+I\+D\+Pair}
\begin{DoxyCompactList}\small\item\em typedef for the pairs \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a9dae0b228894750b3f2af4f3ed2cabbf}\label{classObjectIDPointerManagerT_a9dae0b228894750b3f2af4f3ed2cabbf}} 
\hyperlink{classObjectIDPointerManagerT_a9dae0b228894750b3f2af4f3ed2cabbf}{Object\+I\+D\+Pointer\+ManagerT} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_adc879ddcb403a5be2e1baf755cfc4360}\label{classObjectIDPointerManagerT_adc879ddcb403a5be2e1baf755cfc4360}} 
\hyperlink{classObjectIDPointerManagerT_adc879ddcb403a5be2e1baf755cfc4360}{$\sim$\+Object\+I\+D\+Pointer\+ManagerT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
bool \hyperlink{classObjectIDPointerManagerT_a6c7a983c0d3b1f0164983625c104061d}{get\+\_\+pointer} (int \+\_\+identifier, Pointer \&\+\_\+pointer)
\item 
Pointer \hyperlink{classObjectIDPointerManagerT_a78cf36225f169b7dd942708a8ec333d4}{get\+\_\+pointer} (int \+\_\+identifier)
\item 
bool \hyperlink{classObjectIDPointerManagerT_aa944b766aa7a99a188ff7e1239117eb0}{add\+\_\+pointer} (int \+\_\+identifier, const Pointer \&\+\_\+pointer)
\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a1fe64ca08678ed09196659e72a3090dd}\label{classObjectIDPointerManagerT_a1fe64ca08678ed09196659e72a3090dd}} 
bool \hyperlink{classObjectIDPointerManagerT_a1fe64ca08678ed09196659e72a3090dd}{delete\+\_\+object} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Doesn\textquotesingle{}t actually delete object (pointed to by pointer) only clears entry from the map. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a78c920860d83bad4f13606d032cf52ce}\label{classObjectIDPointerManagerT_a78c920860d83bad4f13606d032cf52ce}} 
void {\bfseries get\+\_\+object\+\_\+ids} (std\+::vector$<$ int $>$ \&\+\_\+ids)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a499f58e8a29842af9f138390593a9caa}\label{classObjectIDPointerManagerT_a499f58e8a29842af9f138390593a9caa}} 
\hyperlink{classObjectIDPointerManagerT_a499f58e8a29842af9f138390593a9caa}{Object\+I\+D\+Pointer\+ManagerT} (const \hyperlink{classObjectIDPointerManagerT}{Object\+I\+D\+Pointer\+ManagerT} \&\+\_\+rhs)
\begin{DoxyCompactList}\small\item\em Copy constructor (not used) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_a82cb3e91ffb1bdd007e8eeb516cfa34d}\label{classObjectIDPointerManagerT_a82cb3e91ffb1bdd007e8eeb516cfa34d}} 
\hyperlink{classObjectIDPointerManagerT}{Object\+I\+D\+Pointer\+ManagerT} \& \hyperlink{classObjectIDPointerManagerT_a82cb3e91ffb1bdd007e8eeb516cfa34d}{operator=} (const \hyperlink{classObjectIDPointerManagerT}{Object\+I\+D\+Pointer\+ManagerT} \&\+\_\+rhs)
\begin{DoxyCompactList}\small\item\em Assignment operator (not used) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classObjectIDPointerManagerT_af5368a354ca128534835eb56080907b2}\label{classObjectIDPointerManagerT_af5368a354ca128534835eb56080907b2}} 
\hyperlink{classObjectIDPointerManagerT_a9e35bb192095abb5982b64270506e2ba}{Pointer\+Object\+I\+D\+Map} \hyperlink{classObjectIDPointerManagerT_af5368a354ca128534835eb56080907b2}{pointer\+\_\+object\+I\+D\+\_\+map\+\_\+}
\begin{DoxyCompactList}\small\item\em mapping \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Pointer$>$\newline
class Object\+I\+D\+Pointer\+Manager\+T$<$ Pointer $>$}

Use this class to manage pointers associated with an object in the framework. 

Definition at line 68 of file Object\+I\+D\+Pointer\+Manager\+T.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classObjectIDPointerManagerT_aa944b766aa7a99a188ff7e1239117eb0}\label{classObjectIDPointerManagerT_aa944b766aa7a99a188ff7e1239117eb0}} 
\index{Object\+I\+D\+Pointer\+ManagerT@{Object\+I\+D\+Pointer\+ManagerT}!add\+\_\+pointer@{add\+\_\+pointer}}
\index{add\+\_\+pointer@{add\+\_\+pointer}!Object\+I\+D\+Pointer\+ManagerT@{Object\+I\+D\+Pointer\+ManagerT}}
\subsubsection{\texorpdfstring{add\+\_\+pointer()}{add\_pointer()}}
{\footnotesize\ttfamily template$<$class Pointer $>$ \\
bool \hyperlink{classObjectIDPointerManagerT}{Object\+I\+D\+Pointer\+ManagerT}$<$ Pointer $>$\+::add\+\_\+pointer (\begin{DoxyParamCaption}\item[{int}]{\+\_\+identifier,  }\item[{const Pointer \&}]{\+\_\+pointer }\end{DoxyParamCaption})}

Add a pointer to the map 
\begin{DoxyParams}{Parameters}
{\em \+\_\+identifier} & identifier of corresponding object \\
\hline
{\em \+\_\+pointer} & pointer to be added \\
\hline
\end{DoxyParams}


Definition at line 89 of file Object\+I\+D\+Pointer\+Manager\+T\+\_\+impl.\+hh.

\mbox{\Hypertarget{classObjectIDPointerManagerT_a6c7a983c0d3b1f0164983625c104061d}\label{classObjectIDPointerManagerT_a6c7a983c0d3b1f0164983625c104061d}} 
\index{Object\+I\+D\+Pointer\+ManagerT@{Object\+I\+D\+Pointer\+ManagerT}!get\+\_\+pointer@{get\+\_\+pointer}}
\index{get\+\_\+pointer@{get\+\_\+pointer}!Object\+I\+D\+Pointer\+ManagerT@{Object\+I\+D\+Pointer\+ManagerT}}
\subsubsection{\texorpdfstring{get\+\_\+pointer()}{get\_pointer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class Pointer $>$ \\
bool \hyperlink{classObjectIDPointerManagerT}{Object\+I\+D\+Pointer\+ManagerT}$<$ Pointer $>$\+::get\+\_\+pointer (\begin{DoxyParamCaption}\item[{int}]{\+\_\+identifier,  }\item[{Pointer \&}]{\+\_\+pointer }\end{DoxyParamCaption})}

try to get a pointer with the given id 
\begin{DoxyParams}{Parameters}
{\em \+\_\+identifier} & identifier of corresponding object \\
\hline
{\em \+\_\+pointer} & The returned pointer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if object exists 
\end{DoxyReturn}


Definition at line 60 of file Object\+I\+D\+Pointer\+Manager\+T\+\_\+impl.\+hh.

\mbox{\Hypertarget{classObjectIDPointerManagerT_a78cf36225f169b7dd942708a8ec333d4}\label{classObjectIDPointerManagerT_a78cf36225f169b7dd942708a8ec333d4}} 
\index{Object\+I\+D\+Pointer\+ManagerT@{Object\+I\+D\+Pointer\+ManagerT}!get\+\_\+pointer@{get\+\_\+pointer}}
\index{get\+\_\+pointer@{get\+\_\+pointer}!Object\+I\+D\+Pointer\+ManagerT@{Object\+I\+D\+Pointer\+ManagerT}}
\subsubsection{\texorpdfstring{get\+\_\+pointer()}{get\_pointer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class Pointer $>$ \\
Pointer \hyperlink{classObjectIDPointerManagerT}{Object\+I\+D\+Pointer\+ManagerT}$<$ Pointer $>$\+::get\+\_\+pointer (\begin{DoxyParamCaption}\item[{int}]{\+\_\+identifier }\end{DoxyParamCaption})}

try to get a pointer with the given id 
\begin{DoxyParams}{Parameters}
{\em \+\_\+identifier} & identifier of corresponding object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
returns either a pointer or if the id does not exist N\+U\+LL 
\end{DoxyReturn}


Definition at line 78 of file Object\+I\+D\+Pointer\+Manager\+T\+\_\+impl.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/common/Object\+I\+D\+Pointer\+Manager\+T.\+hh\item 
Open\+Flipper/common/Object\+I\+D\+Pointer\+Manager\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
