LLIMInfo Class Reference

#include <llinstantmessage.h>

Inheritance diagram for LLIMInfo:

Inheritance graph
[legend]
Collaboration diagram for LLIMInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLIMInfo (LLMessageSystem *msg, EIMSource source=IM_FROM_SIM, S32 ttl=IM_TTL)
 LLIMInfo (const LLUUID &from_id, BOOL from_group, const LLUUID &to_id, EInstantMessage im_type, const std::string &name, const std::string &message, const LLUUID &id, U32 parent_estate_id, const LLUUID &region_id, const LLVector3 &position, LLSD data, U8 offline, U32 timestamp, EIMSource source, S32 ttl=IM_TTL)
void packInstantMessage (LLMessageSystem *msg) const
void packMessageBlock (LLMessageSystem *msg) const
void unpackMessageBlock (LLMessageSystem *msg)
LLPointer< LLIMInfoclone ()

Public Attributes

LLUUID mFromID
BOOL mFromGroup
LLUUID mToID
U32 mParentEstateID
LLUUID mRegionID
LLVector3 mPosition
U8 mOffline
bool mViewerThinksToIsOnline
EInstantMessage mIMType
LLUUID mID
U32 mTimeStamp
std::string mName
std::string mMessage
LLSD mData
EIMSource mSource
S32 mTTL

Protected Member Functions

 LLIMInfo ()
 ~LLIMInfo ()

Detailed Description

Definition at line 231 of file llinstantmessage.h.


Constructor & Destructor Documentation

LLIMInfo::LLIMInfo (  )  [protected]

LLIMInfo

Definition at line 69 of file llinstantmessage.cpp.

Referenced by clone().

LLIMInfo::~LLIMInfo (  )  [protected]

Definition at line 122 of file llinstantmessage.cpp.

LLIMInfo::LLIMInfo ( LLMessageSystem msg,
EIMSource  source = IM_FROM_SIM,
S32  ttl = IM_TTL 
)

Definition at line 114 of file llinstantmessage.cpp.

References unpackMessageBlock().

LLIMInfo::LLIMInfo ( const LLUUID from_id,
BOOL  from_group,
const LLUUID to_id,
EInstantMessage  im_type,
const std::string &  name,
const std::string &  message,
const LLUUID id,
U32  parent_estate_id,
const LLUUID region_id,
const LLVector3 position,
LLSD  data,
U8  offline,
U32  timestamp,
EIMSource  source,
S32  ttl = IM_TTL 
)

Definition at line 79 of file llinstantmessage.cpp.


Member Function Documentation

LLPointer< LLIMInfo > LLIMInfo::clone (  ) 

Definition at line 374 of file llinstantmessage.cpp.

References LLIMInfo(), mData, mFromGroup, mFromID, mID, mIMType, mMessage, mName, mOffline, mParentEstateID, mPosition, mRegionID, mSource, mTimeStamp, mToID, and mTTL.

void LLIMInfo::packInstantMessage ( LLMessageSystem msg  )  const

Definition at line 126 of file llinstantmessage.cpp.

References _PREHASH_ImprovedInstantMessage, lldebugs, llendl, LLMessageSystem::newMessageFast(), and packMessageBlock().

void LLIMInfo::packMessageBlock ( LLMessageSystem msg  )  const

Definition at line 133 of file llinstantmessage.cpp.

References LLSD::has(), mData, mFromGroup, mFromID, mID, mIMType, mMessage, mName, mOffline, mParentEstateID, mPosition, mRegionID, mTimeStamp, mToID, LLUUID::null, and pack_instant_message_block().

Referenced by packInstantMessage().

void LLIMInfo::unpackMessageBlock ( LLMessageSystem msg  ) 

Definition at line 270 of file llinstantmessage.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_BinaryBucket, _PREHASH_Dialog, _PREHASH_FromAgentName, _PREHASH_FromGroup, _PREHASH_ID, _PREHASH_Message, _PREHASH_MessageBlock, _PREHASH_Offline, _PREHASH_ParentEstateID, _PREHASH_Position, _PREHASH_RegionID, _PREHASH_Timestamp, _PREHASH_ToAgentID, LLSD::clear(), DB_FULL_NAME_BUF_SIZE, DB_IM_MSG_BUF_SIZE, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getBOOLFast(), LLMessageSystem::getSizeFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), llmin(), mData, mFromGroup, mFromID, mID, mIMType, mMessage, mName, mOffline, mParentEstateID, mPosition, mRegionID, mTimeStamp, mToID, MTUBYTES, and S32.

Referenced by LLIMInfo().


Member Data Documentation

LLSD LLIMInfo::mData

Definition at line 277 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

BOOL LLIMInfo::mFromGroup

Definition at line 265 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

LLUUID LLIMInfo::mFromID

Definition at line 264 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), LLIMMgr::processIMTypingCore(), LLFloaterIMPanel::removeTypingIndicator(), and unpackMessageBlock().

LLUUID LLIMInfo::mID

Definition at line 273 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

EInstantMessage LLIMInfo::mIMType

Definition at line 272 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), LLIMMgr::processIMTypingCore(), and unpackMessageBlock().

std::string LLIMInfo::mMessage

Definition at line 276 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

std::string LLIMInfo::mName

Definition at line 275 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), LLFloaterIMPanel::processIMTyping(), and unpackMessageBlock().

U8 LLIMInfo::mOffline

Definition at line 270 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

U32 LLIMInfo::mParentEstateID

Definition at line 267 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

LLVector3 LLIMInfo::mPosition

Definition at line 269 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

LLUUID LLIMInfo::mRegionID

Definition at line 268 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

EIMSource LLIMInfo::mSource

Definition at line 279 of file llinstantmessage.h.

Referenced by clone().

U32 LLIMInfo::mTimeStamp

Definition at line 274 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

LLUUID LLIMInfo::mToID

Definition at line 266 of file llinstantmessage.h.

Referenced by clone(), packMessageBlock(), and unpackMessageBlock().

S32 LLIMInfo::mTTL

Definition at line 280 of file llinstantmessage.h.

Referenced by clone().

bool LLIMInfo::mViewerThinksToIsOnline

Definition at line 271 of file llinstantmessage.h.


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