\hypertarget{classPerObjectData}{}\section{Per\+Object\+Data Class Reference}
\label{classPerObjectData}\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]{classPerObjectData}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPerObjectData_a11eb18f0f59c897ad0b75b4d10af3872}\label{classPerObjectData_a11eb18f0f59c897ad0b75b4d10af3872}} 
\hyperlink{classPerObjectData_a11eb18f0f59c897ad0b75b4d10af3872}{Per\+Object\+Data} ()
\begin{DoxyCompactList}\small\item\em You have to provide your own constructor for your object. \end{DoxyCompactList}\item 
virtual \hyperlink{classPerObjectData}{Per\+Object\+Data} $\ast$ \hyperlink{classPerObjectData_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{classPerObjectData}{Per\+Object\+Data} and attach it to an object. See \hyperlink{classBaseObject_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{classPerObjectData_a0ff13ad2e3fc9df25f6de96a1cd384e0}\label{classPerObjectData_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{classPerObjectData}{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{classTextureData_a7dc89c65832fef870f1d4b5581f20afa}{Texture\+Data}, \hyperlink{classSkeletonObjectData_a64139b956ef5012e9d0b3673ac7ccad7}{Skeleton\+Object\+Data}, \hyperlink{classDecimaterInfo_a5b514929d1ce0e1a7c8cd1bc6157f197}{Decimater\+Info}, and \hyperlink{classSmootherObject_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{perObjectData_8hh}{per\+Object\+Data.\+hh}\item 
Open\+Flipper/common/per\+Object\+Data.\+cc\end{DoxyCompactItemize}
