tut::LLTemplateMessageBuilderTestData Struct Reference

List of all members.

Static Public Member Functions

static LLMessageTemplate defaultTemplate ()
static LLMessageBlockdefaultBlock (const EMsgVariableType type=MVT_NULL, const S32 size=0, EMsgBlockType block=MBT_VARIABLE)
static LLMessageBlockcreateBlock (char *name, const EMsgVariableType type=MVT_NULL, const S32 size=0, EMsgBlockType block=MBT_VARIABLE)
static LLTemplateMessageBuilderdefaultBuilder (LLMessageTemplate &messageTemplate, char *name=_PREHASH_Test0)
static LLTemplateMessageReadersetReader (LLMessageTemplate &messageTemplate, LLTemplateMessageBuilder *builder, U8 offset=0)

Detailed Description

Definition at line 54 of file lltemplatemessagebuilder_tut.cpp.


Member Function Documentation

static LLMessageBlock* tut::LLTemplateMessageBuilderTestData::createBlock ( char *  name,
const EMsgVariableType  type = MVT_NULL,
const S32  size = 0,
EMsgBlockType  block = MBT_VARIABLE 
) [inline, static]

Definition at line 79 of file lltemplatemessagebuilder_tut.cpp.

References _PREHASH_Test0, LLMessageBlock::addVariable(), MVT_NULL, size, and type.

Referenced by defaultBlock().

static LLMessageBlock* tut::LLTemplateMessageBuilderTestData::defaultBlock ( const EMsgVariableType  type = MVT_NULL,
const S32  size = 0,
EMsgBlockType  block = MBT_VARIABLE 
) [inline, static]

Definition at line 74 of file lltemplatemessagebuilder_tut.cpp.

References _PREHASH_Test0, createBlock(), size, and type.

static LLTemplateMessageBuilder* tut::LLTemplateMessageBuilderTestData::defaultBuilder ( LLMessageTemplate messageTemplate,
char *  name = _PREHASH_Test0 
) [inline, static]

Definition at line 89 of file lltemplatemessagebuilder_tut.cpp.

References _PREHASH_TestMessage, tut::nameMap, LLTemplateMessageBuilder::newMessage(), and LLTemplateMessageBuilder::nextBlock().

static LLMessageTemplate tut::LLTemplateMessageBuilderTestData::defaultTemplate (  )  [inline, static]

Definition at line 56 of file lltemplatemessagebuilder_tut.cpp.

References _PREHASH_TestMessage, FALSE, init(), init_prehash_data(), ll_init_apr(), LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, MFT_HIGH, and start_messaging_system().

static LLTemplateMessageReader* tut::LLTemplateMessageBuilderTestData::setReader ( LLMessageTemplate messageTemplate,
LLTemplateMessageBuilder builder,
U8  offset = 0 
) [inline, static]

Takes ownership of builder

Definition at line 99 of file lltemplatemessagebuilder_tut.cpp.

References LLTemplateMessageBuilder::buildMessage(), LL_PACKET_ID_SIZE, tut::numberMap, LLTemplateMessageReader::readMessage(), and LLTemplateMessageReader::validateMessage().


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