LLFeatureList Class Reference

#include <llfeaturemanager.h>

Inheritance diagram for LLFeatureList:

Inheritance graph
[legend]
Collaboration diagram for LLFeatureList:

Collaboration graph
[legend]

List of all members.

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_tgetFeatures ()
void dump ()

Protected Attributes

LLString mName
feature_map_t mFeatures


Detailed Description

Definition at line 65 of file llfeaturemanager.h.


Member Typedef Documentation

Definition at line 68 of file llfeaturemanager.h.


Constructor & Destructor Documentation

LLFeatureList::LLFeatureList ( const char *  name = "default"  ) 

Definition at line 85 of file llfeaturemanager.cpp.

References mName.

Referenced by LLFeatureManager::loadFeatureTables().

Here is the caller graph for this function:

LLFeatureList::~LLFeatureList (  )  [virtual]

Definition at line 90 of file llfeaturemanager.cpp.


Member Function Documentation

BOOL LLFeatureList::isFeatureAvailable ( const char *  name  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFeatureList::setFeatureAvailable ( const char *  name,
const BOOL  available 
)

void LLFeatureList::setRecommendedLevel ( const char *  name,
const F32  level 
)

BOOL LLFeatureList::loadFeatureList ( LLFILE fp  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFeatureList::addFeature ( const char *  name,
const BOOL  available,
const F32  level 
)

Definition at line 94 of file llfeaturemanager.cpp.

References LL_ENDL, LL_WARNS, and mFeatures.

Referenced by LLFeatureManager::loadFeatureTables().

Here is the caller graph for this function:

feature_map_t& LLFeatureList::getFeatures (  )  [inline]

Definition at line 85 of file llfeaturemanager.h.

References mFeatures.

Referenced by LLFeatureManager::applyBaseMasks().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 92 of file llfeaturemanager.h.

Referenced by dump(), LLFeatureList(), and maskList().


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

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