LLMultiGesture Class Reference

#include <llmultigesture.h>

Collaboration diagram for LLMultiGesture:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLMultiGesture ()
virtual ~LLMultiGesture ()
S32 getMaxSerialSize () const
BOOL serialize (LLDataPacker &dp) const
BOOL deserialize (LLDataPacker &dp)
void dump ()
void reset ()
const std::string & getTrigger () const

Public Attributes

KEY mKey
MASK mMask
std::string mTrigger
std::string mReplaceText
std::vector< LLGestureStep * > mSteps
BOOL mPlaying
S32 mCurrentStep
BOOL mWaitingAnimations
BOOL mWaitingTimer
BOOL mWaitingAtEnd
LLFrameTimer mWaitTimer
void(* mDoneCallback )(LLMultiGesture *gesture, void *data)
voidmCallbackData
std::set< LLUUIDmRequestedAnimIDs
std::set< LLUUIDmPlayingAnimIDs

Protected Member Functions

 LLMultiGesture (const LLMultiGesture &gest)
const LLMultiGestureoperator= (const LLMultiGesture &rhs)

Detailed Description

Definition at line 45 of file llmultigesture.h.


Constructor & Destructor Documentation

LLMultiGesture::LLMultiGesture (  ) 

Definition at line 49 of file llmultigesture.cpp.

References reset().

LLMultiGesture::~LLMultiGesture (  )  [virtual]

Definition at line 63 of file llmultigesture.cpp.

References mSteps.

LLMultiGesture::LLMultiGesture ( const LLMultiGesture gest  )  [protected]


Member Function Documentation

BOOL LLMultiGesture::deserialize ( LLDataPacker dp  ) 

Definition at line 147 of file llmultigesture.cpp.

References count, LLGestureStepWait::deserialize(), LLGestureStepChat::deserialize(), LLGestureStepSound::deserialize(), LLGestureStepAnimation::deserialize(), FALSE, GESTURE_VERSION, i, llendl, llwarns, mKey, mMask, mReplaceText, mSteps, mTrigger, S32, STEP_ANIMATION, STEP_CHAT, STEP_SOUND, STEP_WAIT, TRUE, type, LLDataPacker::unpackS32(), LLDataPacker::unpackString(), LLDataPacker::unpackU32(), and LLDataPacker::unpackU8().

Referenced by LLPreviewGesture::onLoadComplete(), and LLGestureManager::onLoadComplete().

void LLMultiGesture::dump (  ) 

Definition at line 226 of file llmultigesture.cpp.

References i, llendl, llinfos, mKey, mMask, mReplaceText, mSteps, mTrigger, and S32.

S32 LLMultiGesture::getMaxSerialSize (  )  const

Definition at line 80 of file llmultigesture.cpp.

References mSteps, and S32.

Referenced by LLPreviewGesture::saveIfNeeded().

const std::string& LLMultiGesture::getTrigger (  )  const [inline]

Definition at line 61 of file llmultigesture.h.

References mTrigger.

const LLMultiGesture& LLMultiGesture::operator= ( const LLMultiGesture rhs  )  [protected]

void LLMultiGesture::reset (  ) 

Definition at line 68 of file llmultigesture.cpp.

References FALSE, mCurrentStep, mPlaying, mPlayingAnimIDs, mRequestedAnimIDs, mWaitingAnimations, mWaitingAtEnd, mWaitingTimer, mWaitTimer, and LLFrameTimer::reset().

Referenced by LLMultiGesture(), and LLGestureManager::stopGesture().

BOOL LLMultiGesture::serialize ( LLDataPacker dp  )  const

Definition at line 122 of file llmultigesture.cpp.

References count, FALSE, GESTURE_VERSION, i, mKey, mMask, mReplaceText, mSteps, mTrigger, LLDataPacker::packS32(), LLDataPacker::packString(), LLDataPacker::packU32(), LLDataPacker::packU8(), S32, and TRUE.

Referenced by LLPreviewGesture::saveIfNeeded().


Member Data Documentation

void* LLMultiGesture::mCallbackData

Definition at line 99 of file llmultigesture.h.

Referenced by LLGestureManager::stopGesture().

S32 LLMultiGesture::mCurrentStep

Definition at line 84 of file llmultigesture.h.

Referenced by LLGestureManager::playGesture(), reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().

void(* LLMultiGesture::mDoneCallback)(LLMultiGesture *gesture, void *data)

Referenced by LLGestureManager::stopGesture().

KEY LLMultiGesture::mKey

Definition at line 69 of file llmultigesture.h.

Referenced by LLPreviewGesture::createGesture(), LLGestureManager::deactivateSimilarGestures(), deserialize(), dump(), LLPreviewGesture::loadUIFromGesture(), and serialize().

MASK LLMultiGesture::mMask

Definition at line 70 of file llmultigesture.h.

Referenced by LLPreviewGesture::createGesture(), LLGestureManager::deactivateSimilarGestures(), deserialize(), dump(), LLPreviewGesture::loadUIFromGesture(), and serialize().

BOOL LLMultiGesture::mPlaying

Definition at line 81 of file llmultigesture.h.

Referenced by LLGestureManager::isGesturePlaying(), IsGesturePlaying::operator()(), LLGestureManager::playGesture(), reset(), and LLGestureManager::stepGesture().

std::set<LLUUID> LLMultiGesture::mPlayingAnimIDs

Definition at line 106 of file llmultigesture.h.

Referenced by reset(), LLGestureManager::stepGesture(), and LLGestureManager::stopGesture().

std::string LLMultiGesture::mReplaceText

Definition at line 76 of file llmultigesture.h.

Referenced by LLPreviewGesture::createGesture(), deserialize(), dump(), LLPreviewGesture::loadUIFromGesture(), serialize(), and LLGestureManager::triggerAndReviseString().

std::set<LLUUID> LLMultiGesture::mRequestedAnimIDs

Definition at line 102 of file llmultigesture.h.

Referenced by reset(), LLGestureManager::runStep(), LLGestureManager::stepGesture(), and LLGestureManager::stopGesture().

std::vector<LLGestureStep*> LLMultiGesture::mSteps

Definition at line 78 of file llmultigesture.h.

Referenced by LLPreviewGesture::createGesture(), deserialize(), dump(), getMaxSerialSize(), LLPreviewGesture::loadUIFromGesture(), serialize(), LLGestureManager::stepGesture(), and ~LLMultiGesture().

std::string LLMultiGesture::mTrigger

Definition at line 73 of file llmultigesture.h.

Referenced by LLPreviewGesture::createGesture(), LLGestureManager::deactivateSimilarGestures(), deserialize(), dump(), getTrigger(), LLPreviewGesture::loadUIFromGesture(), serialize(), and LLGestureManager::triggerAndReviseString().

BOOL LLMultiGesture::mWaitingAnimations

Definition at line 87 of file llmultigesture.h.

Referenced by reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().

BOOL LLMultiGesture::mWaitingAtEnd

Definition at line 93 of file llmultigesture.h.

Referenced by reset(), and LLGestureManager::stepGesture().

BOOL LLMultiGesture::mWaitingTimer

Definition at line 90 of file llmultigesture.h.

Referenced by reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().

LLFrameTimer LLMultiGesture::mWaitTimer

Definition at line 96 of file llmultigesture.h.

Referenced by reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().


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