LLKeyframeWalkMotion Class Reference

#include <llkeyframewalkmotion.h>

Inheritance diagram for LLKeyframeWalkMotion:

Inheritance graph
[legend]
Collaboration diagram for LLKeyframeWalkMotion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLKeyframeWalkMotion (const LLUUID &id)
virtual ~LLKeyframeWalkMotion ()
virtual LLMotionInitStatus onInitialize (LLCharacter *character)
virtual BOOL onActivate ()
virtual void onDeactivate ()
virtual BOOL onUpdate (F32 time, U8 *joint_mask)

Static Public Member Functions

static LLMotioncreate (const LLUUID &id)

Public Attributes

LLCharactermCharacter
F32 mCyclePhase
F32 mRealTimeLast
F32 mAdjTimeLast
S32 mDownFoot

Friends

class LLWalkAdjustMotion

Detailed Description

Definition at line 48 of file llkeyframewalkmotion.h.


Constructor & Destructor Documentation

LLKeyframeWalkMotion::LLKeyframeWalkMotion ( const LLUUID id  ) 

Definition at line 60 of file llkeyframewalkmotion.cpp.

References mAdjTimeLast, mCharacter, mRealTimeLast, and NULL.

Referenced by create().

LLKeyframeWalkMotion::~LLKeyframeWalkMotion (  )  [virtual]

Definition at line 72 of file llkeyframewalkmotion.cpp.


Member Function Documentation

static LLMotion* LLKeyframeWalkMotion::create ( const LLUUID id  )  [inline, static]

Reimplemented from LLKeyframeMotion.

Definition at line 66 of file llkeyframewalkmotion.h.

References LLKeyframeWalkMotion().

Referenced by LLVOAvatar::LLVOAvatar().

BOOL LLKeyframeWalkMotion::onActivate (  )  [virtual]

Reimplemented from LLKeyframeMotion.

Definition at line 90 of file llkeyframewalkmotion.cpp.

References mAdjTimeLast, mRealTimeLast, and LLKeyframeMotion::onActivate().

void LLKeyframeWalkMotion::onDeactivate (  )  [virtual]

Reimplemented from LLKeyframeMotion.

Definition at line 101 of file llkeyframewalkmotion.cpp.

References mCharacter, LLKeyframeMotion::onDeactivate(), and LLCharacter::removeAnimationData().

LLMotion::LLMotionInitStatus LLKeyframeWalkMotion::onInitialize ( LLCharacter character  )  [virtual]

Reimplemented from LLKeyframeMotion.

Definition at line 80 of file llkeyframewalkmotion.cpp.

References mCharacter, and LLKeyframeMotion::onInitialize().

BOOL LLKeyframeWalkMotion::onUpdate ( F32  time,
U8 joint_mask 
) [virtual]

Reimplemented from LLKeyframeMotion.

Definition at line 110 of file llkeyframewalkmotion.cpp.

References f, LLCharacter::getAnimationData(), LLKeyframeMotion::getDuration(), mAdjTimeLast, mCharacter, mRealTimeLast, and LLKeyframeMotion::onUpdate().


Friends And Related Function Documentation

friend class LLWalkAdjustMotion [friend]

Definition at line 51 of file llkeyframewalkmotion.h.


Member Data Documentation

F32 LLKeyframeWalkMotion::mAdjTimeLast

Definition at line 84 of file llkeyframewalkmotion.h.

Referenced by LLKeyframeWalkMotion(), onActivate(), and onUpdate().

LLCharacter* LLKeyframeWalkMotion::mCharacter

Reimplemented from LLKeyframeMotion.

Definition at line 81 of file llkeyframewalkmotion.h.

Referenced by LLKeyframeWalkMotion(), onDeactivate(), onInitialize(), and onUpdate().

F32 LLKeyframeWalkMotion::mCyclePhase

Definition at line 82 of file llkeyframewalkmotion.h.

S32 LLKeyframeWalkMotion::mDownFoot

Definition at line 85 of file llkeyframewalkmotion.h.

F32 LLKeyframeWalkMotion::mRealTimeLast

Definition at line 83 of file llkeyframewalkmotion.h.

Referenced by LLKeyframeWalkMotion(), onActivate(), and onUpdate().


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