nAnimationServer Class Reference
[Animation Subsystem]
#include <nanimationserver.h>
Inheritance diagram for nAnimationServer:

Detailed Description
The animation server offers central services of the animation subsystem (at the moment it is merely a factory for nAnimation objects).(C) 2003 RadonLabs GmbH
Definition at line 20 of file nanimationserver.h.
Public Member Functions | |
| nAnimationServer () | |
| constructor | |
| virtual | ~nAnimationServer () |
| destructor | |
| virtual nAnimation * | NewMemoryAnimation (const nString &rsrcName) |
| create an in-memory animation object (always shared) | |
| virtual nAnimation * | NewStreamingAnimation () |
| create a new streaming animation object (never shared) | |
Static Public Member Functions | |
| static nAnimationServer * | Instance () |
| return instance pointer | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 15 of file nanimationserver_main.cc. |
|
|
destructor
Definition at line 25 of file nanimationserver_main.cc. |
Member Function Documentation
|
|
return instance pointer
Definition at line 45 of file nanimationserver.h. |
|
|
create an in-memory animation object (always shared) Create a new memory animation object. Memory animations keep the entire animation data in memory, but are generally shared. Memory anims should be used when many objects are driven by the same animation.
Definition at line 45 of file nanimationserver_main.cc. |
|
|
create a new streaming animation object (never shared) Create a new streaming animation. Streaming animations stream their data from disk, which has the advantage that animations can be very long (hours if you want), but each streaming animation needs its own small streaming buffer, which may add up when many objects are driven by streamed animations, also disk bandwidth and seek latency may become a limiting factor. Streaming animations generally cannot be shared, thus this method has no resource name parameter. Definition at line 64 of file nanimationserver_main.cc. |
The documentation for this class was generated from the following files: