Static Public Member Functions | |
static LLMessageTemplate | defaultTemplate () |
static LLMessageBlock * | defaultBlock (const EMsgVariableType type=MVT_NULL, const S32 size=0, EMsgBlockType block=MBT_VARIABLE) |
static LLMessageBlock * | createBlock (char *name, const EMsgVariableType type=MVT_NULL, const S32 size=0, EMsgBlockType block=MBT_VARIABLE) |
static LLTemplateMessageBuilder * | defaultBuilder (LLMessageTemplate &messageTemplate, char *name=_PREHASH_Test0) |
static LLTemplateMessageReader * | setReader (LLMessageTemplate &messageTemplate, LLTemplateMessageBuilder *builder, U8 offset=0) |
Definition at line 54 of file lltemplatemessagebuilder_tut.cpp.
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().