#include <llfloatereventlog.h>
Inheritance diagram for LLObjectEmitter:
Public Member Functions | |
LLObjectEmitter (const LLUUID &id=LLUUID::null, const LLUUID &owner=LLUUID::null) | |
LLObjectEmitter (LLPointer< LLViewerObject > obj) | |
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. | |
LLUUID | getObjectID () const |
LLString | getObjectName () const |
void | requestObjectInfo (const LLViewerRegion *reg) |
Request object info on the object There's a little complication here: We can't decide to request this at any time, as by then the object might have vanished, and the region as well. | |
void | setObject (const LLUUID &id, const LLString &name="") |
Private Attributes | |
LLUUID | mObjectID |
LLString | mObjectName |
bool | mRequestedProperties |
Definition at line 238 of file llfloatereventlog.h.
LLObjectEmitter::LLObjectEmitter | ( | const LLUUID & | id = LLUUID::null , |
|
const LLUUID & | owner = LLUUID::null | |||
) |
Definition at line 145 of file llfloatereventlog.cpp.
References mRequestedProperties, setObject(), and LLAvatarOwnedEmitter::setOwner().
LLObjectEmitter::LLObjectEmitter | ( | LLPointer< LLViewerObject > | obj | ) |
Definition at line 153 of file llfloatereventlog.cpp.
References mRequestedProperties, requestObjectInfo(), setObject(), LLAvatarOwnedEmitter::setOwner(), and LLEventEmitter::setPosition().
virtual LLUUID LLObjectEmitter::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.
Reimplemented from LLEventEmitter.
Definition at line 247 of file llfloatereventlog.h.
References mObjectID.
Name of this emitter.
Reimplemented from LLEventEmitter.
Definition at line 244 of file llfloatereventlog.h.
References mObjectName.
LLUUID LLObjectEmitter::getObjectID | ( | ) | const [inline] |
LLString LLObjectEmitter::getObjectName | ( | ) | const [inline] |
void LLObjectEmitter::requestObjectInfo | ( | const LLViewerRegion * | reg | ) |
Request object info on the object There's a little complication here: We can't decide to request this at any time, as by then the object might have vanished, and the region as well.
For this reason, this function only gets called from the constructor with the LLViewerObject argument, or when the event is being updated, when the object is still obviously there.
Definition at line 178 of file llfloatereventlog.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectID, _PREHASH_RequestFlags, _PREHASH_RequestObjectPropertiesFamily, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLUUID::isNull(), llendl, llinfos, mObjectID, mObjectName, mRequestedProperties, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and LLAvatarOwnedEmitter::update().
Referenced by LLObjectEmitter().
Reimplemented from LLEventEmitter.
Definition at line 245 of file llfloatereventlog.h.
References mObjectName.
Definition at line 168 of file llfloatereventlog.cpp.
References llendl, llwarns, mObjectID, and mObjectName.
Referenced by LLObjectEmitter().
LLUUID LLObjectEmitter::mObjectID [private] |
Definition at line 265 of file llfloatereventlog.h.
Referenced by getID(), getObjectID(), requestObjectInfo(), and setObject().
LLString LLObjectEmitter::mObjectName [private] |
Definition at line 266 of file llfloatereventlog.h.
Referenced by getName(), getObjectName(), requestObjectInfo(), setName(), and setObject().
bool LLObjectEmitter::mRequestedProperties [private] |
Definition at line 267 of file llfloatereventlog.h.
Referenced by LLObjectEmitter(), and requestObjectInfo().