LLGestureList Class Reference

#include <llgesture.h>

Inheritance diagram for LLGestureList:

Inheritance graph
[legend]
Collaboration diagram for LLGestureList:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLGestureList ()
virtual ~LLGestureList ()
BOOL trigger (KEY key, MASK mask)
BOOL triggerAndReviseString (const LLString &string, LLString *revised_string)
S32 count () const
virtual LLGestureget (S32 i) const
virtual void put (LLGesture *gesture)
void deleteAll ()
U8serialize (U8 *buffer) const
U8deserialize (U8 *buffer, S32 max_size)
S32 getMaxSerialSize ()

Protected Member Functions

virtual LLGesturecreate_gesture (U8 **buffer, S32 max_size)

Protected Attributes

LLDynamicArray< LLGesture * > mList

Static Protected Attributes

static const S32 SERIAL_HEADER_SIZE = sizeof(S32)


Detailed Description

Definition at line 86 of file llgesture.h.


Constructor & Destructor Documentation

LLGestureList::LLGestureList (  ) 

Definition at line 179 of file llgesture.cpp.

LLGestureList::~LLGestureList (  )  [virtual]

Definition at line 203 of file llgesture.cpp.

References deleteAll().

Here is the call graph for this function:


Member Function Documentation

BOOL LLGestureList::trigger ( KEY  key,
MASK  mask 
)

Definition at line 292 of file llgesture.cpp.

References LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), i, llendl, llwarns, mList, S32, LLGesture::trigger(), and TRUE.

Referenced by LLViewerWindow::handleKey(), and LLViewerGestureList::matchPrefix().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLGestureList::triggerAndReviseString ( const LLString string,
LLString revised_string 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual LLGesture* LLGestureList::get ( S32  i  )  const [inline, virtual]

Definition at line 100 of file llgesture.h.

References LLDynamicArray< Type, BlockSize >::get(), i, and mList.

Here is the call graph for this function:

virtual void LLGestureList::put ( LLGesture gesture  )  [inline, virtual]

Definition at line 101 of file llgesture.h.

References mList, and LLDynamicArray< Type, BlockSize >::put().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

U8 * LLGestureList::serialize ( U8 buffer  )  const

Definition at line 313 of file llgesture.cpp.

References LLDynamicArray< Type, BlockSize >::count(), count(), htonmemcpy(), i, mList, MVT_S32, and S32.

Here is the call graph for this function:

U8 * LLGestureList::deserialize ( U8 buffer,
S32  max_size 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLGestureList::getMaxSerialSize (  ) 

Definition at line 376 of file llgesture.cpp.

References count(), LLGesture::getMaxSerialSize(), and SERIAL_HEADER_SIZE.

Here is the call graph for this function:

LLGesture * LLGestureList::create_gesture ( U8 **  buffer,
S32  max_size 
) [protected, virtual]

Reimplemented in LLViewerGestureList.

Definition at line 371 of file llgesture.cpp.

Referenced by deserialize().

Here is the caller graph for this function:


Member Data Documentation

const S32 LLGestureList::SERIAL_HEADER_SIZE = sizeof(S32) [static, protected]

Definition at line 116 of file llgesture.h.

Referenced by getMaxSerialSize().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:48:14 2008 for SecondLife by  doxygen 1.5.5