29 #ifndef _CEGUIAnimation_h_
30 #define _CEGUIAnimation_h_
32 #include "CEGUI/String.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
92 const String& getName()
const;
98 void setReplayMode(ReplayMode mode);
104 ReplayMode getReplayMode()
const;
110 void setDuration(
float duration);
116 float getDuration()
const;
126 void setAutoStart(
bool autoStart);
135 bool getAutoStart()
const;
154 const String& interpolator);
160 void destroyAffector(
Affector* affector);
166 Affector* getAffectorAtIdx(
size_t index)
const;
172 size_t getNumAffectors(
void)
const;
199 void defineAutoSubscription(
const String& eventName,
const String& action);
208 void undefineAutoSubscription(
const String& eventName,
218 void undefineAllAutoSubscriptions();
278 ReplayMode d_replayMode;
287 CEGUI_VECTOR_ALLOC(
Affector*)> AffectorList;
289 AffectorList d_affectors;
291 typedef std::multimap<String, String, std::less<String>
297 SubscriptionMap d_autoSubscriptions;
302 #if defined(_MSC_VER)
303 # pragma warning(pop)
306 #endif // end of guard _CEGUIAnimation_h_