#include <llfeaturemanager.h>


Public Types | |
| typedef std::map< LLString, LLFeatureInfo > | feature_map_t |
Public Member Functions | |
| LLFeatureList (const char *name="default") | |
| virtual | ~LLFeatureList () |
| BOOL | isFeatureAvailable (const char *name) |
| F32 | getRecommendedValue (const char *name) |
| void | setFeatureAvailable (const char *name, const BOOL available) |
| void | setRecommendedLevel (const char *name, const F32 level) |
| BOOL | loadFeatureList (LLFILE *fp) |
| BOOL | maskList (LLFeatureList &mask) |
| void | addFeature (const char *name, const BOOL available, const F32 level) |
| feature_map_t & | getFeatures () |
| void | dump () |
Protected Attributes | |
| LLString | mName |
| feature_map_t | mFeatures |
Definition at line 65 of file llfeaturemanager.h.
| typedef std::map<LLString, LLFeatureInfo> LLFeatureList::feature_map_t |
Definition at line 68 of file llfeaturemanager.h.
| LLFeatureList::LLFeatureList | ( | const char * | name = "default" |
) |
Definition at line 85 of file llfeaturemanager.cpp.
References mName.
Referenced by LLFeatureManager::loadFeatureTables().

| LLFeatureList::~LLFeatureList | ( | ) | [virtual] |
Definition at line 90 of file llfeaturemanager.cpp.
| BOOL LLFeatureList::isFeatureAvailable | ( | const char * | name | ) |
Definition at line 105 of file llfeaturemanager.cpp.
References LL_ENDL, LL_WARNS, mFeatures, and TRUE.
Referenced by LLPipeline::canUseVertexShaders(), display(), getRecommendedValue(), handleUseOcclusionChanged(), init_debug_rendering_menu(), LLVOSky::initCubeMap(), LLCubeMap::initGL(), LLDrawPoolWater::prerender(), LLPanelDisplay::refreshEnabledState(), LLVOSky::restoreGL(), and LLShaderMgr::setShaders().

| F32 LLFeatureList::getRecommendedValue | ( | const char * | name | ) |
Definition at line 119 of file llfeaturemanager.cpp.
References isFeatureAvailable(), LL_ENDL, LL_WARNS, and mFeatures.
Referenced by LLFeatureManager::applyFeatures().


| void LLFeatureList::setFeatureAvailable | ( | const char * | name, | |
| const BOOL | available | |||
| ) |
| void LLFeatureList::setRecommendedLevel | ( | const char * | name, | |
| const F32 | level | |||
| ) |
| BOOL LLFeatureList::maskList | ( | LLFeatureList & | mask | ) |
Definition at line 130 of file llfeaturemanager.cpp.
References dump(), LL_CONT, LL_DEBUGS, LL_ENDL, LL_WARNS, llmin(), LLFeatureInfo::mAvailable, mFeatures, mName, LLFeatureInfo::mName, LLFeatureInfo::mRecommendedLevel, and TRUE.
Referenced by LLFeatureManager::maskFeatures().


Definition at line 94 of file llfeaturemanager.cpp.
References LL_ENDL, LL_WARNS, and mFeatures.
Referenced by LLFeatureManager::loadFeatureTables().

| feature_map_t& LLFeatureList::getFeatures | ( | ) | [inline] |
Definition at line 85 of file llfeaturemanager.h.
References mFeatures.
Referenced by LLFeatureManager::applyBaseMasks().

| void LLFeatureList::dump | ( | ) |
Definition at line 176 of file llfeaturemanager.cpp.
References LL_DEBUGS, LL_ENDL, LLFeatureInfo::mAvailable, mFeatures, LLFeatureInfo::mName, mName, and LLFeatureInfo::mRecommendedLevel.
Referenced by LLFeatureManager::applyFeatures(), and maskList().

LLString LLFeatureList::mName [protected] |
Definition at line 92 of file llfeaturemanager.h.
Referenced by dump(), LLFeatureList(), and maskList().
feature_map_t LLFeatureList::mFeatures [protected] |
Definition at line 93 of file llfeaturemanager.h.
Referenced by addFeature(), LLFeatureManager::applyBaseMasks(), LLFeatureManager::applyFeatures(), dump(), getFeatures(), getRecommendedValue(), isFeatureAvailable(), and maskList().
1.5.5