LLAvatarOwnedEmitter Class Reference

Base class for objects owned by an avatar This handles the part of looking up the avatar's name if needed. More...

#include <llfloatereventlog.h>

Inheritance diagram for LLAvatarOwnedEmitter:

Inheritance graph
[legend]
Collaboration diagram for LLAvatarOwnedEmitter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLAvatarOwnedEmitter (const LLUUID &id=LLUUID::null, const LLString &name="")
 ~LLAvatarOwnedEmitter ()
virtual LLString getOwnerName () const
virtual LLUUID getOwnerID () const
virtual void update ()
 Update internal info Overriden by derived classes. Code for requesting missing information should go here.
void setOwner (const LLUUID &id, const LLString &name="")

Protected Attributes

LLUUID mOwnerID
LLString mOwnerName

Static Private Member Functions

static void nameLookupCallback (const LLUUID &id, const char *first, const char *last, BOOL group, void *userdata)

Private Attributes

bool mNamePending

Detailed Description

Base class for objects owned by an avatar This handles the part of looking up the avatar's name if needed.

Definition at line 198 of file llfloatereventlog.h.


Constructor & Destructor Documentation

LLAvatarOwnedEmitter::LLAvatarOwnedEmitter ( const LLUUID id = LLUUID::null,
const LLString name = "" 
)

Definition at line 92 of file llfloatereventlog.cpp.

References mNamePending, and setOwner().

LLAvatarOwnedEmitter::~LLAvatarOwnedEmitter (  ) 

Definition at line 137 of file llfloatereventlog.cpp.

References LLCacheName::cancelCallback(), gCacheName, mNamePending, mOwnerID, and nameLookupCallback().


Member Function Documentation

virtual LLUUID LLAvatarOwnedEmitter::getOwnerID (  )  const [inline, virtual]

Reimplemented from LLEventEmitter.

Definition at line 205 of file llfloatereventlog.h.

References mOwnerID.

virtual LLString LLAvatarOwnedEmitter::getOwnerName (  )  const [inline, virtual]

Reimplemented from LLEventEmitter.

Definition at line 204 of file llfloatereventlog.h.

References mOwnerName.

void LLAvatarOwnedEmitter::nameLookupCallback ( const LLUUID id,
const char *  first,
const char *  last,
BOOL  group,
void userdata 
) [static, private]

Definition at line 116 of file llfloatereventlog.cpp.

References llendl, llinfos, mNamePending, mOwnerID, and mOwnerName.

Referenced by update(), and ~LLAvatarOwnedEmitter().

void LLAvatarOwnedEmitter::setOwner ( const LLUUID id,
const LLString name = "" 
)

Definition at line 99 of file llfloatereventlog.cpp.

References mOwnerID, and mOwnerName.

Referenced by LLAvatarEmitter::LLAvatarEmitter(), LLAvatarOwnedEmitter(), and LLObjectEmitter::LLObjectEmitter().

void LLAvatarOwnedEmitter::update (  )  [virtual]

Update internal info Overriden by derived classes. Code for requesting missing information should go here.

Reimplemented from LLEventEmitter.

Definition at line 105 of file llfloatereventlog.cpp.

References FALSE, gCacheName, LLCacheName::get(), llendl, llinfos, mNamePending, mOwnerID, mOwnerName, and nameLookupCallback().

Referenced by LLObjectEmitter::requestObjectInfo().


Member Data Documentation

bool LLAvatarOwnedEmitter::mNamePending [private]

Definition at line 215 of file llfloatereventlog.h.

Referenced by LLAvatarOwnedEmitter(), nameLookupCallback(), update(), and ~LLAvatarOwnedEmitter().

LLUUID LLAvatarOwnedEmitter::mOwnerID [protected]

Definition at line 211 of file llfloatereventlog.h.

Referenced by LLAvatarEmitter::getID(), getOwnerID(), nameLookupCallback(), setOwner(), update(), and ~LLAvatarOwnedEmitter().

LLString LLAvatarOwnedEmitter::mOwnerName [protected]

Definition at line 212 of file llfloatereventlog.h.

Referenced by getOwnerName(), nameLookupCallback(), setOwner(), and update().


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