\hypertarget{a01368}{\section{Type\+Skeleton\+Plugin Class Reference}
\label{a01368}\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
}
Inheritance diagram for Type\+Skeleton\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.296296cm]{a01368}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01368_a1aded226ff4e6f29b5282891a979e54a}{Q\+String {\bfseries version} ()}\label{a01368_a1aded226ff4e6f29b5282891a979e54a}

\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01368_ace90415e1d2d4bbd062ffc89c99fdc7b}{void {\bfseries log} (\hyperlink{a02444_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)}\label{a01368_ace90415e1d2d4bbd062ffc89c99fdc7b}

\item 
\hypertarget{a01368_a24b3bbecc39e1b400ab7d81952fd8ef4}{void {\bfseries log} (Q\+String \+\_\+message)}\label{a01368_a24b3bbecc39e1b400ab7d81952fd8ef4}

\item 
\hypertarget{a01368_a6eecc907688222ff2e001252f21c808a}{void {\bfseries empty\+Object\+Added} (int \+\_\+id)}\label{a01368_a6eecc907688222ff2e001252f21c808a}

\item 
\hypertarget{a01368_acf27b2b38173bd74bf08fdd1a243b46f}{void {\bfseries add\+Context\+Menu\+Item} (Q\+Action $\ast$\+\_\+action, \hyperlink{a02438_a238952a111d7daede783625350d7b287}{Context\+Menu\+Type} \+\_\+type)}\label{a01368_acf27b2b38173bd74bf08fdd1a243b46f}

\item 
\hypertarget{a01368_a8596941217e463f54568bb80fd097922}{void {\bfseries add\+Context\+Menu\+Item} (Q\+Action $\ast$\+\_\+action, \hyperlink{a00477}{Data\+Type} \+\_\+object\+Type, \hyperlink{a02438_a238952a111d7daede783625350d7b287}{Context\+Menu\+Type} \+\_\+type)}\label{a01368_a8596941217e463f54568bb80fd097922}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a01368_a039bc1b729928380bbf31c7723722ebf}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a01368_a4ebab94596e92f4cb537699590bfd7df}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hypertarget{a01368_a97255187942be904fee441c65afe1996}{bool {\bfseries register\+Type} ()}\label{a01368_a97255187942be904fee441c65afe1996}

\item 
int \hyperlink{a01368_a0c3faa8394d0d24be912fc1175643970}{add\+Empty} ()
\begin{DoxyCompactList}\small\item\em Create an empty object. \end{DoxyCompactList}\item 
\hyperlink{a00477}{Data\+Type} \hyperlink{a01368_a1e90e23cca8875da7ce4c8d999af96ba}{supported\+Type} ()
\begin{DoxyCompactList}\small\item\em Return your supported object type( e.\+g. D\+A\+T\+A\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+M\+E\+S\+H ) \end{DoxyCompactList}\item 
void \hyperlink{a01368_a57e52841f03a8bd00302259abb85ce9c}{generate\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type)
\begin{DoxyCompactList}\small\item\em This slot should be implemented in a Type\+Plugin to generate type specific backups. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a01368_af6260de289802ceb28e15718017ea755}{plugins\+Initialized} ()
\begin{DoxyCompactList}\small\item\em Second initialization phase. \end{DoxyCompactList}\item 
\hypertarget{a01368_a80e15c6fac383e4b02976543c3b114e6}{void {\bfseries nogui\+Supported} ()}\label{a01368_a80e15c6fac383e4b02976543c3b114e6}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a01368_a453c3df89aeafbd81fb6938967f187e2}{slot\+Update\+Context\+Menu} (int \+\_\+object\+Id)
\item 
\hypertarget{a01368_a14bc8f946ddc80149a772e03a98e47e0}{void {\bfseries slot\+Show\+Indices} ()}\label{a01368_a14bc8f946ddc80149a772e03a98e47e0}

\item 
\hypertarget{a01368_ab9ae1baafc04ad1b8fbbc36319877c53}{void {\bfseries slot\+Show\+Coord\+Frames} ()}\label{a01368_ab9ae1baafc04ad1b8fbbc36319877c53}

\item 
\hypertarget{a01368_a5d9cbc60025ead9292bcce4a8ade4abe}{void {\bfseries slot\+Show\+Motion\+Path} ()}\label{a01368_a5d9cbc60025ead9292bcce4a8ade4abe}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01368_a083e2d0bd691241a6e095c27592c280f}{Q\+Action $\ast$ {\bfseries show\+Indices\+Action\+\_\+}}\label{a01368_a083e2d0bd691241a6e095c27592c280f}

\item 
\hypertarget{a01368_a8db23e5c5ad9ef0b0b49b2209f9aebd2}{Q\+Action $\ast$ {\bfseries show\+Coord\+Frames\+Action\+\_\+}}\label{a01368_a8db23e5c5ad9ef0b0b49b2209f9aebd2}

\item 
\hypertarget{a01368_aeb9419d35f574a60ad4df54d630c707b}{Q\+Action $\ast$ {\bfseries show\+Motion\+Action\+\_\+}}\label{a01368_aeb9419d35f574a60ad4df54d630c707b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 66 of file Type\+Skeleton.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a01368_a0c3faa8394d0d24be912fc1175643970}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!add\+Empty@{add\+Empty}}
\index{add\+Empty@{add\+Empty}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{add\+Empty}]{\setlength{\rightskip}{0pt plus 5cm}int Type\+Skeleton\+Plugin\+::add\+Empty (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01368_a0c3faa8394d0d24be912fc1175643970}


Create an empty object. 

When this slot is called you have to create an object of your supported type. \begin{DoxyReturn}{Returns}
Id of the new Object 
\end{DoxyReturn}


Implements \hyperlink{a01357_a50b2bfa5db5ff3ce6f3e8cc8e40260f0}{Type\+Interface}.



Definition at line 192 of file Type\+Skeleton.\+cc.

\hypertarget{a01368_a4ebab94596e92f4cb537699590bfd7df}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!description@{description}}
\index{description@{description}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Type\+Skeleton\+Plugin\+::description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01368_a4ebab94596e92f4cb537699590bfd7df}


Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

Implements \hyperlink{a00322_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



Definition at line 112 of file Type\+Skeleton.\+hh.

\hypertarget{a01368_a57e52841f03a8bd00302259abb85ce9c}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!generate\+Backup@{generate\+Backup}}
\index{generate\+Backup@{generate\+Backup}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{generate\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}void Type\+Skeleton\+Plugin\+::generate\+Backup (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+id, }
\item[{Q\+String}]{\+\_\+name, }
\item[{{\bf Update\+Type}}]{\+\_\+type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01368_a57e52841f03a8bd00302259abb85ce9c}


This slot should be implemented in a Type\+Plugin to generate type specific backups. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the added object \\
\hline
{\em \+\_\+name} & name of the backup \\
\hline
{\em \+\_\+type} & the type of backup that needs to be done \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a01357_a93656bd18b755dcaa2eb9ad953e4a516}{Type\+Interface}.



Definition at line 228 of file Type\+Skeleton.\+cc.

\hypertarget{a01368_a039bc1b729928380bbf31c7723722ebf}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!name@{name}}
\index{name@{name}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Type\+Skeleton\+Plugin\+::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01368_a039bc1b729928380bbf31c7723722ebf}


Return a name for the plugin. 

This Function has to return the name of the plugin. 

Implements \hyperlink{a00322_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



Definition at line 111 of file Type\+Skeleton.\+hh.

\hypertarget{a01368_af6260de289802ceb28e15718017ea755}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!plugins\+Initialized@{plugins\+Initialized}}
\index{plugins\+Initialized@{plugins\+Initialized}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{plugins\+Initialized}]{\setlength{\rightskip}{0pt plus 5cm}void Type\+Skeleton\+Plugin\+::plugins\+Initialized (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}}\label{a01368_af6260de289802ceb28e15718017ea755}


Second initialization phase. 



Definition at line 68 of file Type\+Skeleton.\+cc.

\hypertarget{a01368_a453c3df89aeafbd81fb6938967f187e2}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!slot\+Update\+Context\+Menu@{slot\+Update\+Context\+Menu}}
\index{slot\+Update\+Context\+Menu@{slot\+Update\+Context\+Menu}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{slot\+Update\+Context\+Menu}]{\setlength{\rightskip}{0pt plus 5cm}void Type\+Skeleton\+Plugin\+::slot\+Update\+Context\+Menu (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+object\+Id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [virtual]}}}\label{a01368_a453c3df89aeafbd81fb6938967f187e2}
When the main application requests a context menu, this slot is called before showing the window. If an object is picked the id will be given in this call so you can change the contents of your menu depending on the given object.


\begin{DoxyParams}{Parameters}
{\em \+\_\+object\+Id} & id of the object \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a00460_a74cbe2257620672cbc565cc6536c0332}{Context\+Menu\+Interface}.



Definition at line 108 of file Type\+Skeleton.\+cc.

\hypertarget{a01368_a1e90e23cca8875da7ce4c8d999af96ba}{\index{Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}!supported\+Type@{supported\+Type}}
\index{supported\+Type@{supported\+Type}!Type\+Skeleton\+Plugin@{Type\+Skeleton\+Plugin}}
\subsubsection[{supported\+Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Data\+Type} Type\+Skeleton\+Plugin\+::supported\+Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01368_a1e90e23cca8875da7ce4c8d999af96ba}


Return your supported object type( e.\+g. D\+A\+T\+A\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+M\+E\+S\+H ) 

The function is used from add\+Empty in the core to check if your plugin can create an object of a given data\+Type. If so, your add\+Empty function will be invoked to create it. 

Implements \hyperlink{a01357_a05736f72d3220fbd4152e902b0fa7756}{Type\+Interface}.



Definition at line 123 of file Type\+Skeleton.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin\+Collection-\/\+Type\+Plugins/\+Plugin-\/\+Type\+Skeleton/Type\+Skeleton.\+hh\item 
Plugin\+Collection-\/\+Type\+Plugins/\+Plugin-\/\+Type\+Skeleton/Type\+Skeleton.\+cc\end{DoxyCompactItemize}
