Animator Class Reference
[Framework Module]

#include <animator.h>

Inheritance diagram for Animator:

Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.

Public Types

enum  AnimationBegin { AB_DEFAULT, AB_BEGIN, AB_RANDOM }
enum  AnimatorState { AS_STOP, AS_PLAY, AS_PAUSE }

Public Member Functions

 Animator (const char *id)
virtual ~Animator ()
void Play (AnimationBegin anim_begin=AB_DEFAULT)
void Pause ()
void PlayPause ()
void Stop ()
void SetAnimation (const string &anim_file)
void SetBuffer (void *buffer)
void Update ()
bool LoadResources ()
bool IsResourcesValid ()

Protected Member Functions

void UnloadResources ()

Private Attributes

string anim_file
AnimatorState state
double start_time
double pause_time
double play_time
double anim_time
Ref< Animationanimation
void * buffer
bool resources_valid
bool zig


Member Enumeration Documentation

enum Animator::AnimationBegin

Enumerator:
AB_DEFAULT 
AB_BEGIN 
AB_RANDOM 

enum Animator::AnimatorState

Enumerator:
AS_STOP 
AS_PLAY 
AS_PAUSE 


Constructor & Destructor Documentation

Animator::Animator ( const char *  id  ) 

Constructor.

Animator::~Animator (  )  [virtual]

Destructor.


Member Function Documentation

void Animator::Play ( AnimationBegin  anim_begin = AB_DEFAULT  ) 

void Animator::Pause (  ) 

void Animator::PlayPause (  ) 

void Animator::Stop (  ) 

void Animator::SetAnimation ( const string &  anim_file  )  [inline]

void Animator::SetBuffer ( void *  buffer  )  [inline]

void Animator::Update (  ) 

bool Animator::LoadResources (  ) 

bool Animator::IsResourcesValid (  ) 

void Animator::UnloadResources (  )  [protected]


Member Data Documentation

string Animator::anim_file [private]

AnimatorState Animator::state [private]

double Animator::start_time [private]

double Animator::pause_time [private]

double Animator::play_time [private]

double Animator::anim_time [private]

Ref<Animation> Animator::animation [private]

void* Animator::buffer [private]

bool Animator::resources_valid [private]

bool Animator::zig [private]


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:31 2007 for Dark Oberon by  doxygen 1.5.3