#include <llmessagebuilder.h>
Inheritance diagram for LLMessageBuilder:
Public Member Functions | |
virtual | ~LLMessageBuilder () |
virtual void | newMessage (const char *name)=0 |
virtual void | nextBlock (const char *blockname)=0 |
virtual BOOL | removeLastBlock ()=0 |
virtual void | addBinaryData (const char *varname, const void *data, S32 size)=0 |
virtual void | addBOOL (const char *varname, BOOL b)=0 |
virtual void | addS8 (const char *varname, S8 s)=0 |
virtual void | addU8 (const char *varname, U8 u)=0 |
virtual void | addS16 (const char *varname, S16 i)=0 |
virtual void | addU16 (const char *varname, U16 i)=0 |
virtual void | addF32 (const char *varname, F32 f)=0 |
virtual void | addS32 (const char *varname, S32 s)=0 |
virtual void | addU32 (const char *varname, U32 u)=0 |
virtual void | addU64 (const char *varname, U64 lu)=0 |
virtual void | addF64 (const char *varname, F64 d)=0 |
virtual void | addVector3 (const char *varname, const LLVector3 &vec)=0 |
virtual void | addVector4 (const char *varname, const LLVector4 &vec)=0 |
virtual void | addVector3d (const char *varname, const LLVector3d &vec)=0 |
virtual void | addQuat (const char *varname, const LLQuaternion &quat)=0 |
virtual void | addUUID (const char *varname, const LLUUID &uuid)=0 |
virtual void | addIPAddr (const char *varname, const U32 ip)=0 |
virtual void | addIPPort (const char *varname, const U16 port)=0 |
virtual void | addString (const char *varname, const char *s)=0 |
virtual void | addString (const char *varname, const std::string &s)=0 |
virtual BOOL | isMessageFull (const char *blockname) const =0 |
virtual void | compressMessage (U8 *&buf_ptr, U32 &buffer_length)=0 |
virtual S32 | getMessageSize ()=0 |
virtual BOOL | isBuilt () const =0 |
virtual BOOL | isClear () const =0 |
virtual U32 | buildMessage (U8 *buffer, U32 buffer_size, U8 offset_to_data)=0 |
virtual void | clearMessage ()=0 |
virtual void | setBuilt (BOOL b)=0 |
virtual const char * | getMessageName () const =0 |
virtual void | copyFromMessageData (const LLMsgData &data)=0 |
virtual void | copyFromLLSD (const LLSD &data)=0 |
Definition at line 47 of file llmessagebuilder.h.
LLMessageBuilder::~LLMessageBuilder | ( | ) | [virtual] |
Definition at line 37 of file llmessagebuilder.cpp.
virtual void LLMessageBuilder::addBinaryData | ( | const char * | varname, | |
const void * | data, | |||
S32 | size | |||
) | [pure virtual] |
All add* methods expect pointers to canonical strings.
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addBinaryData(), and LLMessageSystem::addBinaryDataFast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addBOOL(), and LLMessageSystem::addBOOLFast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addF32(), and LLMessageSystem::addF32Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addF64(), and LLMessageSystem::addF64Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addIPAddr(), and LLMessageSystem::addIPAddrFast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addIPPort(), and LLMessageSystem::addIPPortFast().
virtual void LLMessageBuilder::addQuat | ( | const char * | varname, | |
const LLQuaternion & | quat | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addQuat(), and LLMessageSystem::addQuatFast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addS16(), and LLMessageSystem::addS16Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addS32(), and LLMessageSystem::addS32Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addS8(), and LLMessageSystem::addS8Fast().
virtual void LLMessageBuilder::addString | ( | const char * | varname, | |
const std::string & | s | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
virtual void LLMessageBuilder::addString | ( | const char * | varname, | |
const char * | s | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addString(), and LLMessageSystem::addStringFast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addU16(), and LLMessageSystem::addU16Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addU32(), and LLMessageSystem::addU32Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addU64(), and LLMessageSystem::addU64Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addU8(), and LLMessageSystem::addU8Fast().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addUUID(), and LLMessageSystem::addUUIDFast().
virtual void LLMessageBuilder::addVector3 | ( | const char * | varname, | |
const LLVector3 & | vec | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addVector3(), and LLMessageSystem::addVector3Fast().
virtual void LLMessageBuilder::addVector3d | ( | const char * | varname, | |
const LLVector3d & | vec | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addVector3d(), and LLMessageSystem::addVector3dFast().
virtual void LLMessageBuilder::addVector4 | ( | const char * | varname, | |
const LLVector4 & | vec | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::addVector4(), and LLMessageSystem::addVector4Fast().
virtual U32 LLMessageBuilder::buildMessage | ( | U8 * | buffer, | |
U32 | buffer_size, | |||
U8 | offset_to_data | |||
) | [pure virtual] |
Return built message size
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::sendMessage(), and LLMessageSystem::zeroCodeAdjustCurrentSendTotal().
virtual void LLMessageBuilder::clearMessage | ( | ) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::clearMessage().
virtual void LLMessageBuilder::compressMessage | ( | U8 *& | buf_ptr, | |
U32 & | buffer_length | |||
) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::sendMessage().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLSDMessageReader::copyToBuilder().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLTemplateMessageReader::copyToBuilder().
virtual const char* LLMessageBuilder::getMessageName | ( | ) | const [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::createResponder(), LLMessageSystem::flushSemiReliable(), LLMessageSystem::sendMessage(), and LLMessageSystem::sendReliable().
virtual S32 LLMessageBuilder::getMessageSize | ( | ) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::flush(), LLMessageSystem::flushReliable(), LLMessageSystem::flushSemiReliable(), LLMessageSystem::getCurrentSendTotal(), and LLMessageSystem::sendError().
virtual BOOL LLMessageBuilder::isBuilt | ( | ) | const [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::sendMessage(), and LLMessageSystem::zeroCodeAdjustCurrentSendTotal().
virtual BOOL LLMessageBuilder::isClear | ( | ) | const [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::isClear().
virtual BOOL LLMessageBuilder::isMessageFull | ( | const char * | blockname | ) | const [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::isSendFullFast().
virtual void LLMessageBuilder::newMessage | ( | const char * | name | ) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::copyMessageRtoS(), and LLMessageSystem::newMessageFast().
virtual void LLMessageBuilder::nextBlock | ( | const char * | blockname | ) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::nextBlockFast().
virtual BOOL LLMessageBuilder::removeLastBlock | ( | ) | [pure virtual] |
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::removeLastBlock().
Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.
Referenced by LLMessageSystem::zeroCodeAdjustCurrentSendTotal().