Ginga  0.13.6.1771-df200
The iTV middleware.
AnimInfo Class Reference

#include <PlayerAnimator.h>

Public Member Functions

 AnimInfo (const string &, double, double, Time)
 
 ~AnimInfo ()
 
string getName ()
 
double getCurrent ()
 
double getTarget ()
 
Time getDuration ()
 
double getSpeed ()
 
bool isDone ()
 
bool isInit ()
 
void init (double current)
 
void update ()
 

Private Attributes

string _name
 
double _current
 
double _target
 
Time _duration
 
Time _last_update
 
double _speed
 
bool _done
 
bool _init
 

Constructor & Destructor Documentation

AnimInfo::AnimInfo ( const string &  name,
double  from,
double  to,
Time  dur 
)
AnimInfo::~AnimInfo ( )

Member Function Documentation

double AnimInfo::getCurrent ( )
Time AnimInfo::getDuration ( )
string AnimInfo::getName ( )
double AnimInfo::getSpeed ( )
double AnimInfo::getTarget ( )
void AnimInfo::init ( double  current)

References g_assert().

Referenced by PlayerAnimator::doSchedule().

bool AnimInfo::isDone ( )

Referenced by isDone().

bool AnimInfo::isInit ( )
void AnimInfo::update ( )

References g_assert(), and GINGA_NAMESPACE_END.

Member Data Documentation

double AnimInfo::_current
private
bool AnimInfo::_done
private
Time AnimInfo::_duration
private
bool AnimInfo::_init
private
Time AnimInfo::_last_update
private
string AnimInfo::_name
private
double AnimInfo::_speed
private
double AnimInfo::_target
private

The documentation for this class was generated from the following files: