30 #ifndef _CEGUIAnimationManager_h_
31 #define _CEGUIAnimationManager_h_
33 #include "CEGUISingleton.h"
34 #include "CEGUIString.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
112 void destroyAnimation(
Animation* animation);
118 void destroyAnimation(
const String& name);
130 Animation* getAnimationAtIdx(
size_t index)
const;
136 size_t getNumAnimations()
const;
166 void destroyAllInstancesOfAnimation(
Animation* animation);
179 size_t getNumAnimationInstances()
const;
187 void stepInstances(
float delta);
201 void loadAnimationsFromXML(
const String& filename,
202 const String& resourceGroup =
"");
212 static void setDefaultResourceGroup(
const String& resourceGroup)
214 s_defaultResourceGroup = resourceGroup;
226 static const String& getDefaultResourceGroup()
228 return s_defaultResourceGroup;
232 typedef std::map<String, Interpolator*> InterpolatorMap;
234 InterpolatorMap d_interpolators;
235 typedef std::vector<Interpolator*> BasicInterpolatorList;
237 BasicInterpolatorList d_basicInterpolators;
239 typedef std::map<String, Animation*> AnimationMap;
241 AnimationMap d_animations;
243 typedef std::multimap<Animation*, AnimationInstance*> AnimationInstanceMap;
245 AnimationInstanceMap d_animationInstances;
247 static const String s_xmlSchemaName;
249 static String s_defaultResourceGroup;
254 #if defined(_MSC_VER)
255 # pragma warning(pop)
258 #endif // end of guard _CEGUIAnimationManager_h_