LLStatView Class Reference

#include <llstatview.h>

Inheritance diagram for LLStatView:

Inheritance graph
[legend]
Collaboration diagram for LLStatView:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLStatView (const LLString &name, const LLString &label, const LLString &setting, const LLRect &rect)
 ~LLStatView ()
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
LLStatBaraddStat (const LLString &name, LLStat *statp)
LLStatBargetStatBar (const LLString &name)

Protected Types

typedef std::vector< LLStatBar * > sb_vector_t

Protected Attributes

sb_vector_t mStatBars
U32 mNumStatBars
LLString mSetting

Detailed Description

Definition at line 41 of file llstatview.h.


Member Typedef Documentation

typedef std::vector<LLStatBar *> LLStatView::sb_vector_t [protected]

Definition at line 59 of file llstatview.h.


Constructor & Destructor Documentation

LLStatView::LLStatView ( const LLString name,
const LLString label,
const LLString setting,
const LLRect rect 
)

Definition at line 45 of file llstatview.cpp.

References FALSE, FOLLOWS_LEFT, FOLLOWS_TOP, LLControlGroup::getBOOL(), gSavedSettings, LLView::mReshapeFlags, mSetting, LLContainerView::setDisplayChildren(), and LLContainerView::setLabel().

LLStatView::~LLStatView (  ) 

Definition at line 60 of file llstatview.cpp.

References LLContainerView::getDisplayChildren(), gSavedSettings, mSetting, and LLControlGroup::setBOOL().


Member Function Documentation

LLStatBar * LLStatView::addStat ( const LLString name,
LLStat statp 
)

Definition at line 80 of file llstatview.cpp.

References LLView::addChildAtEnd(), LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLContainerView::mDisplayChildren, mNumStatBars, LLView::mRect, mStatBars, LLStatBar::mStatp, r, LLContainerView::reshape(), and LLView::setVisible().

Referenced by init_stat_view(), and LLFloaterJoystick::show().

LLStatBar * LLStatView::getStatBar ( const LLString name  ) 

Definition at line 105 of file llstatview.cpp.

References mStatBars, and NULL.

LLString LLStatView::getWidgetTag (  )  const [virtual]

Reimplemented from LLContainerView.

Definition at line 75 of file llstatview.cpp.

References LL_STAT_VIEW_TAG.

EWidgetType LLStatView::getWidgetType (  )  const [virtual]

Reimplemented from LLContainerView.

Definition at line 70 of file llstatview.cpp.

References WIDGET_TYPE_STAT_VIEW.


Member Data Documentation

U32 LLStatView::mNumStatBars [protected]

Definition at line 61 of file llstatview.h.

Referenced by addStat().

LLString LLStatView::mSetting [protected]

Definition at line 62 of file llstatview.h.

Referenced by LLStatView(), and ~LLStatView().

sb_vector_t LLStatView::mStatBars [protected]

Definition at line 60 of file llstatview.h.

Referenced by addStat(), and getStatBar().


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