\hypertarget{class_ogre_1_1_animation_state_set}{}\section{Ogre\+:\+:Animation\+State\+Set Class Reference}
\label{class_ogre_1_1_animation_state_set}\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}


Class encapsulating a set of \hyperlink{class_ogre_1_1_animation_state}{Animation\+State} objects.  




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



Inheritance diagram for Ogre\+:\+:Animation\+State\+Set\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=217pt]{class_ogre_1_1_animation_state_set__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_animation_state_set_af10b8cc7ba08ef360f5ca9d8f99ced0a}{Animation\+State\+Set} ()
\begin{DoxyCompactList}\small\item\em Create a blank animation state set. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_animation_state_set_a146fea0c5c0ccca83e70e9b0de2c5291}{Animation\+State\+Set} (const \hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} \&rhs)
\begin{DoxyCompactList}\small\item\em Create an animation set by copying the contents of another. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_animation_state_set_a8b578dae12588b8b82e44af331c88dde}{$\sim$\+Animation\+State\+Set} ()
\item 
void \hyperlink{class_ogre_1_1_animation_state_set_aa8c6dd75b3600a357c0a4d64150817b2}{\+\_\+notify\+Animation\+State\+Enabled} (\hyperlink{class_ogre_1_1_animation_state}{Animation\+State} $\ast$target, bool enabled)
\begin{DoxyCompactList}\small\item\em Internal method respond to enable/disable an animation state. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_animation_state_set_a66f959e4399f4f2d66239fadc1382503}{\+\_\+notify\+Dirty} (void)
\begin{DoxyCompactList}\small\item\em Set the dirty flag and dirty frame number on this state set. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_animation_state_set_a55b3e321b7cfcbccd56ca600407bfd19}{copy\+Matching\+State} (\hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} $\ast$target) const
\begin{DoxyCompactList}\small\item\em Copy the state of any matching animation states from this to another. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_animation_state}{Animation\+State} $\ast$ \hyperlink{class_ogre_1_1_animation_state_set_ad8aa2b6241e2e6c1298055a48e3f600b}{create\+Animation\+State} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&anim\+Name, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} time\+Pos, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} length, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} weight=1.\+0, bool enabled=false)
\begin{DoxyCompactList}\small\item\em Create a new \hyperlink{class_ogre_1_1_animation_state}{Animation\+State} instance. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_animation_state}{Animation\+State} $\ast$ \hyperlink{class_ogre_1_1_animation_state_set_a5a3783be35f983e5cc923a5719ac69fb}{get\+Animation\+State} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Get an animation state by the name of the animation. \end{DoxyCompactList}\item 
\hyperlink{group___animation_gac427736c80940f4469fe0f4ac1694f67}{Animation\+State\+Iterator} \hyperlink{class_ogre_1_1_animation_state_set_aa4ab9e1b440f5d15e91307e01d0b5a72}{get\+Animation\+State\+Iterator} (void)
\begin{DoxyCompactList}\small\item\em Get an iterator over all the animation states in this set. \end{DoxyCompactList}\item 
\hyperlink{group___animation_gaad9cc8241f80d9d8fb4f112409de792f}{Const\+Animation\+State\+Iterator} \hyperlink{class_ogre_1_1_animation_state_set_aef27479f3fb8b03557d3e59547237c4f}{get\+Animation\+State\+Iterator} (void) const
\begin{DoxyCompactList}\small\item\em Get an iterator over all the animation states in this set. \end{DoxyCompactList}\item 
const \hyperlink{group___animation_ga8d88c1f65ad1d1bff16764d738e4cc55}{Animation\+State\+Map} \& \hyperlink{class_ogre_1_1_animation_state_set_a7df9fa3be7dfeb3902108c9be5757cfc}{get\+Animation\+States} () const
\begin{DoxyCompactList}\small\item\em Get all the animation states in this set. \end{DoxyCompactList}\item 
unsigned long \hyperlink{class_ogre_1_1_animation_state_set_aa34f77e2497d0805649096655e60c2a2}{get\+Dirty\+Frame\+Number} (void) const
\begin{DoxyCompactList}\small\item\em Get the latest animation state been altered frame number. \end{DoxyCompactList}\item 
\hyperlink{group___animation_ga7bc761681d8c97c449763d8b77dcedf8}{Const\+Enabled\+Animation\+State\+Iterator} \hyperlink{class_ogre_1_1_animation_state_set_aace4ed7ea8cf68001cf3d86d6f1f0974}{get\+Enabled\+Animation\+State\+Iterator} (void) const
\begin{DoxyCompactList}\small\item\em Get an iterator over all the enabled animation states in this set. \end{DoxyCompactList}\item 
const \hyperlink{group___animation_ga6f881141254ff23343b18f2c053b7941}{Enabled\+Animation\+State\+List} \& \hyperlink{class_ogre_1_1_animation_state_set_a5fa87d7359ffda15c0940ea2694aa464}{get\+Enabled\+Animation\+States} () const
\begin{DoxyCompactList}\small\item\em Get an iterator over all the enabled animation states in this set. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_animation_state_set_a22d9922ebdb8b3b3d70ca7e58acbd95d}{has\+Animation\+State} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) const
\begin{DoxyCompactList}\small\item\em Tests if state for the named animation is present. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_animation_state_set_a506078aa0b1b78cb3296f81d0641c82b}{has\+Enabled\+Animation\+State} (void) const
\begin{DoxyCompactList}\small\item\em Tests if exists enabled animation state in this set. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_animation_state_set_a49af4b5b62648c598fe631fda6984ea4}{remove\+All\+Animation\+States} (void)
\begin{DoxyCompactList}\small\item\em Remove all animation states. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_animation_state_set_a3651ad254b49b98e8d590da1bc22735a}{remove\+Animation\+State} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Remove animation state with the given name. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_animation_state_set_aee2117dbc4a0615650712ca0924742e5}{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}
\begin{DoxyCompactList}\small\item\em Mutex, public for external locking if needed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class encapsulating a set of \hyperlink{class_ogre_1_1_animation_state}{Animation\+State} objects. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_af10b8cc7ba08ef360f5ca9d8f99ced0a}\label{class_ogre_1_1_animation_state_set_af10b8cc7ba08ef360f5ca9d8f99ced0a}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!Animation\+State\+Set@{Animation\+State\+Set}}
\index{Animation\+State\+Set@{Animation\+State\+Set}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{Animation\+State\+Set()}{AnimationStateSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Set\+::\+Animation\+State\+Set (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Create a blank animation state set. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a146fea0c5c0ccca83e70e9b0de2c5291}\label{class_ogre_1_1_animation_state_set_a146fea0c5c0ccca83e70e9b0de2c5291}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!Animation\+State\+Set@{Animation\+State\+Set}}
\index{Animation\+State\+Set@{Animation\+State\+Set}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{Animation\+State\+Set()}{AnimationStateSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Set\+::\+Animation\+State\+Set (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} \&}]{rhs }\end{DoxyParamCaption})}



Create an animation set by copying the contents of another. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a8b578dae12588b8b82e44af331c88dde}\label{class_ogre_1_1_animation_state_set_a8b578dae12588b8b82e44af331c88dde}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!````~Animation\+State\+Set@{$\sim$\+Animation\+State\+Set}}
\index{````~Animation\+State\+Set@{$\sim$\+Animation\+State\+Set}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{$\sim$\+Animation\+State\+Set()}{~AnimationStateSet()}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Set\+::$\sim$\+Animation\+State\+Set (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_ad8aa2b6241e2e6c1298055a48e3f600b}\label{class_ogre_1_1_animation_state_set_ad8aa2b6241e2e6c1298055a48e3f600b}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!create\+Animation\+State@{create\+Animation\+State}}
\index{create\+Animation\+State@{create\+Animation\+State}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{create\+Animation\+State()}{createAnimationState()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_animation_state}{Animation\+State}$\ast$ Ogre\+::\+Animation\+State\+Set\+::create\+Animation\+State (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{anim\+Name,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{time\+Pos,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{length,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{weight = {\ttfamily 1.0},  }\item[{bool}]{enabled = {\ttfamily false} }\end{DoxyParamCaption})}



Create a new \hyperlink{class_ogre_1_1_animation_state}{Animation\+State} instance. 


\begin{DoxyParams}{Parameters}
{\em anim\+Name} & The name of the animation \\
\hline
{\em time\+Pos} & Starting time position \\
\hline
{\em length} & Length of the animation to play \\
\hline
{\em weight} & Weight to apply the animation with \\
\hline
{\em enabled} & Whether the animation is enabled \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a5a3783be35f983e5cc923a5719ac69fb}\label{class_ogre_1_1_animation_state_set_a5a3783be35f983e5cc923a5719ac69fb}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Animation\+State@{get\+Animation\+State}}
\index{get\+Animation\+State@{get\+Animation\+State}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Animation\+State()}{getAnimationState()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_animation_state}{Animation\+State}$\ast$ Ogre\+::\+Animation\+State\+Set\+::get\+Animation\+State (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Get an animation state by the name of the animation. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a22d9922ebdb8b3b3d70ca7e58acbd95d}\label{class_ogre_1_1_animation_state_set_a22d9922ebdb8b3b3d70ca7e58acbd95d}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!has\+Animation\+State@{has\+Animation\+State}}
\index{has\+Animation\+State@{has\+Animation\+State}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{has\+Animation\+State()}{hasAnimationState()}}
{\footnotesize\ttfamily bool Ogre\+::\+Animation\+State\+Set\+::has\+Animation\+State (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption}) const}



Tests if state for the named animation is present. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a3651ad254b49b98e8d590da1bc22735a}\label{class_ogre_1_1_animation_state_set_a3651ad254b49b98e8d590da1bc22735a}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!remove\+Animation\+State@{remove\+Animation\+State}}
\index{remove\+Animation\+State@{remove\+Animation\+State}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{remove\+Animation\+State()}{removeAnimationState()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::remove\+Animation\+State (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})}



Remove animation state with the given name. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a49af4b5b62648c598fe631fda6984ea4}\label{class_ogre_1_1_animation_state_set_a49af4b5b62648c598fe631fda6984ea4}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!remove\+All\+Animation\+States@{remove\+All\+Animation\+States}}
\index{remove\+All\+Animation\+States@{remove\+All\+Animation\+States}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{remove\+All\+Animation\+States()}{removeAllAnimationStates()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::remove\+All\+Animation\+States (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Remove all animation states. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aa4ab9e1b440f5d15e91307e01d0b5a72}\label{class_ogre_1_1_animation_state_set_aa4ab9e1b440f5d15e91307e01d0b5a72}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Animation\+State\+Iterator@{get\+Animation\+State\+Iterator}}
\index{get\+Animation\+State\+Iterator@{get\+Animation\+State\+Iterator}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Animation\+State\+Iterator()}{getAnimationStateIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{group___animation_gac427736c80940f4469fe0f4ac1694f67}{Animation\+State\+Iterator} Ogre\+::\+Animation\+State\+Set\+::get\+Animation\+State\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get an iterator over all the animation states in this set. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000001}{Deprecated}]use \hyperlink{class_ogre_1_1_animation_state_set_a7df9fa3be7dfeb3902108c9be5757cfc}{get\+Animation\+States()} \end{DoxyRefDesc}


Referenced by Ogre\+::\+Scene\+Manager\+::get\+Animation\+State\+Iterator().

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aef27479f3fb8b03557d3e59547237c4f}\label{class_ogre_1_1_animation_state_set_aef27479f3fb8b03557d3e59547237c4f}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Animation\+State\+Iterator@{get\+Animation\+State\+Iterator}}
\index{get\+Animation\+State\+Iterator@{get\+Animation\+State\+Iterator}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Animation\+State\+Iterator()}{getAnimationStateIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{group___animation_gaad9cc8241f80d9d8fb4f112409de792f}{Const\+Animation\+State\+Iterator} Ogre\+::\+Animation\+State\+Set\+::get\+Animation\+State\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get an iterator over all the animation states in this set. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000002}{Deprecated}]use \hyperlink{class_ogre_1_1_animation_state_set_a7df9fa3be7dfeb3902108c9be5757cfc}{get\+Animation\+States()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a7df9fa3be7dfeb3902108c9be5757cfc}\label{class_ogre_1_1_animation_state_set_a7df9fa3be7dfeb3902108c9be5757cfc}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Animation\+States@{get\+Animation\+States}}
\index{get\+Animation\+States@{get\+Animation\+States}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Animation\+States()}{getAnimationStates()}}
{\footnotesize\ttfamily const \hyperlink{group___animation_ga8d88c1f65ad1d1bff16764d738e4cc55}{Animation\+State\+Map}\& Ogre\+::\+Animation\+State\+Set\+::get\+Animation\+States (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get all the animation states in this set. 

\begin{DoxyNote}{Note}
This method is not threadsafe, you will need to manually lock the public mutex on this class to ensure thread safety if you need it. 
\end{DoxyNote}


Referenced by Ogre\+::\+Scene\+Manager\+::get\+Animation\+States().

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a55b3e321b7cfcbccd56ca600407bfd19}\label{class_ogre_1_1_animation_state_set_a55b3e321b7cfcbccd56ca600407bfd19}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!copy\+Matching\+State@{copy\+Matching\+State}}
\index{copy\+Matching\+State@{copy\+Matching\+State}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{copy\+Matching\+State()}{copyMatchingState()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::copy\+Matching\+State (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_animation_state_set}{Animation\+State\+Set} $\ast$}]{target }\end{DoxyParamCaption}) const}



Copy the state of any matching animation states from this to another. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a66f959e4399f4f2d66239fadc1382503}\label{class_ogre_1_1_animation_state_set_a66f959e4399f4f2d66239fadc1382503}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!\+\_\+notify\+Dirty@{\+\_\+notify\+Dirty}}
\index{\+\_\+notify\+Dirty@{\+\_\+notify\+Dirty}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Dirty()}{\_notifyDirty()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::\+\_\+notify\+Dirty (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Set the dirty flag and dirty frame number on this state set. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aa34f77e2497d0805649096655e60c2a2}\label{class_ogre_1_1_animation_state_set_aa34f77e2497d0805649096655e60c2a2}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Dirty\+Frame\+Number@{get\+Dirty\+Frame\+Number}}
\index{get\+Dirty\+Frame\+Number@{get\+Dirty\+Frame\+Number}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Dirty\+Frame\+Number()}{getDirtyFrameNumber()}}
{\footnotesize\ttfamily unsigned long Ogre\+::\+Animation\+State\+Set\+::get\+Dirty\+Frame\+Number (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the latest animation state been altered frame number. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aa8c6dd75b3600a357c0a4d64150817b2}\label{class_ogre_1_1_animation_state_set_aa8c6dd75b3600a357c0a4d64150817b2}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!\+\_\+notify\+Animation\+State\+Enabled@{\+\_\+notify\+Animation\+State\+Enabled}}
\index{\+\_\+notify\+Animation\+State\+Enabled@{\+\_\+notify\+Animation\+State\+Enabled}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{\+\_\+notify\+Animation\+State\+Enabled()}{\_notifyAnimationStateEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::\+\_\+notify\+Animation\+State\+Enabled (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State} $\ast$}]{target,  }\item[{bool}]{enabled }\end{DoxyParamCaption})}



Internal method respond to enable/disable an animation state. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a506078aa0b1b78cb3296f81d0641c82b}\label{class_ogre_1_1_animation_state_set_a506078aa0b1b78cb3296f81d0641c82b}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!has\+Enabled\+Animation\+State@{has\+Enabled\+Animation\+State}}
\index{has\+Enabled\+Animation\+State@{has\+Enabled\+Animation\+State}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{has\+Enabled\+Animation\+State()}{hasEnabledAnimationState()}}
{\footnotesize\ttfamily bool Ogre\+::\+Animation\+State\+Set\+::has\+Enabled\+Animation\+State (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Tests if exists enabled animation state in this set. 

\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aace4ed7ea8cf68001cf3d86d6f1f0974}\label{class_ogre_1_1_animation_state_set_aace4ed7ea8cf68001cf3d86d6f1f0974}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Enabled\+Animation\+State\+Iterator@{get\+Enabled\+Animation\+State\+Iterator}}
\index{get\+Enabled\+Animation\+State\+Iterator@{get\+Enabled\+Animation\+State\+Iterator}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Enabled\+Animation\+State\+Iterator()}{getEnabledAnimationStateIterator()}}
{\footnotesize\ttfamily \hyperlink{group___animation_ga7bc761681d8c97c449763d8b77dcedf8}{Const\+Enabled\+Animation\+State\+Iterator} Ogre\+::\+Animation\+State\+Set\+::get\+Enabled\+Animation\+State\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Get an iterator over all the enabled animation states in this set. 

\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000003}{Deprecated}]use \hyperlink{class_ogre_1_1_animation_state_set_a5fa87d7359ffda15c0940ea2694aa464}{get\+Enabled\+Animation\+States()} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a5fa87d7359ffda15c0940ea2694aa464}\label{class_ogre_1_1_animation_state_set_a5fa87d7359ffda15c0940ea2694aa464}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!get\+Enabled\+Animation\+States@{get\+Enabled\+Animation\+States}}
\index{get\+Enabled\+Animation\+States@{get\+Enabled\+Animation\+States}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{get\+Enabled\+Animation\+States()}{getEnabledAnimationStates()}}
{\footnotesize\ttfamily const \hyperlink{group___animation_ga6f881141254ff23343b18f2c053b7941}{Enabled\+Animation\+State\+List}\& Ogre\+::\+Animation\+State\+Set\+::get\+Enabled\+Animation\+States (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get an iterator over all the enabled animation states in this set. 

\begin{DoxyNote}{Note}
The iterator returned from this method is not threadsafe, you will need to manually lock the public mutex on this class to ensure thread safety if you need it. 
\end{DoxyNote}


\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aee2117dbc4a0615650712ca0924742e5}\label{class_ogre_1_1_animation_state_set_aee2117dbc4a0615650712ca0924742e5}} 
\index{Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}!O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}}
\index{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX@{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}!Ogre\+::\+Animation\+State\+Set@{Ogre\+::\+Animation\+State\+Set}}
\subsubsection{\texorpdfstring{O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}{OGRE\_AUTO\_MUTEX}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Set\+::\+O\+G\+R\+E\+\_\+\+A\+U\+T\+O\+\_\+\+M\+U\+T\+EX}



Mutex, public for external locking if needed. 



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