#include <llfeaturemanager.h>
Inheritance diagram for LLFeatureList:
Public Member Functions | |
LLFeatureList (const char *name="default") | |
virtual | ~LLFeatureList () |
BOOL | isFeatureAvailable (const char *name) |
S32 | getRecommendedLevel (const char *name) |
void | setFeatureAvailable (const char *name, const BOOL available) |
void | setRecommendedLevel (const char *name, const S32 level) |
BOOL | loadFeatureList (FILE *fp) |
BOOL | maskList (LLFeatureList &mask) |
void | addFeature (const char *name, const BOOL available, const S32 level) |
void | dump () |
Protected Types | |
typedef std::map< LLString, LLFeatureInfo > | feature_map_t |
Protected Attributes | |
LLString | mName |
feature_map_t | mFeatures |
Definition at line 57 of file llfeaturemanager.h.
typedef std::map<LLString, LLFeatureInfo> LLFeatureList::feature_map_t [protected] |
Definition at line 78 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.
Definition at line 94 of file llfeaturemanager.cpp.
References llendl, llwarns, and mFeatures.
Referenced by LLFeatureManager::loadFeatureTables().
void LLFeatureList::dump | ( | ) |
Definition at line 173 of file llfeaturemanager.cpp.
References llendl, llinfos, LLFeatureInfo::mAvailable, mFeatures, LLFeatureInfo::mName, mName, and LLFeatureInfo::mRecommendedLevel.
Referenced by LLFeatureManager::applyRecommendedFeatures(), and maskList().
S32 LLFeatureList::getRecommendedLevel | ( | const char * | name | ) |
Definition at line 116 of file llfeaturemanager.cpp.
References llendl, llwarns, and mFeatures.
Referenced by LLFeatureManager::applyRecommendedFeatures().
BOOL LLFeatureList::isFeatureAvailable | ( | const char * | name | ) |
Definition at line 105 of file llfeaturemanager.cpp.
References FALSE, llendl, llwarns, and mFeatures.
Referenced by LLPipeline::canUseVertexShaders(), display(), LLUseOcclusionListener::handleEvent(), init_debug_rendering_menu(), LLVOSky::initCubeMap(), LLCubeMap::initGL(), LLViewerWindow::LLViewerWindow(), LLDrawPoolWater::prerender(), LLPanelDisplay3::refreshEnabledState(), LLPanelDisplay2::refreshEnabledState(), LLVOSky::restoreGL(), and LLShaderMgr::setShaders().
BOOL LLFeatureList::loadFeatureList | ( | FILE * | fp | ) |
BOOL LLFeatureList::maskList | ( | LLFeatureList & | mask | ) |
Definition at line 127 of file llfeaturemanager.cpp.
References dump(), llendl, llinfos, llmin(), llwarns, mask, LLFeatureInfo::mAvailable, mFeatures, LLFeatureInfo::mName, LLFeatureInfo::mRecommendedLevel, and TRUE.
Referenced by LLFeatureManager::maskFeatures().
feature_map_t LLFeatureList::mFeatures [protected] |
Definition at line 79 of file llfeaturemanager.h.
Referenced by addFeature(), dump(), getRecommendedLevel(), isFeatureAvailable(), and maskList().
LLString LLFeatureList::mName [protected] |