LLFeatureManager Class Reference

#include <llfeaturemanager.h>

Inheritance diagram for LLFeatureManager:

Inheritance graph
[legend]
Collaboration diagram for LLFeatureManager:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFeatureManager ()
 ~LLFeatureManager ()
void init ()
void maskCurrentList (const char *name)
BOOL loadFeatureTables ()
EGPUClass getGPUClass ()
std::string & getGPUString ()
BOOL isGPUSupported ()
void cleanupFeatureTables ()
S32 getVersion () const
void setSafe (const BOOL safe)
BOOL isSafe () const
LLFeatureListfindMask (const char *name)
BOOL maskFeatures (const char *name)
void setGraphicsLevel (S32 level, bool skipFeatures)
void applyBaseMasks ()
void applyRecommendedSettings ()
void applyFeatures (bool skipFeatures)

Protected Member Functions

void loadGPUClass ()
void initBaseMask ()

Protected Attributes

std::map< LLString,
LLFeatureList * > 
mMaskList
std::set< LLStringmSkippedFeatures
BOOL mInited
S32 mTableVersion
BOOL mSafe
EGPUClass mGPUClass
std::string mGPUString
BOOL mGPUSupported


Detailed Description

Definition at line 97 of file llfeaturemanager.h.


Constructor & Destructor Documentation

LLFeatureManager::LLFeatureManager (  )  [inline]

Definition at line 100 of file llfeaturemanager.h.

LLFeatureManager::~LLFeatureManager (  )  [inline]

Definition at line 101 of file llfeaturemanager.h.

References cleanupFeatureTables().

Here is the call graph for this function:


Member Function Documentation

void LLFeatureManager::init ( void   ) 

Definition at line 420 of file llfeaturemanager.cpp.

References applyBaseMasks(), loadFeatureTables(), and loadGPUClass().

Referenced by LLViewerWindow::LLViewerWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFeatureManager::maskCurrentList ( const char *  name  ) 

BOOL LLFeatureManager::loadFeatureTables (  ) 

Definition at line 213 of file llfeaturemanager.cpp.

References LLFeatureList::addFeature(), FALSE, FEATURE_TABLE_FILENAME, gDirUtilp, LLDir::getAppRODataDir(), LLDir::getDirDelimiter(), LL_ENDL, LL_ERRS, LL_WARNS, LLFeatureList::LLFeatureList(), llifstream, MAX_STRING, mMaskList, mSkippedFeatures, mTableVersion, NULL, S32, and TRUE.

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

EGPUClass LLFeatureManager::getGPUClass (  )  [inline]

Definition at line 110 of file llfeaturemanager.h.

References mGPUClass.

Referenced by send_stats(), and LLShaderMgr::setShaders().

Here is the caller graph for this function:

std::string& LLFeatureManager::getGPUString (  )  [inline]

Definition at line 111 of file llfeaturemanager.h.

References mGPUString.

Referenced by send_stats().

Here is the caller graph for this function:

BOOL LLFeatureManager::isGPUSupported (  )  [inline]

Definition at line 112 of file llfeaturemanager.h.

References mGPUSupported.

void LLFeatureManager::cleanupFeatureTables (  ) 

Definition at line 414 of file llfeaturemanager.cpp.

References mMaskList.

Referenced by ~LLFeatureManager().

Here is the caller graph for this function:

S32 LLFeatureManager::getVersion (  )  const [inline]

Definition at line 116 of file llfeaturemanager.h.

References mTableVersion.

Referenced by idle_startup(), and LLViewerWindow::LLViewerWindow().

Here is the caller graph for this function:

void LLFeatureManager::setSafe ( const BOOL  safe  )  [inline]

Definition at line 117 of file llfeaturemanager.h.

References mSafe.

BOOL LLFeatureManager::isSafe (  )  const [inline]

Definition at line 118 of file llfeaturemanager.h.

References mSafe.

Referenced by applyBaseMasks(), and LLViewerWindow::LLViewerWindow().

Here is the caller graph for this function:

LLFeatureList * LLFeatureManager::findMask ( const char *  name  ) 

Definition at line 191 of file llfeaturemanager.cpp.

References mMaskList, and NULL.

Referenced by applyBaseMasks(), and maskFeatures().

Here is the caller graph for this function:

BOOL LLFeatureManager::maskFeatures ( const char *  name  ) 

Definition at line 201 of file llfeaturemanager.cpp.

References FALSE, findMask(), LL_DEBUGS, LL_ENDL, and LLFeatureList::maskList().

Referenced by applyBaseMasks(), and setGraphicsLevel().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFeatureManager::setGraphicsLevel ( S32  level,
bool  skipFeatures 
)

Definition at line 515 of file llfeaturemanager.cpp.

References applyBaseMasks(), applyFeatures(), and maskFeatures().

Referenced by applyRecommendedSettings(), LLViewerWindow::LLViewerWindow(), and LLPanelDisplay::onChangeQuality().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFeatureManager::applyBaseMasks (  ) 

void LLFeatureManager::applyRecommendedSettings (  ) 

void LLFeatureManager::applyFeatures ( bool  skipFeatures  ) 

void LLFeatureManager::loadGPUClass (  )  [protected]

Definition at line 311 of file llfeaturemanager.cpp.

References FALSE, gDirUtilp, LLDir::getAppRODataDir(), LLDir::getDirDelimiter(), LLGLManager::getRawGLString(), gGLManager, GPU_CLASS_UNKNOWN, GPU_TABLE_FILENAME, i, LL_ENDL, LL_INFOS, LL_WARNS, llendl, llifstream, MAX_STRING, mGPUClass, mGPUString, mGPUSupported, and NULL.

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFeatureManager::initBaseMask (  )  [protected]


Member Data Documentation

Definition at line 141 of file llfeaturemanager.h.

Referenced by cleanupFeatureTables(), findMask(), and loadFeatureTables().

Definition at line 142 of file llfeaturemanager.h.

Referenced by applyFeatures(), and loadFeatureTables().

Definition at line 143 of file llfeaturemanager.h.

Definition at line 144 of file llfeaturemanager.h.

Referenced by getVersion(), and loadFeatureTables().

Definition at line 145 of file llfeaturemanager.h.

Referenced by isSafe(), and setSafe().

std::string LLFeatureManager::mGPUString [protected]

Definition at line 147 of file llfeaturemanager.h.

Referenced by applyBaseMasks(), getGPUString(), and loadGPUClass().

Definition at line 148 of file llfeaturemanager.h.

Referenced by isGPUSupported(), and loadGPUClass().


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

Generated on Fri May 16 08:44:33 2008 for SecondLife by  doxygen 1.5.5