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


Class encapsulating a set of \mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_animation_state_set_a146fea0c5c0ccca83e70e9b0de2c5291}{Animation\+State\+Set}} (const \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_animation_state_set_a8b578dae12588b8b82e44af331c88dde}{$\sim$\+Animation\+State\+Set}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_animation_state_set_aa8c6dd75b3600a357c0a4d64150817b2}{\+\_\+notify\+Animation\+State\+Enabled}} (\mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_animation_state_set_a55b3e321b7cfcbccd56ca600407bfd19}{copy\+Matching\+State}} (\mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_animation_state_set_ad8aa2b6241e2e6c1298055a48e3f600b}{create\+Animation\+State}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&anim\+Name, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Pos, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} length, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} weight=1.\+0, bool enabled=false)
\begin{DoxyCompactList}\small\item\em Create a new \mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} instance. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_animation_state_set_a5a3783be35f983e5cc923a5719ac69fb}{get\+Animation\+State}} (const \mbox{\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 
\mbox{\hyperlink{group___animation_gac427736c80940f4469fe0f4ac1694f67}{Animation\+State\+Iterator}} \mbox{\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 
\mbox{\hyperlink{group___animation_gaad9cc8241f80d9d8fb4f112409de792f}{Const\+Animation\+State\+Iterator}} \mbox{\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 \mbox{\hyperlink{group___animation_ga8d88c1f65ad1d1bff16764d738e4cc55}{Animation\+State\+Map}} \& \mbox{\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 \mbox{\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 
\mbox{\hyperlink{group___animation_ga7bc761681d8c97c449763d8b77dcedf8}{Const\+Enabled\+Animation\+State\+Iterator}} \mbox{\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 \mbox{\hyperlink{group___animation_ga6f881141254ff23343b18f2c053b7941}{Enabled\+Animation\+State\+List}} \& \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_animation_state_set_a22d9922ebdb8b3b3d70ca7e58acbd95d}{has\+Animation\+State}} (const \mbox{\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 \mbox{\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 \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_animation_state_set_a3651ad254b49b98e8d590da1bc22735a}{remove\+Animation\+State}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Remove animation state with the given name. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\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}


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

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_af10b8cc7ba08ef360f5ca9d8f99ced0a}\label{class_ogre_1_1_animation_state_set_af10b8cc7ba08ef360f5ca9d8f99ced0a}} 
\index{Ogre::AnimationStateSet@{Ogre::AnimationStateSet}!AnimationStateSet@{AnimationStateSet}}
\index{AnimationStateSet@{AnimationStateSet}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{AnimationStateSet()}{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::AnimationStateSet@{Ogre::AnimationStateSet}!AnimationStateSet@{AnimationStateSet}}
\index{AnimationStateSet@{AnimationStateSet}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{AnimationStateSet()}{AnimationStateSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Set\+::\+Animation\+State\+Set (\begin{DoxyParamCaption}\item[{const \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!````~AnimationStateSet@{$\sim$AnimationStateSet}}
\index{````~AnimationStateSet@{$\sim$AnimationStateSet}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{$\sim$AnimationStateSet()}{~AnimationStateSet()}}
{\footnotesize\ttfamily Ogre\+::\+Animation\+State\+Set\+::$\sim$\+Animation\+State\+Set (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



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



Create a new \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!getAnimationState@{getAnimationState}}
\index{getAnimationState@{getAnimationState}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getAnimationState()}{getAnimationState()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_animation_state}{Animation\+State}}$\ast$ Ogre\+::\+Animation\+State\+Set\+::get\+Animation\+State (\begin{DoxyParamCaption}\item[{const \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!hasAnimationState@{hasAnimationState}}
\index{hasAnimationState@{hasAnimationState}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{hasAnimationState()}{hasAnimationState()}}
{\footnotesize\ttfamily bool Ogre\+::\+Animation\+State\+Set\+::has\+Animation\+State (\begin{DoxyParamCaption}\item[{const \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!removeAnimationState@{removeAnimationState}}
\index{removeAnimationState@{removeAnimationState}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{removeAnimationState()}{removeAnimationState()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::remove\+Animation\+State (\begin{DoxyParamCaption}\item[{const \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!removeAllAnimationStates@{removeAllAnimationStates}}
\index{removeAllAnimationStates@{removeAllAnimationStates}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{removeAllAnimationStates()}{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::AnimationStateSet@{Ogre::AnimationStateSet}!getAnimationStateIterator@{getAnimationStateIterator}}
\index{getAnimationStateIterator@{getAnimationStateIterator}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getAnimationStateIterator()}{getAnimationStateIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000001}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_animation_state_set_a7df9fa3be7dfeb3902108c9be5757cfc}{get\+Animation\+States()}} \end{DoxyRefDesc}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aef27479f3fb8b03557d3e59547237c4f}\label{class_ogre_1_1_animation_state_set_aef27479f3fb8b03557d3e59547237c4f}} 
\index{Ogre::AnimationStateSet@{Ogre::AnimationStateSet}!getAnimationStateIterator@{getAnimationStateIterator}}
\index{getAnimationStateIterator@{getAnimationStateIterator}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getAnimationStateIterator()}{getAnimationStateIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000002}{Deprecated}}]use \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!getAnimationStates@{getAnimationStates}}
\index{getAnimationStates@{getAnimationStates}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getAnimationStates()}{getAnimationStates()}}
{\footnotesize\ttfamily const \mbox{\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}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_a55b3e321b7cfcbccd56ca600407bfd19}\label{class_ogre_1_1_animation_state_set_a55b3e321b7cfcbccd56ca600407bfd19}} 
\index{Ogre::AnimationStateSet@{Ogre::AnimationStateSet}!copyMatchingState@{copyMatchingState}}
\index{copyMatchingState@{copyMatchingState}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{copyMatchingState()}{copyMatchingState()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::copy\+Matching\+State (\begin{DoxyParamCaption}\item[{\mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!\_notifyDirty@{\_notifyDirty}}
\index{\_notifyDirty@{\_notifyDirty}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{\_notifyDirty()}{\_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::AnimationStateSet@{Ogre::AnimationStateSet}!getDirtyFrameNumber@{getDirtyFrameNumber}}
\index{getDirtyFrameNumber@{getDirtyFrameNumber}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getDirtyFrameNumber()}{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::AnimationStateSet@{Ogre::AnimationStateSet}!\_notifyAnimationStateEnabled@{\_notifyAnimationStateEnabled}}
\index{\_notifyAnimationStateEnabled@{\_notifyAnimationStateEnabled}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{\_notifyAnimationStateEnabled()}{\_notifyAnimationStateEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+Animation\+State\+Set\+::\+\_\+notify\+Animation\+State\+Enabled (\begin{DoxyParamCaption}\item[{\mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!hasEnabledAnimationState@{hasEnabledAnimationState}}
\index{hasEnabledAnimationState@{hasEnabledAnimationState}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{hasEnabledAnimationState()}{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::AnimationStateSet@{Ogre::AnimationStateSet}!getEnabledAnimationStateIterator@{getEnabledAnimationStateIterator}}
\index{getEnabledAnimationStateIterator@{getEnabledAnimationStateIterator}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getEnabledAnimationStateIterator()}{getEnabledAnimationStateIterator()}}
{\footnotesize\ttfamily \mbox{\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[\mbox{\hyperlink{deprecated__deprecated000003}{Deprecated}}]use \mbox{\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::AnimationStateSet@{Ogre::AnimationStateSet}!getEnabledAnimationStates@{getEnabledAnimationStates}}
\index{getEnabledAnimationStates@{getEnabledAnimationStates}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{getEnabledAnimationStates()}{getEnabledAnimationStates()}}
{\footnotesize\ttfamily const \mbox{\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}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_animation_state_set_aee2117dbc4a0615650712ca0924742e5}\label{class_ogre_1_1_animation_state_set_aee2117dbc4a0615650712ca0924742e5}} 
\index{Ogre::AnimationStateSet@{Ogre::AnimationStateSet}!OGRE\_AUTO\_MUTEX@{OGRE\_AUTO\_MUTEX}}
\index{OGRE\_AUTO\_MUTEX@{OGRE\_AUTO\_MUTEX}!Ogre::AnimationStateSet@{Ogre::AnimationStateSet}}
\doxysubsubsection{\texorpdfstring{OGRE\_AUTO\_MUTEX}{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 
\mbox{\hyperlink{_ogre_animation_state_8h}{Ogre\+Animation\+State.\+h}}\end{DoxyCompactItemize}
