LLStatGraph Class Reference

#include <llstatgraph.h>

Inheritance diagram for LLStatGraph:

Inheritance graph
[legend]
Collaboration diagram for LLStatGraph:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLStatGraph (const std::string &name, const LLRect &rect)
virtual void draw ()
void setLabel (const char *label)
void setUnits (const char *units)
void setPrecision (const S32 precision)
void setStat (LLStat *statp)
void setThreshold (const S32 i, F32 value)
void setMin (const F32 min)
void setMax (const F32 max)
void setValue (const LLSD &value)

Public Attributes

LLStatmStatp
BOOL mPerSec

Private Attributes

F32 mValue
F32 mMin
F32 mMax
LLFrameTimer mUpdateTimer
LLString mLabel
LLString mUnits
S32 mPrecision
S32 mNumThresholds
F32 mThresholds [4]
LLColor4 mThresholdColors [4]


Detailed Description

Definition at line 41 of file llstatgraph.h.


Constructor & Destructor Documentation

LLStatGraph::LLStatGraph ( const std::string &  name,
const LLRect rect 
)

Definition at line 46 of file llstatgraph.cpp.

References mMax, mMin, mNumThresholds, mPerSec, mPrecision, mStatp, mThresholdColors, mThresholds, mValue, NULL, LLView::setToolTip(), and TRUE.

Here is the call graph for this function:


Member Function Documentation

void LLStatGraph::draw ( void   )  [virtual]

void LLStatGraph::setLabel ( const char *  label  ) 

Definition at line 143 of file llstatgraph.cpp.

References mLabel.

Referenced by LLStatusBar::LLStatusBar().

Here is the caller graph for this function:

void LLStatGraph::setUnits ( const char *  units  ) 

Definition at line 148 of file llstatgraph.cpp.

References mUnits.

Referenced by LLStatusBar::LLStatusBar().

Here is the caller graph for this function:

void LLStatGraph::setPrecision ( const S32  precision  ) 

Definition at line 153 of file llstatgraph.cpp.

References mPrecision.

Referenced by LLStatusBar::LLStatusBar().

Here is the caller graph for this function:

void LLStatGraph::setStat ( LLStat statp  ) 

Definition at line 138 of file llstatgraph.cpp.

References mStatp.

Referenced by LLStatusBar::LLStatusBar().

Here is the caller graph for this function:

void LLStatGraph::setThreshold ( const S32  i,
F32  value 
)

Definition at line 158 of file llstatgraph.cpp.

References mThresholds.

Referenced by LLStatusBar::LLStatusBar(), and LLStatusBar::refresh().

Here is the caller graph for this function:

void LLStatGraph::setMin ( const F32  min  ) 

Definition at line 128 of file llstatgraph.cpp.

References mMin.

Referenced by LLStatusBar::LLStatusBar(), and LLStatusBar::refresh().

Here is the caller graph for this function:

void LLStatGraph::setMax ( const F32  max  ) 

Definition at line 133 of file llstatgraph.cpp.

References mMax.

Referenced by LLStatusBar::LLStatusBar(), and LLStatusBar::refresh().

Here is the caller graph for this function:

void LLStatGraph::setValue ( const LLSD value  )  [virtual]

Reimplemented from LLView.

Definition at line 123 of file llstatgraph.cpp.

References LLSD::asReal(), and mValue.

Here is the call graph for this function:


Member Data Documentation

Definition at line 58 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and setStat().

Definition at line 59 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and LLStatusBar::LLStatusBar().

Definition at line 61 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and setValue().

Definition at line 63 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and setMin().

Definition at line 64 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and setMax().

Definition at line 65 of file llstatgraph.h.

Referenced by draw().

Definition at line 66 of file llstatgraph.h.

Referenced by draw(), and setLabel().

Definition at line 67 of file llstatgraph.h.

Referenced by draw(), and setUnits().

Definition at line 68 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and setPrecision().

Definition at line 70 of file llstatgraph.h.

Referenced by draw(), and LLStatGraph().

Definition at line 71 of file llstatgraph.h.

Referenced by draw(), LLStatGraph(), and setThreshold().

Definition at line 72 of file llstatgraph.h.

Referenced by draw(), and LLStatGraph().


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

Generated on Fri May 16 09:07:31 2008 for SecondLife by  doxygen 1.5.5