#include <llgesture.h>
Inheritance diagram for LLGesture:
Public Member Functions | |
LLGesture () | |
LLGesture (KEY key, MASK mask, const std::string &trigger, const LLUUID &sound_item_id, const std::string &animation, const std::string &output_string) | |
LLGesture (U8 **buffer, S32 max_size) | |
LLGesture (const LLGesture &gesture) | |
const LLGesture & | operator= (const LLGesture &rhs) |
virtual | ~LLGesture () |
KEY | getKey () const |
MASK | getMask () const |
const std::string & | getTrigger () const |
const LLUUID & | getSound () const |
const std::string & | getAnimation () const |
const std::string & | getOutputString () const |
virtual BOOL | trigger (KEY key, MASK mask) |
virtual BOOL | trigger (const LLString &string) |
U8 * | serialize (U8 *buffer) const |
U8 * | deserialize (U8 *buffer, S32 max_size) |
Static Public Member Functions | |
static S32 | getMaxSerialSize () |
Protected Attributes | |
KEY | mKey |
MASK | mMask |
std::string | mTrigger |
std::string | mTriggerLower |
LLUUID | mSoundItemID |
std::string | mAnimation |
std::string | mOutputString |
Static Protected Attributes | |
static const S32 | MAX_SERIAL_SIZE = sizeof(KEY) + sizeof(MASK) + 16 + 26 + 41 + 41 |
Definition at line 41 of file llgesture.h.
LLGesture::LLGesture | ( | ) |
Definition at line 44 of file llgesture.cpp.
LLGesture::LLGesture | ( | const LLGesture & | gesture | ) |
Definition at line 75 of file llgesture.cpp.
References mAnimation, mKey, mMask, mOutputString, mSoundItemID, mTrigger, and mTriggerLower.
virtual LLGesture::~LLGesture | ( | ) | [inline, virtual] |
Definition at line 53 of file llgesture.h.
Definition at line 132 of file llgesture.cpp.
References htonmemcpy(), llendl, llwarns, mAnimation, LLUUID::mData, mKey, mMask, mOutputString, mSoundItemID, mTrigger, mTriggerLower, MVT_LLUUID, MVT_S8, MVT_U32, and utf8str_tolower().
Referenced by LLGesture().
const std::string& LLGesture::getAnimation | ( | ) | const [inline] |
KEY LLGesture::getKey | ( | ) | const [inline] |
MASK LLGesture::getMask | ( | ) | const [inline] |
S32 LLGesture::getMaxSerialSize | ( | ) | [static] |
Definition at line 170 of file llgesture.cpp.
References MAX_SERIAL_SIZE.
Referenced by LLGestureList::getMaxSerialSize().
const std::string& LLGesture::getOutputString | ( | ) | const [inline] |
const LLUUID& LLGesture::getSound | ( | ) | const [inline] |
const std::string& LLGesture::getTrigger | ( | ) | const [inline] |
Definition at line 86 of file llgesture.cpp.
References mAnimation, mKey, mMask, mOutputString, mSoundItemID, mTrigger, and mTriggerLower.
Definition at line 113 of file llgesture.cpp.
References htonmemcpy(), mAnimation, LLUUID::mData, mKey, mMask, mOutputString, mSoundItemID, mTrigger, MVT_LLUUID, MVT_S8, and MVT_U32.
std::string LLGesture::mAnimation [protected] |
Definition at line 80 of file llgesture.h.
Referenced by deserialize(), LLViewerGesture::doTrigger(), getAnimation(), LLGesture(), operator=(), and serialize().
const S32 LLGesture::MAX_SERIAL_SIZE = sizeof(KEY) + sizeof(MASK) + 16 + 26 + 41 + 41 [static, protected] |
KEY LLGesture::mKey [protected] |
Definition at line 75 of file llgesture.h.
Referenced by deserialize(), getKey(), LLGesture(), operator=(), serialize(), and LLViewerGesture::trigger().
MASK LLGesture::mMask [protected] |
Definition at line 76 of file llgesture.h.
Referenced by deserialize(), getMask(), LLGesture(), operator=(), serialize(), and LLViewerGesture::trigger().
std::string LLGesture::mOutputString [protected] |
Definition at line 81 of file llgesture.h.
Referenced by deserialize(), LLViewerGesture::doTrigger(), getOutputString(), LLGesture(), operator=(), and serialize().
LLUUID LLGesture::mSoundItemID [protected] |
Definition at line 79 of file llgesture.h.
Referenced by deserialize(), LLViewerGesture::doTrigger(), getSound(), LLGesture(), operator=(), and serialize().
std::string LLGesture::mTrigger [protected] |
Definition at line 77 of file llgesture.h.
Referenced by deserialize(), getTrigger(), LLGesture(), operator=(), and serialize().
std::string LLGesture::mTriggerLower [protected] |
Definition at line 78 of file llgesture.h.
Referenced by deserialize(), LLGesture(), operator=(), and LLViewerGesture::trigger().