#include <llmultigesture.h>
Collaboration diagram for LLMultiGesture:
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) |
void * | mCallbackData |
std::set< LLUUID > | mRequestedAnimIDs |
std::set< LLUUID > | mPlayingAnimIDs |
Protected Member Functions | |
LLMultiGesture (const LLMultiGesture &gest) | |
const LLMultiGesture & | operator= (const LLMultiGesture &rhs) |
Definition at line 45 of file llmultigesture.h.
LLMultiGesture::LLMultiGesture | ( | ) |
LLMultiGesture::~LLMultiGesture | ( | ) | [virtual] |
LLMultiGesture::LLMultiGesture | ( | const LLMultiGesture & | gest | ) | [protected] |
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 | ( | ) |
S32 LLMultiGesture::getMaxSerialSize | ( | ) | const |
const std::string& LLMultiGesture::getTrigger | ( | ) | const [inline] |
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().
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().
Definition at line 69 of file llmultigesture.h.
Referenced by LLPreviewGesture::createGesture(), LLGestureManager::deactivateSimilarGestures(), deserialize(), dump(), LLPreviewGesture::loadUIFromGesture(), and serialize().
Definition at line 70 of file llmultigesture.h.
Referenced by LLPreviewGesture::createGesture(), LLGestureManager::deactivateSimilarGestures(), deserialize(), dump(), LLPreviewGesture::loadUIFromGesture(), and serialize().
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().
Definition at line 87 of file llmultigesture.h.
Referenced by reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().
Definition at line 93 of file llmultigesture.h.
Referenced by reset(), and LLGestureManager::stepGesture().
Definition at line 90 of file llmultigesture.h.
Referenced by reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().
Definition at line 96 of file llmultigesture.h.
Referenced by reset(), LLGestureManager::runStep(), and LLGestureManager::stepGesture().