30 #ifndef _CEGUIAnimation_h_
31 #define _CEGUIAnimation_h_
33 #include "CEGUIString.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
93 const String& getName()
const;
99 void setReplayMode(ReplayMode mode);
105 ReplayMode getReplayMode()
const;
111 void setDuration(
float duration);
117 float getDuration()
const;
127 void setAutoStart(
bool autoStart);
136 bool getAutoStart()
const;
155 const String& interpolator);
161 void destroyAffector(
Affector* affector);
167 Affector* getAffectorAtIdx(
size_t index)
const;
173 size_t getNumAffectors(
void)
const;
200 void defineAutoSubscription(
const String& eventName,
const String& action);
209 void undefineAutoSubscription(
const String& eventName,
219 void undefineAllAutoSubscriptions();
267 ReplayMode d_replayMode;
275 typedef std::vector<Affector*> AffectorList;
277 AffectorList d_affectors;
279 typedef std::multimap<String, String> SubscriptionMap;
284 SubscriptionMap d_autoSubscriptions;
289 #if defined(_MSC_VER)
290 # pragma warning(pop)
293 #endif // end of guard _CEGUIAnimation_h_