File: classCEGUI_1_1AnimationManager.html

package info (click to toggle)
cegui-mk2 0.7.6-3.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 105,388 kB
  • ctags: 82,178
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (426 lines) | stat: -rw-r--r-- 32,223 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Crazy Eddies GUI System: CEGUI::AnimationManager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crazy Eddies GUI System&#160;<span id="projectnumber">0.7.6</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceCEGUI.html">CEGUI</a>      </li>
      <li class="navelem"><a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CEGUI::AnimationManager Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::AnimationManager" --><!-- doxytag: inherits="Singleton&lt; AnimationManager &gt;" --><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for CEGUI::AnimationManager:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1AnimationManager__inherit__graph.gif" border="0" usemap="#CEGUI_1_1AnimationManager_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1AnimationManager_inherit__map" id="CEGUI_1_1AnimationManager_inherit__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Singleton.html" title="CEGUI::Singleton\&lt; AnimationManager \&gt;" alt="" coords="5,5,264,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Collaboration diagram for CEGUI::AnimationManager:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1AnimationManager__coll__graph.gif" border="0" usemap="#CEGUI_1_1AnimationManager_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1AnimationManager_coll__map" id="CEGUI_1_1AnimationManager_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Singleton.html" title="CEGUI::Singleton\&lt; AnimationManager \&gt;" alt="" coords="5,232,264,261"/><area shape="rect" id="node5" href="classCEGUI_1_1String.html" title="String class used within the GUI system." alt="" coords="81,5,188,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classCEGUI_1_1AnimationManager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#ae964aaaafc8e3fa06a17313332f16b08">AnimationManager</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> object.  <a href="#ae964aaaafc8e3fa06a17313332f16b08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a05a5a2731301d8d96319d1f52a552195">~AnimationManager</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor for <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> objects.  <a href="#a05a5a2731301d8d96319d1f52a552195"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a472c448c3924d3974b58c10d8ca7939d">addInterpolator</a> (<a class="el" href="classCEGUI_1_1Interpolator.html">Interpolator</a> *interpolator)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds interpolator to be available for Affectors.  <a href="#a472c448c3924d3974b58c10d8ca7939d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9783247c7f61ee1423469b4f38145a60"></a><!-- doxytag: member="CEGUI::AnimationManager::removeInterpolator" ref="a9783247c7f61ee1423469b4f38145a60" args="(Interpolator *interpolator)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a9783247c7f61ee1423469b4f38145a60">removeInterpolator</a> (<a class="el" href="classCEGUI_1_1Interpolator.html">Interpolator</a> *interpolator)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes interpolator. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cc9d683580f819c784a2331aac3372f"></a><!-- doxytag: member="CEGUI::AnimationManager::getInterpolator" ref="a5cc9d683580f819c784a2331aac3372f" args="(const String &amp;type) const " -->
<a class="el" href="classCEGUI_1_1Interpolator.html">Interpolator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a5cc9d683580f819c784a2331aac3372f">getInterpolator</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;type) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves interpolator by type. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#ae12d15454c1ea9cb91f14ea3d68b6b40">createAnimation</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;name=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> definition.  <a href="#ae12d15454c1ea9cb91f14ea3d68b6b40"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8790f911051dcaa4311c4967f31b0bc0"></a><!-- doxytag: member="CEGUI::AnimationManager::destroyAnimation" ref="a8790f911051dcaa4311c4967f31b0bc0" args="(Animation *animation)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a8790f911051dcaa4311c4967f31b0bc0">destroyAnimation</a> (<a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *animation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys given animation definition. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33bcfb3709e6675dbe295e6bb39420dd"></a><!-- doxytag: member="CEGUI::AnimationManager::destroyAnimation" ref="a33bcfb3709e6675dbe295e6bb39420dd" args="(const String &amp;name)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a33bcfb3709e6675dbe295e6bb39420dd">destroyAnimation</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys given animation definition by name. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6cf922537b567735473b623c38f4cffb"></a><!-- doxytag: member="CEGUI::AnimationManager::getAnimation" ref="a6cf922537b567735473b623c38f4cffb" args="(const String &amp;name) const " -->
<a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a6cf922537b567735473b623c38f4cffb">getAnimation</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;name) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves animation by name. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab62c9b66b6e4c977b5620799c698a822"></a><!-- doxytag: member="CEGUI::AnimationManager::getAnimationAtIdx" ref="ab62c9b66b6e4c977b5620799c698a822" args="(size_t index) const " -->
<a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#ab62c9b66b6e4c977b5620799c698a822">getAnimationAtIdx</a> (size_t index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves animation by index. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55c067054864dc7243659868645873bc"></a><!-- doxytag: member="CEGUI::AnimationManager::getNumAnimations" ref="a55c067054864dc7243659868645873bc" args="() const " -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a55c067054864dc7243659868645873bc">getNumAnimations</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves number of defined animations. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1AnimationInstance.html">AnimationInstance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#ad157d5e9015e448ce6c20f635de70ec1">instantiateAnimation</a> (<a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *animation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiates given animation.  <a href="#ad157d5e9015e448ce6c20f635de70ec1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1AnimationInstance.html">AnimationInstance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#ac7f1847091900980ec366546353fd668">instantiateAnimation</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiates given animation by name.  <a href="#ac7f1847091900980ec366546353fd668"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7558e9ba0094731a62281e237842e933"></a><!-- doxytag: member="CEGUI::AnimationManager::destroyAnimationInstance" ref="a7558e9ba0094731a62281e237842e933" args="(AnimationInstance *instance)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a7558e9ba0094731a62281e237842e933">destroyAnimationInstance</a> (<a class="el" href="classCEGUI_1_1AnimationInstance.html">AnimationInstance</a> *instance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys given animation instance. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb93f6cc80e648755307288f872b47ca"></a><!-- doxytag: member="CEGUI::AnimationManager::destroyAllInstancesOfAnimation" ref="adb93f6cc80e648755307288f872b47ca" args="(Animation *animation)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#adb93f6cc80e648755307288f872b47ca">destroyAllInstancesOfAnimation</a> (<a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *animation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys all instances of given animation. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abaeb508096e3d4dcee2fb4c8f071a557"></a><!-- doxytag: member="CEGUI::AnimationManager::getAnimationInstanceAtIdx" ref="abaeb508096e3d4dcee2fb4c8f071a557" args="(size_t index) const " -->
<a class="el" href="classCEGUI_1_1AnimationInstance.html">AnimationInstance</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#abaeb508096e3d4dcee2fb4c8f071a557">getAnimationInstanceAtIdx</a> (size_t index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves animation instance at given index. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b174e11221064abaf03a9fe6fe915c6"></a><!-- doxytag: member="CEGUI::AnimationManager::getNumAnimationInstances" ref="a2b174e11221064abaf03a9fe6fe915c6" args="() const " -->
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a2b174e11221064abaf03a9fe6fe915c6">getNumAnimationInstances</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves number of animation instances, number of times any animation was instantiated. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a71d018891f5c114f236e832561ad455c">stepInstances</a> (float delta)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal method, gets called by <a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">CEGUI::System</a> automatically.  <a href="#a71d018891f5c114f236e832561ad455c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#aedfaa97e0b5a246b7bf1a2a829ebbe0f">loadAnimationsFromXML</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;filename, const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;resourceGroup=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses an XML file containing animation specifications to create and initialise <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> objects.  <a href="#aedfaa97e0b5a246b7bf1a2a829ebbe0f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#a8bbb18cfbdebc084be56c2d7ab53f928">isAnimationPresent</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;name) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Examines the list of Animations to see if one exists with the given name.  <a href="#a8bbb18cfbdebc084be56c2d7ab53f928"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#aca21937935f9509772dc061e9b79e231">setDefaultResourceGroup</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;resourceGroup)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default resource group to be used when loading animation xml data.  <a href="#aca21937935f9509772dc061e9b79e231"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1AnimationManager.html#aad6764f8af1949eca4730b8717073057">getDefaultResourceGroup</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the default resource group currently set for loading animation xml data.  <a href="#aad6764f8af1949eca4730b8717073057"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae964aaaafc8e3fa06a17313332f16b08"></a><!-- doxytag: member="CEGUI::AnimationManager::AnimationManager" ref="ae964aaaafc8e3fa06a17313332f16b08" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CEGUI::AnimationManager::AnimationManager </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a new <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> object. </p>
<p>NB: Client code should not create <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> objects - they are of limited use to you! The intended pattern of access is to get a pointer to the GUI system's <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> via the <a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">System</a> object, and use that. </p>

</div>
</div>
<a class="anchor" id="a05a5a2731301d8d96319d1f52a552195"></a><!-- doxytag: member="CEGUI::AnimationManager::~AnimationManager" ref="a05a5a2731301d8d96319d1f52a552195" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CEGUI::AnimationManager::~AnimationManager </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor for <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> objects. </p>
<p>This will properly destroy all remaining <a class="el" href="classCEGUI_1_1AnimationInstance.html" title="Defines an &#39;animation instance&#39; class.">AnimationInstance</a> and <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> objects. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a472c448c3924d3974b58c10d8ca7939d"></a><!-- doxytag: member="CEGUI::AnimationManager::addInterpolator" ref="a472c448c3924d3974b58c10d8ca7939d" args="(Interpolator *interpolator)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::AnimationManager::addInterpolator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1Interpolator.html">Interpolator</a> *&#160;</td>
          <td class="paramname"><em>interpolator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds interpolator to be available for Affectors. </p>
<dl class="user"><dt><b></b></dt><dd><a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> ships with several basic interpolators that are always available, float, bool, colour, <a class="el" href="classCEGUI_1_1UDim.html" title="Class representing a unified dimension; that is a dimension that has both a relative &#39;scale&#39; portion ...">UDim</a>, <a class="el" href="classCEGUI_1_1UVector2.html" title="Two dimensional vector class built using unified dimensions (UDims). The UVector2 class is used for r...">UVector2</a>, ... but you can add your own custom interpolator if needed! just note that <a class="el" href="classCEGUI_1_1AnimationManager.html">AnimationManager</a> only deletes inbuilt interpolators. It will remove your interpolator if you don't do it yourself, but you definitely have to delete it yourself! </dd></dl>

</div>
</div>
<a class="anchor" id="ae12d15454c1ea9cb91f14ea3d68b6b40"></a><!-- doxytag: member="CEGUI::AnimationManager::createAnimation" ref="ae12d15454c1ea9cb91f14ea3d68b6b40" args="(const String &amp;name=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1Animation.html">Animation</a>* CEGUI::AnimationManager::createAnimation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;&quot;</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> definition. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aad6764f8af1949eca4730b8717073057"></a><!-- doxytag: member="CEGUI::AnimationManager::getDefaultResourceGroup" ref="aad6764f8af1949eca4730b8717073057" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classCEGUI_1_1String.html">String</a>&amp; CEGUI::AnimationManager::getDefaultResourceGroup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the default resource group currently set for loading animation xml data. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> describing the default resource group identifier that will be used when loading <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> xml data. </dd></dl>

</div>
</div>
<a class="anchor" id="ad157d5e9015e448ce6c20f635de70ec1"></a><!-- doxytag: member="CEGUI::AnimationManager::instantiateAnimation" ref="ad157d5e9015e448ce6c20f635de70ec1" args="(Animation *animation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1AnimationInstance.html">AnimationInstance</a>* CEGUI::AnimationManager::instantiateAnimation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1Animation.html">Animation</a> *&#160;</td>
          <td class="paramname"><em>animation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiates given animation. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCEGUI_1_1AnimationInstance.html" title="Defines an &#39;animation instance&#39; class.">AnimationInstance</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac7f1847091900980ec366546353fd668"></a><!-- doxytag: member="CEGUI::AnimationManager::instantiateAnimation" ref="ac7f1847091900980ec366546353fd668" args="(const String &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1AnimationInstance.html">AnimationInstance</a>* CEGUI::AnimationManager::instantiateAnimation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiates given animation by name. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCEGUI_1_1AnimationInstance.html" title="Defines an &#39;animation instance&#39; class.">AnimationInstance</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8bbb18cfbdebc084be56c2d7ab53f928"></a><!-- doxytag: member="CEGUI::AnimationManager::isAnimationPresent" ref="a8bbb18cfbdebc084be56c2d7ab53f928" args="(const String &amp;name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CEGUI::AnimationManager::isAnimationPresent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Examines the list of Animations to see if one exists with the given name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> holding the name of the <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> to look for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if an <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> was found with a name matching <em>name</em>. false if no matching <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> was found. </dd></dl>

</div>
</div>
<a class="anchor" id="aedfaa97e0b5a246b7bf1a2a829ebbe0f"></a><!-- doxytag: member="CEGUI::AnimationManager::loadAnimationsFromXML" ref="aedfaa97e0b5a246b7bf1a2a829ebbe0f" args="(const String &amp;filename, const String &amp;resourceGroup=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::AnimationManager::loadAnimationsFromXML </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>resourceGroup</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parses an XML file containing animation specifications to create and initialise <a class="el" href="classCEGUI_1_1Animation.html" title="Defines an &#39;animation&#39; class.">Animation</a> objects. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding the filename of the XML file to be processed.</td></tr>
    <tr><td class="paramname">resourceGroup</td><td>Resource group identifier to be passed to the resource provider when loading the XML file. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aca21937935f9509772dc061e9b79e231"></a><!-- doxytag: member="CEGUI::AnimationManager::setDefaultResourceGroup" ref="aca21937935f9509772dc061e9b79e231" args="(const String &amp;resourceGroup)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void CEGUI::AnimationManager::setDefaultResourceGroup </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>resourceGroup</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the default resource group to be used when loading animation xml data. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">resourceGroup</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> describing the default resource group identifier to be used. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a71d018891f5c114f236e832561ad455c"></a><!-- doxytag: member="CEGUI::AnimationManager::stepInstances" ref="a71d018891f5c114f236e832561ad455c" args="(float delta)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::AnimationManager::stepInstances </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>delta</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Internal method, gets called by <a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">CEGUI::System</a> automatically. </p>
<p>Only use if you know what you're doing! </p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:40 for Crazy Eddies GUI System by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>