LLScriptEventData Class Reference

#include <lscript_execute.h>

Collaboration diagram for LLScriptEventData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptEventData ()
 LLScriptEventData (U8 *src, S32 &offset)
void set (U8 *src, S32 &offset)
 ~LLScriptEventData ()
void addEventData (LLScriptDataCollection *data)
LLScriptDataCollectiongetNextEvent (LSCRIPTStateEventType type)
LLScriptDataCollectiongetNextEvent ()
void removeEventType (LSCRIPTStateEventType type)
S32 getSavedSize ()
S32 write2bytestream (U8 *dest)

Public Attributes

LLLinkedList< LLScriptDataCollectionmEventDataList

Detailed Description

Definition at line 259 of file lscript_execute.h.


Constructor & Destructor Documentation

LLScriptEventData::LLScriptEventData (  )  [inline]

Definition at line 262 of file lscript_execute.h.

LLScriptEventData::LLScriptEventData ( U8 src,
S32 offset 
) [inline]

Definition at line 263 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::addData(), bytestream2integer(), i, mEventDataList, and S32.

LLScriptEventData::~LLScriptEventData (  )  [inline]

Definition at line 281 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::deleteAllData(), and mEventDataList.


Member Function Documentation

void LLScriptEventData::addEventData ( LLScriptDataCollection data  )  [inline]

Definition at line 286 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::addDataAtEnd(), LLLinkedList< DATA_TYPE >::getLength(), MAX_EVENTS_IN_QUEUE, and mEventDataList.

LLScriptDataCollection* LLScriptEventData::getNextEvent (  )  [inline]

Definition at line 308 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::getFirstData(), mEventDataList, NULL, and LLLinkedList< DATA_TYPE >::removeCurrentData().

LLScriptDataCollection* LLScriptEventData::getNextEvent ( LSCRIPTStateEventType  type  )  [inline]

Definition at line 293 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::getFirstData(), LLLinkedList< DATA_TYPE >::getNextData(), mEventDataList, LLScriptDataCollection::mType, NULL, and LLLinkedList< DATA_TYPE >::removeCurrentData().

Referenced by LLScriptExecute::run().

S32 LLScriptEventData::getSavedSize (  )  [inline]

Definition at line 333 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::getFirstData(), LLLinkedList< DATA_TYPE >::getNextData(), LLScriptDataCollection::getSavedSize(), mEventDataList, S32, and size.

void LLScriptEventData::removeEventType ( LSCRIPTStateEventType  type  )  [inline]

Definition at line 319 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::deleteCurrentData(), LLLinkedList< DATA_TYPE >::getFirstData(), LLLinkedList< DATA_TYPE >::getNextData(), mEventDataList, and LLScriptDataCollection::mType.

void LLScriptEventData::set ( U8 src,
S32 offset 
) [inline]

Definition at line 272 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::addData(), bytestream2integer(), i, mEventDataList, and S32.

S32 LLScriptEventData::write2bytestream ( U8 dest  )  [inline]

Definition at line 348 of file lscript_execute.h.

References LLLinkedList< DATA_TYPE >::getFirstData(), LLLinkedList< DATA_TYPE >::getLength(), LLLinkedList< DATA_TYPE >::getNextData(), integer2bytestream(), mEventDataList, S32, and LLScriptDataCollection::write2bytestream().


Member Data Documentation

LLLinkedList<LLScriptDataCollection> LLScriptEventData::mEventDataList

Definition at line 364 of file lscript_execute.h.

Referenced by addEventData(), getNextEvent(), getSavedSize(), LLScriptEventData(), removeEventType(), LLScriptExecute::run(), set(), write2bytestream(), and ~LLScriptEventData().


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