LLHUDEffect Class Reference

#include <llhudeffect.h>

Inheritance diagram for LLHUDEffect:

Inheritance graph
[legend]
Collaboration diagram for LLHUDEffect:

Collaboration graph
[legend]
List of all members.

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 LLUUIDgetID () 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

Detailed Description

Definition at line 48 of file llhudeffect.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

const LLUUID & LLHUDEffect::getID (  )  const

Definition at line 88 of file llhudeffect.cpp.

References mID.

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

Definition at line 108 of file llhudeffect.cpp.

References mNeedsSendToSim.

BOOL LLHUDEffect::getOriginatedHere (  )  const

Definition at line 119 of file llhudeffect.cpp.

References mOriginatedHere.

BOOL LLHUDEffect::isDead (  )  const

Definition at line 131 of file llhudeffect.cpp.

References LLHUDObject::mDead.

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.

References llendl, and llerrs.

void LLHUDEffect::setColor ( const LLColor4U color  ) 

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().

void LLHUDEffect::setDuration ( const F32  duration  ) 

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().

void LLHUDEffect::setID ( const LLUUID id  ) 

Definition at line 83 of file llhudeffect.cpp.

References mID.

Referenced by LLHUDManager::createViewerEffect().

void LLHUDEffect::setNeedsSendToSim ( const BOOL  send_to_sim  ) 

Definition at line 103 of file llhudeffect.cpp.

References mNeedsSendToSim.

Referenced by LLHUDManager::createViewerEffect(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), and LLHUDEffectLookAt::update().

void LLHUDEffect::setOriginatedHere ( const BOOL  orig_here  ) 

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().


Friends And Related Function Documentation

friend class LLHUDManager [friend]

Definition at line 63 of file llhudeffect.h.


Member Data Documentation

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().


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