\hypertarget{a07072}{}\section{Per\+Object\+Data Class Reference}
\label{a07072}\index{Per\+Object\+Data@{Per\+Object\+Data}}


Object Payload.  




{\ttfamily \#include $<$Open\+Flipper/common/per\+Object\+Data.\+hh$>$}

Inheritance diagram for Per\+Object\+Data\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=10.000000cm]{a07072}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07072_a11eb18f0f59c897ad0b75b4d10af3872}\label{a07072_a11eb18f0f59c897ad0b75b4d10af3872}} 
\hyperlink{a07072_a11eb18f0f59c897ad0b75b4d10af3872}{Per\+Object\+Data} ()
\begin{DoxyCompactList}\small\item\em You have to provide your own constructor for your object. \end{DoxyCompactList}\item 
virtual \hyperlink{a07072}{Per\+Object\+Data} $\ast$ \hyperlink{a07072_a0ff13ad2e3fc9df25f6de96a1cd384e0}{copy\+Per\+Object\+Data} ()
\begin{DoxyCompactList}\small\item\em Copy Function. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Object Payload. 

This class is used to add arbitrary data to objects in Open\+Flipper. You can derive any kind of class from \hyperlink{a07072}{Per\+Object\+Data} and attach it to an object. See \hyperlink{a07036_a011e6fd32423693f783231046db4c680}{Base\+Object\+::set\+Object\+Data()} for more details. 

Definition at line 73 of file per\+Object\+Data.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07072_a0ff13ad2e3fc9df25f6de96a1cd384e0}\label{a07072_a0ff13ad2e3fc9df25f6de96a1cd384e0}} 
\index{Per\+Object\+Data@{Per\+Object\+Data}!copy\+Per\+Object\+Data@{copy\+Per\+Object\+Data}}
\index{copy\+Per\+Object\+Data@{copy\+Per\+Object\+Data}!Per\+Object\+Data@{Per\+Object\+Data}}
\subsubsection{\texorpdfstring{copy\+Per\+Object\+Data()}{copyPerObjectData()}}
{\footnotesize\ttfamily \hyperlink{a07072}{Per\+Object\+Data} $\ast$ Per\+Object\+Data\+::copy\+Per\+Object\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Copy Function. 

You have to reimplement this function to allow the core to create a copies of your Object. By default it will return 0;

The function has to create a deep copy of the object, as it will also be used to create backups. If you use pointer inside your class, remember to not copy the pointer only but also the data! 

Reimplemented in \hyperlink{a10676_a7dc89c65832fef870f1d4b5581f20afa}{Texture\+Data}, \hyperlink{a11948_a64139b956ef5012e9d0b3673ac7ccad7}{Skeleton\+Object\+Data}, \hyperlink{a10104_a5b514929d1ce0e1a7c8cd1bc6157f197}{Decimater\+Info}, and \hyperlink{a10632_a732a66e947355fe923baaea4f86a39b5}{Smoother\+Object}.



Definition at line 61 of file per\+Object\+Data.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/common/\hyperlink{a00245}{per\+Object\+Data.\+hh}\item 
Open\+Flipper/common/per\+Object\+Data.\+cc\end{DoxyCompactItemize}
