#include <llhudeffect.h>
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.
void LLHUDEffect::setNeedsSendToSim | ( | const BOOL | send_to_sim | ) |
Definition at line 103 of file llhudeffect.cpp.
References mNeedsSendToSim.
Referenced by LLHUDManager::createViewerEffect(), LLHUDManager::sendEffects(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), and LLHUDEffectLookAt::update().
BOOL LLHUDEffect::getNeedsSendToSim | ( | ) | const |
Definition at line 108 of file llhudeffect.cpp.
References mNeedsSendToSim.
Referenced by LLHUDManager::sendEffects().
void LLHUDEffect::setOriginatedHere | ( | const BOOL | orig_here | ) |
Definition at line 114 of file llhudeffect.cpp.
References mOriginatedHere.
Referenced by LLHUDManager::createViewerEffect().
BOOL LLHUDEffect::getOriginatedHere | ( | ) | const |
Definition at line 119 of file llhudeffect.cpp.
References mOriginatedHere.
Referenced by LLHUDManager::sendEffects().
void LLHUDEffect::setDuration | ( | const F32 | duration | ) |
Definition at line 98 of file llhudeffect.cpp.
References mDuration.
Referenced by LLToolPlacer::addObject(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLSelectMgr::confirmDelete(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), LLToolPie::pickAndShowMenu(), LLSelectMgr::selectionSetImage(), LLHUDEffectLookAt::setLookAt(), and LLHUDEffectPointAt::setPointAt().
void LLHUDEffect::setColor | ( | const LLColor4U & | color | ) |
Definition at line 93 of file llhudeffect.cpp.
References mColor.
Referenced by LLToolPlacer::addObject(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLSelectMgr::confirmDelete(), LLToolDragAndDrop::dad3dTextureObject(), derez_objects(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), idle_startup(), LLToolPie::pickAndShowMenu(), process_teleport_finish(), LLAppViewer::requestQuit(), and LLSelectMgr::selectionSetImage().
void LLHUDEffect::setID | ( | const LLUUID & | id | ) |
Definition at line 83 of file llhudeffect.cpp.
References mID.
Referenced by LLHUDManager::createViewerEffect().
const LLUUID & LLHUDEffect::getID | ( | ) | const |
Definition at line 88 of file llhudeffect.cpp.
References mID.
Referenced by LLHUDManager::processViewerEffect().
BOOL LLHUDEffect::isDead | ( | ) | const |
Definition at line 131 of file llhudeffect.cpp.
References LLHUDObject::mDead.
Referenced by LLHUDManager::processViewerEffect(), LLHUDManager::sendEffects(), and LLHUDManager::updateEffects().
void LLHUDEffect::render | ( | ) | [protected, virtual] |
Implements LLHUDObject.
Reimplemented in LLHUDEffectBeam, LLHUDEffectLookAt, LLHUDEffectPointAt, LLHUDEffectSpiral, and LLVoiceVisualizer.
Definition at line 78 of file llhudeffect.cpp.
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(), LLHUDEffectBeam::packData(), and LLHUDManager::sendEffects().
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 LLHUDManager::updateEffects().
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().
friend class LLHUDManager [friend] |
Definition at line 63 of file llhudeffect.h.
LLUUID LLHUDEffect::mID [protected] |
Definition at line 77 of file llhudeffect.h.
Referenced by getID(), packData(), setID(), 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().
LLColor4U LLHUDEffect::mColor [protected] |
Definition at line 79 of file llhudeffect.h.
Referenced by packData(), LLHUDEffectBeam::render(), setColor(), LLHUDEffectSpiral::triggerLocal(), 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().