doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idExtrapolate< type > Class Template Reference

#include <Extrapolate.h>

Public Member Functions

 idExtrapolate ()
 
void Init (const float startTime, const float duration, const type &startValue, const type &baseSpeed, const type &speed, const extrapolation_t extrapolationType)
 
type GetCurrentValue (float time) const
 
type GetCurrentSpeed (float time) const
 
bool IsDone (float time) const
 
void SetStartTime (float time)
 
float GetStartTime (void) const
 
float GetEndTime (void) const
 
float GetDuration (void) const
 
void SetStartValue (const type &value)
 
const typeGetStartValue (void) const
 
const typeGetBaseSpeed (void) const
 
const typeGetSpeed (void) const
 
extrapolation_t GetExtrapolationType (void) const
 

Private Attributes

extrapolation_t extrapolationType
 
float startTime
 
float duration
 
type startValue
 
type baseSpeed
 
type speed
 
float currentTime
 
type currentValue
 

Detailed Description

template<class type>
class idExtrapolate< type >

Definition at line 51 of file Extrapolate.h.

Constructor & Destructor Documentation

template<class type >
ID_INLINE idExtrapolate< type >::idExtrapolate ( )

Definition at line 86 of file Extrapolate.h.

Member Function Documentation

template<class type>
const type& idExtrapolate< type >::GetBaseSpeed ( void  ) const
inline

Definition at line 65 of file Extrapolate.h.

template<class type >
ID_INLINE type idExtrapolate< type >::GetCurrentSpeed ( float  time) const

Definition at line 197 of file Extrapolate.h.

template<class type >
ID_INLINE type idExtrapolate< type >::GetCurrentValue ( float  time) const

Definition at line 119 of file Extrapolate.h.

template<class type>
float idExtrapolate< type >::GetDuration ( void  ) const
inline

Definition at line 62 of file Extrapolate.h.

template<class type>
float idExtrapolate< type >::GetEndTime ( void  ) const
inline

Definition at line 61 of file Extrapolate.h.

template<class type>
extrapolation_t idExtrapolate< type >::GetExtrapolationType ( void  ) const
inline

Definition at line 67 of file Extrapolate.h.

template<class type>
const type& idExtrapolate< type >::GetSpeed ( void  ) const
inline

Definition at line 66 of file Extrapolate.h.

template<class type>
float idExtrapolate< type >::GetStartTime ( void  ) const
inline

Definition at line 60 of file Extrapolate.h.

template<class type>
const type& idExtrapolate< type >::GetStartValue ( void  ) const
inline

Definition at line 64 of file Extrapolate.h.

template<class type>
ID_INLINE void idExtrapolate< type >::Init ( const float  startTime,
const float  duration,
const type startValue,
const type baseSpeed,
const type speed,
const extrapolation_t  extrapolationType 
)

Definition at line 102 of file Extrapolate.h.

template<class type>
bool idExtrapolate< type >::IsDone ( float  time) const
inline

Definition at line 58 of file Extrapolate.h.

template<class type>
void idExtrapolate< type >::SetStartTime ( float  time)
inline

Definition at line 59 of file Extrapolate.h.

template<class type>
void idExtrapolate< type >::SetStartValue ( const type value)
inline

Definition at line 63 of file Extrapolate.h.

Member Data Documentation

template<class type>
type idExtrapolate< type >::baseSpeed
private

Definition at line 74 of file Extrapolate.h.

template<class type>
float idExtrapolate< type >::currentTime
mutableprivate

Definition at line 76 of file Extrapolate.h.

template<class type>
type idExtrapolate< type >::currentValue
mutableprivate

Definition at line 77 of file Extrapolate.h.

template<class type>
float idExtrapolate< type >::duration
private

Definition at line 72 of file Extrapolate.h.

template<class type>
extrapolation_t idExtrapolate< type >::extrapolationType
private

Definition at line 70 of file Extrapolate.h.

template<class type>
type idExtrapolate< type >::speed
private

Definition at line 75 of file Extrapolate.h.

template<class type>
float idExtrapolate< type >::startTime
private

Definition at line 71 of file Extrapolate.h.

template<class type>
type idExtrapolate< type >::startValue
private

Definition at line 73 of file Extrapolate.h.


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