LLEventEmitter Class Reference

Emitter of events This object represents something that emits events, such as an avatar or an object. More...

#include <llfloatereventlog.h>

Inheritance diagram for LLEventEmitter:

Inheritance graph
[legend]
Collaboration diagram for LLEventEmitter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLEventEmitter ()
virtual LLString getName () const
 Name of this emitter.
virtual void setName (const LLString &name)
virtual LLUUID getID () const
 ID of this emitter. This one is a bit special. This will be used to uniquely identify this emitter. Derived classes must return something suitable here.
virtual void update ()
 Update internal info Overriden by derived classes. Code for requesting missing information should go here.
virtual LLString getOwnerName () const
virtual LLUUID getOwnerID () const
LLVector3d getPosition () const
void setPosition (const LLVector3d &pos)
void addEvent (LLPointer< LLWorldEvent > ev)
LLPointer< LLWorldEventgetEvent (const LLUUID &id)

Protected Attributes

LLVector3d mPosition
map< LLUUID, LLPointer< LLWorldEvent > > mEvents

Friends

class LLFloaterEventLog

Detailed Description

Emitter of events This object represents something that emits events, such as an avatar or an object.

Definition at line 151 of file llfloatereventlog.h.


Constructor & Destructor Documentation

LLEventEmitter::LLEventEmitter (  )  [inline]

Definition at line 154 of file llfloatereventlog.h.


Member Function Documentation

void LLEventEmitter::addEvent ( LLPointer< LLWorldEvent ev  )  [inline]

Definition at line 185 of file llfloatereventlog.h.

References mEvents.

LLPointer<LLWorldEvent> LLEventEmitter::getEvent ( const LLUUID id  )  [inline]

Definition at line 186 of file llfloatereventlog.h.

References mEvents, and NULL.

virtual LLUUID LLEventEmitter::getID (  )  const [inline, virtual]

ID of this emitter. This one is a bit special. This will be used to uniquely identify this emitter. Derived classes must return something suitable here.

Returns:
Emitter's ID

Reimplemented in LLAvatarEmitter, and LLObjectEmitter.

Definition at line 170 of file llfloatereventlog.h.

References LLUUID::null.

virtual LLString LLEventEmitter::getName ( void   )  const [inline, virtual]

Name of this emitter.

Returns:
Emitter's name

Reimplemented in LLAvatarEmitter, and LLObjectEmitter.

Definition at line 160 of file llfloatereventlog.h.

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

Reimplemented in LLAvatarOwnedEmitter.

Definition at line 180 of file llfloatereventlog.h.

References LLUUID::null.

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

Reimplemented in LLAvatarOwnedEmitter.

Definition at line 179 of file llfloatereventlog.h.

LLVector3d LLEventEmitter::getPosition ( void   )  const [inline]

Definition at line 182 of file llfloatereventlog.h.

References mPosition.

virtual void LLEventEmitter::setName ( const LLString name  )  [inline, virtual]

Reimplemented in LLObjectEmitter.

Definition at line 162 of file llfloatereventlog.h.

void LLEventEmitter::setPosition ( const LLVector3d pos  )  [inline]

Definition at line 183 of file llfloatereventlog.h.

References mPosition.

Referenced by LLObjectEmitter::LLObjectEmitter().

virtual void LLEventEmitter::update (  )  [inline, virtual]

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

Reimplemented in LLAvatarOwnedEmitter.

Definition at line 176 of file llfloatereventlog.h.


Friends And Related Function Documentation

friend class LLFloaterEventLog [friend]

Definition at line 188 of file llfloatereventlog.h.


Member Data Documentation

map<LLUUID, LLPointer<LLWorldEvent> > LLEventEmitter::mEvents [protected]

Definition at line 191 of file llfloatereventlog.h.

Referenced by addEvent(), and getEvent().

LLVector3d LLEventEmitter::mPosition [protected]

Definition at line 190 of file llfloatereventlog.h.

Referenced by getPosition(), and setPosition().


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