LLHUDIcon Class Reference

#include <llhudicon.h>

Inheritance diagram for LLHUDIcon:

Inheritance graph
[legend]
Collaboration diagram for LLHUDIcon:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void render ()
void renderForSelect ()
void markDead ()
F32 getDistance () const
void setImage (LLViewerImage *imagep)
void setScale (F32 fraction_of_fov)
void restartLifeTimer ()
BOOL getHidden () const
void setHidden (BOOL hide)

Static Public Member Functions

static S32 generatePickIDs (S32 start_id, S32 step_size)
static LLHUDIconhandlePick (S32 pick_id)
static void updateAll ()
static void cleanupDeadIcons ()
static S32 getNumInstances ()
static BOOL iconsNearby ()

Protected Member Functions

 LLHUDIcon (const U8 type)
 ~LLHUDIcon ()
void renderIcon (BOOL for_select)

Private Types

typedef std::vector< LLPointer
< LLHUDIcon > > 
icon_instance_t

Private Attributes

LLPointer< LLViewerImagemImagep
LLFrameTimer mAnimTimer
LLFrameTimer mLifeTimer
F32 mDistance
S32 mPickID
F32 mScale
BOOL mHidden

Static Private Attributes

static icon_instance_t sIconInstances

Friends

class LLHUDObject


Detailed Description

Definition at line 53 of file llhudicon.h.


Member Typedef Documentation

typedef std::vector<LLPointer<LLHUDIcon> > LLHUDIcon::icon_instance_t [private]

Definition at line 95 of file llhudicon.h.


Constructor & Destructor Documentation

LLHUDIcon::LLHUDIcon ( const U8  type  )  [protected]

Definition at line 68 of file llhudicon.cpp.

References sIconInstances.

LLHUDIcon::~LLHUDIcon (  )  [protected]

Definition at line 78 of file llhudicon.cpp.

References mImagep, and NULL.


Member Function Documentation

void LLHUDIcon::render (  )  [virtual]

Implements LLHUDObject.

Definition at line 203 of file llhudicon.cpp.

References FALSE, and renderIcon().

Here is the call graph for this function:

void LLHUDIcon::renderForSelect (  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 208 of file llhudicon.cpp.

References renderIcon(), and TRUE.

Here is the call graph for this function:

void LLHUDIcon::markDead (  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 194 of file llhudicon.cpp.

References LLHUDObject::markDead(), and LLHUDObject::mSourceObject.

Referenced by renderIcon().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLHUDIcon::getDistance (  )  const [inline, virtual]

Reimplemented from LLHUDObject.

Definition at line 61 of file llhudicon.h.

References mDistance.

void LLHUDIcon::setImage ( LLViewerImage imagep  ) 

Definition at line 183 of file llhudicon.cpp.

References mImagep, and TRUE.

void LLHUDIcon::setScale ( F32  fraction_of_fov  ) 

Definition at line 189 of file llhudicon.cpp.

References mScale.

void LLHUDIcon::restartLifeTimer (  )  [inline]

Definition at line 66 of file llhudicon.h.

References mLifeTimer, and LLFrameTimer::reset().

Here is the call graph for this function:

S32 LLHUDIcon::generatePickIDs ( S32  start_id,
S32  step_size 
) [static]

Definition at line 215 of file llhudicon.cpp.

References S32, and sIconInstances.

Referenced by LLViewerObjectList::renderObjectsForSelect().

Here is the caller graph for this function:

LLHUDIcon * LLHUDIcon::handlePick ( S32  pick_id  )  [static]

Definition at line 230 of file llhudicon.cpp.

References NULL, and sIconInstances.

Referenced by LLViewerWindow::performPick().

Here is the caller graph for this function:

void LLHUDIcon::updateAll (  )  [static]

Reimplemented from LLHUDObject.

Definition at line 246 of file llhudicon.cpp.

References cleanupDeadIcons().

Referenced by LLHUDObject::updateAll().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLHUDIcon::cleanupDeadIcons (  )  [static]

Definition at line 258 of file llhudicon.cpp.

References sIconInstances.

Referenced by LLHUDObject::cleanupHUDObjects(), and updateAll().

Here is the caller graph for this function:

S32 LLHUDIcon::getNumInstances (  )  [static]

Definition at line 282 of file llhudicon.cpp.

References S32, and sIconInstances.

Referenced by LLViewerObjectList::renderObjectsForSelect().

Here is the caller graph for this function:

BOOL LLHUDIcon::iconsNearby (  )  [static]

Definition at line 252 of file llhudicon.cpp.

References sIconInstances.

Referenced by LLStatusBar::refresh().

Here is the caller graph for this function:

BOOL LLHUDIcon::getHidden (  )  const [inline]

Definition at line 77 of file llhudicon.h.

References mHidden.

void LLHUDIcon::setHidden ( BOOL  hide  )  [inline]

Definition at line 78 of file llhudicon.h.

References mHidden.

Referenced by LLViewerObject::hideExtraDisplayItems().

Here is the caller graph for this function:

void LLHUDIcon::renderIcon ( BOOL  for_select  )  [protected]


Friends And Related Function Documentation

friend class LLHUDObject [friend]

Definition at line 55 of file llhudicon.h.


Member Data Documentation

Definition at line 87 of file llhudicon.h.

Referenced by renderIcon(), setImage(), and ~LLHUDIcon().

Definition at line 88 of file llhudicon.h.

Referenced by renderIcon().

Definition at line 89 of file llhudicon.h.

Referenced by renderIcon(), and restartLifeTimer().

Definition at line 90 of file llhudicon.h.

Referenced by getDistance(), and renderIcon().

Definition at line 91 of file llhudicon.h.

Referenced by renderIcon().

Definition at line 92 of file llhudicon.h.

Referenced by renderIcon(), and setScale().

Definition at line 93 of file llhudicon.h.

Referenced by getHidden(), renderIcon(), and setHidden().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:49:19 2008 for SecondLife by  doxygen 1.5.5