\hypertarget{class_ogre_1_1_animation_state_controller_value}{}\doxysection{Ogre\+::Animation\+State\+Controller\+Value Class Reference}
\label{class_ogre_1_1_animation_state_controller_value}\index{Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}}


\mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} wrapper class for \mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}}.  




{\ttfamily \#include $<$Ogre\+Animation\+State.\+h$>$}



Inheritance diagram for Ogre\+::Animation\+State\+Controller\+Value\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=250pt]{class_ogre_1_1_animation_state_controller_value__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_animation_state_controller_value_a9cf37f160c78eb346f6b3f070d57fbe5}{Animation\+State\+Controller\+Value}} (\mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} $\ast$target\+Animation\+State, bool add\+Time=false)
\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_animation_state_controller_value_a86fae07d933638c3dfc1fd5751c4a469}{get\+Value}} (void) const
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} implementation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_animation_state_controller_value_a91cba7b97509704127ccbbb712a5df6c}{set\+Value}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} value)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} implementation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{group___general_ga57d5b9493ba9c9b89479f942f237a37c}{Controller\+Value\+Real\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_animation_state_controller_value_a3bebc064f309a92a4ec5e6d251d8ee46}{create}} (\mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} $\ast$target\+Animation\+State, bool add\+Time=false)
\begin{DoxyCompactList}\small\item\em create an instance of this class \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} wrapper class for \mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}}. 

\begin{DoxyRemark}{Remarks}
In Azathoth and earlier, \mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} was a \mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} but this actually causes memory problems since Controllers delete their values automatically when there are no further references to them, but \mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} is deleted explicitly elsewhere so this causes double-\/free problems. This wrapper acts as a bridge and it is this which is destroyed automatically. 
\end{DoxyRemark}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_controller_value_a9cf37f160c78eb346f6b3f070d57fbe5}\label{class_ogre_1_1_animation_state_controller_value_a9cf37f160c78eb346f6b3f070d57fbe5}} 
\index{Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}!AnimationStateControllerValue@{AnimationStateControllerValue}}
\index{AnimationStateControllerValue@{AnimationStateControllerValue}!Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}}
\doxysubsubsection{\texorpdfstring{AnimationStateControllerValue()}{AnimationStateControllerValue()}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Controller\+Value\+::\+Animation\+State\+Controller\+Value (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} $\ast$}]{target\+Animation\+State,  }\item[{bool}]{add\+Time = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000004}{Deprecated}}]use create instead \end{DoxyRefDesc}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_controller_value_a3bebc064f309a92a4ec5e6d251d8ee46}\label{class_ogre_1_1_animation_state_controller_value_a3bebc064f309a92a4ec5e6d251d8ee46}} 
\index{Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}!create@{create}}
\index{create@{create}!Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group___general_ga57d5b9493ba9c9b89479f942f237a37c}{Controller\+Value\+Real\+Ptr}} Ogre\+::\+Animation\+State\+Controller\+Value\+::create (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} $\ast$}]{target\+Animation\+State,  }\item[{bool}]{add\+Time = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



create an instance of this class 


\begin{DoxyParams}{Parameters}
{\em target\+Animation\+State} & \\
\hline
{\em add\+Time} & if true, increment time instead of setting to an absolute position \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_controller_value_a86fae07d933638c3dfc1fd5751c4a469}\label{class_ogre_1_1_animation_state_controller_value_a86fae07d933638c3dfc1fd5751c4a469}} 
\index{Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}!getValue@{getValue}}
\index{getValue@{getValue}!Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}}
\doxysubsubsection{\texorpdfstring{getValue()}{getValue()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Animation\+State\+Controller\+Value\+::get\+Value (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} implementation. 



Implements \mbox{\hyperlink{class_ogre_1_1_controller_value_a745741bba579264e57d797683d3feacd}{Ogre\+::\+Controller\+Value$<$ Real $>$}}.



References Ogre\+::\+Animation\+State\+::get\+Length(), and Ogre\+::\+Animation\+State\+::get\+Time\+Position().

\mbox{\Hypertarget{class_ogre_1_1_animation_state_controller_value_a91cba7b97509704127ccbbb712a5df6c}\label{class_ogre_1_1_animation_state_controller_value_a91cba7b97509704127ccbbb712a5df6c}} 
\index{Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}!setValue@{setValue}}
\index{setValue@{setValue}!Ogre::AnimationStateControllerValue@{Ogre::AnimationStateControllerValue}}
\doxysubsubsection{\texorpdfstring{setValue()}{setValue()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Controller\+Value\+::set\+Value (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\mbox{\hyperlink{class_ogre_1_1_controller_value}{Controller\+Value}} implementation. 



Implements \mbox{\hyperlink{class_ogre_1_1_controller_value_ab719e69a47857662b71041b9c74e546b}{Ogre\+::\+Controller\+Value$<$ Real $>$}}.



References Ogre\+::\+Animation\+State\+::add\+Time(), Ogre\+::\+Animation\+State\+::get\+Length(), and Ogre\+::\+Animation\+State\+::set\+Time\+Position().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_animation_state_8h}{Ogre\+Animation\+State.\+h}}\end{DoxyCompactItemize}
