#include <llgesture.h>
Inheritance diagram for LLGestureList:
Public Member Functions | |
LLGestureList () | |
virtual | ~LLGestureList () |
BOOL | trigger (KEY key, MASK mask) |
BOOL | triggerAndReviseString (const LLString &string, LLString *revised_string) |
S32 | count () const |
virtual LLGesture * | get (S32 i) const |
virtual void | put (LLGesture *gesture) |
void | deleteAll () |
U8 * | serialize (U8 *buffer) const |
U8 * | deserialize (U8 *buffer, S32 max_size) |
S32 | getMaxSerialSize () |
Protected Member Functions | |
virtual LLGesture * | create_gesture (U8 **buffer, S32 max_size) |
Protected Attributes | |
LLDynamicArray< LLGesture * > | mList |
Static Protected Attributes | |
static const S32 | SERIAL_HEADER_SIZE = sizeof(S32) |
Definition at line 86 of file llgesture.h.
LLGestureList::LLGestureList | ( | ) |
Definition at line 179 of file llgesture.cpp.
LLGestureList::~LLGestureList | ( | ) | [virtual] |
S32 LLGestureList::count | ( | ) | const [inline] |
Definition at line 99 of file llgesture.h.
References LLDynamicArray< Type, BlockSize >::count(), and mList.
Referenced by deleteAll(), deserialize(), getMaxSerialSize(), LLViewerGestureList::matchPrefix(), and serialize().
Reimplemented in LLViewerGestureList.
Definition at line 371 of file llgesture.cpp.
Referenced by deserialize().
void LLGestureList::deleteAll | ( | ) |
Definition at line 209 of file llgesture.cpp.
References LLDynamicArray< Type, BlockSize >::count(), count(), LLDynamicArray< Type, BlockSize >::get(), i, mList, LLDynamicArray< Type, BlockSize >::reset(), and S32.
Referenced by deserialize(), and ~LLGestureList().
Definition at line 330 of file llgesture.cpp.
References count(), create_gesture(), deleteAll(), htonmemcpy(), i, llendl, llwarns, mList, MVT_S32, LLDynamicArray< Type, BlockSize >::reserve_block(), and S32.
Referenced by LLViewerGestureList::xferCallback().
Definition at line 100 of file llgesture.h.
References LLDynamicArray< Type, BlockSize >::get(), and mList.
Referenced by LLViewerGestureList::matchPrefix().
S32 LLGestureList::getMaxSerialSize | ( | ) |
Definition at line 376 of file llgesture.cpp.
References count(), LLGesture::getMaxSerialSize(), and SERIAL_HEADER_SIZE.
Definition at line 101 of file llgesture.h.
References mList, and LLDynamicArray< Type, BlockSize >::put().
Definition at line 313 of file llgesture.cpp.
References LLDynamicArray< Type, BlockSize >::count(), count(), htonmemcpy(), i, mList, MVT_S32, and S32.
Definition at line 292 of file llgesture.cpp.
References LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), i, llendl, llwarns, mList, S32, and TRUE.
Referenced by LLViewerWindow::handleKey(), and LLViewerGestureList::matchPrefix().
Definition at line 222 of file llgesture.cpp.
References LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), i, mList, NULL, S32, LLStringBase< char >::toLower(), and TRUE.
LLDynamicArray<LLGesture*> LLGestureList::mList [protected] |
Definition at line 114 of file llgesture.h.
Referenced by count(), deleteAll(), deserialize(), get(), put(), serialize(), trigger(), and triggerAndReviseString().
const S32 LLGestureList::SERIAL_HEADER_SIZE = sizeof(S32) [static, protected] |