#include <llhudeffect.h>
Inheritance diagram for LLHUDEffect:
Public Member Functions | |
void | setNeedsSendToSim (const BOOL send_to_sim) |
BOOL | getNeedsSendToSim () const |
void | setOriginatedHere (const BOOL orig_here) |
BOOL | getOriginatedHere () const |
void | setDuration (const F32 duration) |
void | setColor (const LLColor4U &color) |
void | setID (const LLUUID &id) |
const LLUUID & | getID () const |
BOOL | isDead () const |
Protected Member Functions | |
LLHUDEffect (const U8 type) | |
~LLHUDEffect () | |
void | render () |
virtual void | packData (LLMessageSystem *mesgsys) |
virtual void | unpackData (LLMessageSystem *mesgsys, S32 blocknum) |
virtual void | update () |
Static Protected Member Functions | |
static void | getIDType (LLMessageSystem *mesgsys, S32 blocknum, LLUUID &uuid, U8 &type) |
Protected Attributes | |
LLUUID | mID |
F32 | mDuration |
LLColor4U | mColor |
BOOL | mNeedsSendToSim |
BOOL | mOriginatedHere |
Friends | |
class | LLHUDManager |
Definition at line 48 of file llhudeffect.h.
LLHUDEffect::LLHUDEffect | ( | const U8 | type | ) | [protected] |
Definition at line 45 of file llhudeffect.cpp.
References FALSE, LLHUDObject::mDead, mNeedsSendToSim, and mOriginatedHere.
LLHUDEffect::~LLHUDEffect | ( | ) | [protected] |
Definition at line 56 of file llhudeffect.cpp.
const LLUUID & LLHUDEffect::getID | ( | ) | const |
void LLHUDEffect::getIDType | ( | LLMessageSystem * | mesgsys, | |
S32 | blocknum, | |||
LLUUID & | uuid, | |||
U8 & | type | |||
) | [static, protected] |
Definition at line 125 of file llhudeffect.cpp.
References _PREHASH_Effect, _PREHASH_ID, _PREHASH_Type, LLMessageSystem::getU8Fast(), and LLMessageSystem::getUUIDFast().
Referenced by LLHUDManager::processViewerEffect().
BOOL LLHUDEffect::getNeedsSendToSim | ( | ) | const |
BOOL LLHUDEffect::getOriginatedHere | ( | ) | const |
BOOL LLHUDEffect::isDead | ( | ) | const |
void LLHUDEffect::packData | ( | LLMessageSystem * | mesgsys | ) | [protected, virtual] |
Reimplemented in LLHUDEffectBeam, LLHUDEffectLookAt, LLHUDEffectPointAt, LLHUDEffectSpiral, and LLVoiceVisualizer.
Definition at line 61 of file llhudeffect.cpp.
References _PREHASH_AgentID, _PREHASH_Color, _PREHASH_Duration, _PREHASH_ID, _PREHASH_Type, LLMessageSystem::addBinaryData(), LLMessageSystem::addF32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), mColor, mDuration, mID, LLHUDObject::mType, and LLColor4U::mV.
Referenced by LLVoiceVisualizer::packData(), LLHUDEffectSpiral::packData(), LLHUDEffectPointAt::packData(), LLHUDEffectLookAt::packData(), and LLHUDEffectBeam::packData().
void LLHUDEffect::render | ( | ) | [protected, virtual] |
Implements LLHUDObject.
Reimplemented in LLHUDEffectBeam, LLHUDEffectLookAt, LLHUDEffectPointAt, LLHUDEffectSpiral, and LLVoiceVisualizer.
Definition at line 78 of file llhudeffect.cpp.
Definition at line 93 of file llhudeffect.cpp.
References mColor.
Referenced by add_object(), app_request_quit(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLSelectMgr::confirmDelete(), LLToolDragAndDrop::dad3dTextureObject(), derez_objects(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), LLToolPie::pickAndShowMenu(), process_teleport_finish(), and LLSelectMgr::selectionSetImage().
Definition at line 98 of file llhudeffect.cpp.
References mDuration.
Referenced by add_object(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLSelectMgr::confirmDelete(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), LLToolPie::pickAndShowMenu(), LLSelectMgr::selectionSetImage(), LLHUDEffectLookAt::setLookAt(), and LLHUDEffectPointAt::setPointAt().
Definition at line 83 of file llhudeffect.cpp.
References mID.
Referenced by LLHUDManager::createViewerEffect().
Definition at line 103 of file llhudeffect.cpp.
References mNeedsSendToSim.
Referenced by LLHUDManager::createViewerEffect(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), and LLHUDEffectLookAt::update().
Definition at line 114 of file llhudeffect.cpp.
References mOriginatedHere.
Referenced by LLHUDManager::createViewerEffect().
void LLHUDEffect::unpackData | ( | LLMessageSystem * | mesgsys, | |
S32 | blocknum | |||
) | [protected, virtual] |
Reimplemented in LLHUDEffectBeam, LLHUDEffectLookAt, LLHUDEffectPointAt, LLHUDEffectSpiral, and LLVoiceVisualizer.
Definition at line 70 of file llhudeffect.cpp.
References _PREHASH_Color, _PREHASH_Duration, _PREHASH_Effect, _PREHASH_ID, _PREHASH_Type, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getF32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), mColor, mDuration, mID, LLHUDObject::mType, and LLColor4U::mV.
Referenced by LLHUDManager::processViewerEffect(), LLHUDEffectSpiral::unpackData(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), and LLHUDEffectBeam::unpackData().
void LLHUDEffect::update | ( | ) | [protected, virtual] |
Reimplemented in LLHUDEffectLookAt, and LLHUDEffectPointAt.
Definition at line 136 of file llhudeffect.cpp.
Referenced by LLHUDEffectBeam::render().
friend class LLHUDManager [friend] |
Definition at line 63 of file llhudeffect.h.
LLColor4U LLHUDEffect::mColor [protected] |
Definition at line 79 of file llhudeffect.h.
Referenced by packData(), LLHUDEffectBeam::render(), setColor(), LLHUDEffectSpiral::triggerLocal(), and unpackData().
F32 LLHUDEffect::mDuration [protected] |
Definition at line 78 of file llhudeffect.h.
Referenced by LLHUDEffectBeam::LLHUDEffectBeam(), packData(), setDuration(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), LLHUDEffectSpiral::triggerLocal(), LLHUDEffectBeam::unpackData(), and unpackData().
LLUUID LLHUDEffect::mID [protected] |
Definition at line 77 of file llhudeffect.h.
Referenced by getID(), packData(), setID(), and unpackData().
BOOL LLHUDEffect::mNeedsSendToSim [protected] |
Definition at line 81 of file llhudeffect.h.
Referenced by getNeedsSendToSim(), LLHUDEffect(), and setNeedsSendToSim().
BOOL LLHUDEffect::mOriginatedHere [protected] |
Definition at line 82 of file llhudeffect.h.
Referenced by getOriginatedHere(), LLHUDEffect(), and setOriginatedHere().