LLInterp< Type > Class Template Reference

#include <llinterp.h>

Inheritance diagram for LLInterp< Type >:

Inheritance graph
[legend]
Collaboration diagram for LLInterp< Type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLInterp ()
virtual ~LLInterp ()
virtual void start ()
void update (const F32 time)
const Type & getCurVal () const
void setStartVal (const Type &start_val)
const Type & getStartVal () const
void setEndVal (const Type &target_val)
const Type & getEndVal () const
void setStartTime (const F32 time)
F32 getStartTime () const
void setEndTime (const F32 time)
F32 getEndTime () const
BOOL isActive () const
BOOL isDone () const

Protected Attributes

F32 mStartTime
F32 mEndTime
F32 mDuration
BOOL mActive
BOOL mDone
Type mStartVal
Type mEndVal
F32 mCurTime
Type mCurVal

Detailed Description

template<typename Type>
class LLInterp< Type >

Definition at line 46 of file llinterp.h.


Constructor & Destructor Documentation

template<typename Type>
LLInterp< Type >::LLInterp (  ) 

Definition at line 145 of file llinterp.h.

References FALSE, LLInterp< Type >::mActive, LLInterp< Type >::mCurTime, LLInterp< Type >::mDone, LLInterp< Type >::mDuration, LLInterp< Type >::mEndTime, and LLInterp< Type >::mStartTime.

template<typename Type>
virtual LLInterp< Type >::~LLInterp (  )  [inline, virtual]

Definition at line 50 of file llinterp.h.


Member Function Documentation

template<class Type>
const Type & LLInterp< Type >::getCurVal (  )  const

Definition at line 189 of file llinterp.h.

References LLInterp< Type >::mCurVal.

template<class Type>
F32 LLInterp< Type >::getEndTime (  )  const

Definition at line 218 of file llinterp.h.

References LLInterp< Type >::mEndTime.

template<class Type>
const Type & LLInterp< Type >::getEndVal (  )  const

Definition at line 183 of file llinterp.h.

References LLInterp< Type >::mEndVal.

template<class Type>
F32 LLInterp< Type >::getStartTime (  )  const

Definition at line 203 of file llinterp.h.

References LLInterp< Type >::mStartTime.

template<class Type>
const Type & LLInterp< Type >::getStartVal (  )  const

Definition at line 171 of file llinterp.h.

References LLInterp< Type >::mStartVal.

template<class Type>
BOOL LLInterp< Type >::isActive (  )  const

Definition at line 231 of file llinterp.h.

References LLInterp< Type >::mActive.

template<class Type>
BOOL LLInterp< Type >::isDone (  )  const

Definition at line 225 of file llinterp.h.

References LLInterp< Type >::mDone.

template<class Type>
void LLInterp< Type >::setEndTime ( const F32  time  ) 

Definition at line 210 of file llinterp.h.

References LLInterp< Type >::mDuration, LLInterp< Type >::mEndTime, and LLInterp< Type >::mStartTime.

Referenced by LLHUDEffectBeam::LLHUDEffectBeam(), and LLHUDEffectBeam::setupParticle().

template<class Type>
void LLInterp< Type >::setEndVal ( const Type &  target_val  ) 

Definition at line 177 of file llinterp.h.

References LLInterp< Type >::mEndVal.

Referenced by LLHUDEffectBeam::setupParticle().

template<class Type>
void LLInterp< Type >::setStartTime ( const F32  time  ) 

Definition at line 196 of file llinterp.h.

References LLInterp< Type >::mDuration, LLInterp< Type >::mEndTime, and LLInterp< Type >::mStartTime.

Referenced by LLHUDEffectBeam::setupParticle().

template<class Type>
void LLInterp< Type >::setStartVal ( const Type &  start_val  ) 

Definition at line 156 of file llinterp.h.

References LLInterp< Type >::mStartVal.

Referenced by LLHUDEffectBeam::setSourceObject(), and LLHUDEffectBeam::setupParticle().

template<class Type>
void LLInterp< Type >::start (  )  [virtual]

Reimplemented in LLInterpLinear< Type >, LLInterpAttractor< Type >, LLInterpLinear< float >, and LLInterpLinear< LLVector3d >.

Definition at line 162 of file llinterp.h.

References FALSE, LLInterp< Type >::mActive, LLInterp< Type >::mCurTime, LLInterp< Type >::mCurVal, LLInterp< Type >::mDone, LLInterp< Type >::mStartTime, and LLInterp< Type >::mStartVal.

Referenced by LLInterpAttractor< Type >::start(), and LLInterpLinear< Type >::start().

template<typename Type>
void LLInterp< Type >::update ( const F32  time  ) 

Reimplemented in LLInterpLinear< Type >, LLInterpExp< Type >, LLInterpAttractor< Type >, LLInterpFunc< Type >, LLInterpLinear< float >, and LLInterpLinear< LLVector3d >.


Member Data Documentation

template<typename Type>
BOOL LLInterp< Type >::mActive [protected]

Definition at line 75 of file llinterp.h.

Referenced by LLInterp< Type >::isActive(), LLInterp< Type >::LLInterp(), LLInterp< Type >::start(), LLInterpExp< Type >::update(), LLInterpFunc< Type >::update(), LLInterpAttractor< Type >::update(), and LLInterpLinear< Type >::update().

template<typename Type>
F32 LLInterp< Type >::mCurTime [protected]

Definition at line 81 of file llinterp.h.

Referenced by LLInterp< Type >::LLInterp(), LLInterp< Type >::start(), LLInterpExp< Type >::update(), LLInterpFunc< Type >::update(), LLInterpAttractor< Type >::update(), and LLInterpLinear< Type >::update().

template<typename Type>
Type LLInterp< Type >::mCurVal [protected]

Definition at line 82 of file llinterp.h.

Referenced by LLInterp< Type >::getCurVal(), LLInterp< Type >::start(), LLInterpExp< Type >::update(), LLInterpFunc< Type >::update(), LLInterpAttractor< Type >::update(), and LLInterpLinear< Type >::update().

template<typename Type>
BOOL LLInterp< Type >::mDone [protected]

Definition at line 76 of file llinterp.h.

Referenced by LLInterp< Type >::isDone(), LLInterp< Type >::LLInterp(), LLInterp< Type >::start(), LLInterpExp< Type >::update(), LLInterpFunc< Type >::update(), LLInterpAttractor< Type >::update(), and LLInterpLinear< Type >::update().

template<typename Type>
F32 LLInterp< Type >::mDuration [protected]

Definition at line 74 of file llinterp.h.

Referenced by LLInterp< Type >::LLInterp(), LLInterp< Type >::setEndTime(), and LLInterp< Type >::setStartTime().

template<typename Type>
F32 LLInterp< Type >::mEndTime [protected]

Definition at line 73 of file llinterp.h.

Referenced by LLInterp< Type >::getEndTime(), LLInterp< Type >::LLInterp(), LLInterp< Type >::setEndTime(), and LLInterp< Type >::setStartTime().

template<typename Type>
Type LLInterp< Type >::mEndVal [protected]

Definition at line 79 of file llinterp.h.

Referenced by LLInterp< Type >::getEndVal(), LLInterp< Type >::setEndVal(), LLInterpExp< Type >::update(), LLInterpAttractor< Type >::update(), and LLInterpLinear< Type >::update().

template<typename Type>
F32 LLInterp< Type >::mStartTime [protected]

Definition at line 72 of file llinterp.h.

Referenced by LLInterp< Type >::getStartTime(), LLInterp< Type >::LLInterp(), LLInterp< Type >::setEndTime(), LLInterp< Type >::setStartTime(), LLInterp< Type >::start(), LLInterpExp< Type >::update(), LLInterpFunc< Type >::update(), and LLInterpLinear< Type >::update().

template<typename Type>
Type LLInterp< Type >::mStartVal [protected]

Definition at line 78 of file llinterp.h.

Referenced by LLInterp< Type >::getStartVal(), LLInterp< Type >::setStartVal(), LLInterp< Type >::start(), LLInterpExp< Type >::update(), and LLInterpLinear< Type >::update().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:25 2010 for Second Life Viewer by  doxygen 1.4.7