LLMessageBuilder Class Reference

#include <llmessagebuilder.h>

Inheritance diagram for LLMessageBuilder:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

Definition at line 47 of file llmessagebuilder.h.


Constructor & Destructor Documentation

LLMessageBuilder::~LLMessageBuilder (  )  [virtual]

Definition at line 37 of file llmessagebuilder.cpp.


Member Function Documentation

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

virtual void LLMessageBuilder::addBOOL ( const char *  varname,
BOOL  b 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addBOOL(), and LLMessageSystem::addBOOLFast().

virtual void LLMessageBuilder::addF32 ( const char *  varname,
F32  f 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addF32(), and LLMessageSystem::addF32Fast().

virtual void LLMessageBuilder::addF64 ( const char *  varname,
F64  d 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addF64(), and LLMessageSystem::addF64Fast().

virtual void LLMessageBuilder::addIPAddr ( const char *  varname,
const U32  ip 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addIPAddr(), and LLMessageSystem::addIPAddrFast().

virtual void LLMessageBuilder::addIPPort ( const char *  varname,
const U16  port 
) [pure virtual]

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

virtual void LLMessageBuilder::addS16 ( const char *  varname,
S16  i 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addS16(), and LLMessageSystem::addS16Fast().

virtual void LLMessageBuilder::addS32 ( const char *  varname,
S32  s 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addS32(), and LLMessageSystem::addS32Fast().

virtual void LLMessageBuilder::addS8 ( const char *  varname,
S8  s 
) [pure virtual]

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

virtual void LLMessageBuilder::addU16 ( const char *  varname,
U16  i 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addU16(), and LLMessageSystem::addU16Fast().

virtual void LLMessageBuilder::addU32 ( const char *  varname,
U32  u 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addU32(), and LLMessageSystem::addU32Fast().

virtual void LLMessageBuilder::addU64 ( const char *  varname,
U64  lu 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addU64(), and LLMessageSystem::addU64Fast().

virtual void LLMessageBuilder::addU8 ( const char *  varname,
U8  u 
) [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::addU8(), and LLMessageSystem::addU8Fast().

virtual void LLMessageBuilder::addUUID ( const char *  varname,
const LLUUID uuid 
) [pure virtual]

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

virtual void LLMessageBuilder::copyFromLLSD ( const LLSD data  )  [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLSDMessageReader::copyToBuilder().

virtual void LLMessageBuilder::copyFromMessageData ( const LLMsgData data  )  [pure virtual]

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

virtual void LLMessageBuilder::setBuilt ( BOOL  b  )  [pure virtual]

Implemented in LLSDMessageBuilder, and LLTemplateMessageBuilder.

Referenced by LLMessageSystem::zeroCodeAdjustCurrentSendTotal().


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