\hypertarget{a00953}{\section{Per\+Object\+Data Class Reference}
\label{a00953}\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]{a00953}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00953_a11eb18f0f59c897ad0b75b4d10af3872}{\hyperlink{a00953_a11eb18f0f59c897ad0b75b4d10af3872}{Per\+Object\+Data} ()}\label{a00953_a11eb18f0f59c897ad0b75b4d10af3872}

\begin{DoxyCompactList}\small\item\em You have to provide your own constructor for your object. \end{DoxyCompactList}\item 
virtual \hyperlink{a00953}{Per\+Object\+Data} $\ast$ \hyperlink{a00953_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{a00953}{Per\+Object\+Data} and attach it to an object. See \hyperlink{a00329_a011e6fd32423693f783231046db4c680}{Base\+Object\+::set\+Object\+Data()} for more details. 

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



\subsection{Member Function Documentation}
\hypertarget{a00953_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[{copy\+Per\+Object\+Data}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Per\+Object\+Data} $\ast$ Per\+Object\+Data\+::copy\+Per\+Object\+Data (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00953_a0ff13ad2e3fc9df25f6de96a1cd384e0}


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{a01296_a7dc89c65832fef870f1d4b5581f20afa}{Texture\+Data}, \hyperlink{a01189_a64139b956ef5012e9d0b3673ac7ccad7}{Skeleton\+Object\+Data}, \hyperlink{a00479_a5b514929d1ce0e1a7c8cd1bc6157f197}{Decimater\+Info}, and \hyperlink{a01203_a732a66e947355fe923baaea4f86a39b5}{Smoother\+Object}.



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



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