LLControlGroup Class Reference

#include <llcontrol.h>

Collaboration diagram for LLControlGroup:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLControlGroup ()
 ~LLControlGroup ()
void cleanup ()
LLControlVariablegetControl (const LLString &name)
void applyToAll (ApplyFunctor *func)
BOOL declareControl (const LLString &name, eControlType type, const LLSD initial_val, const LLString &comment, BOOL persist)
BOOL declareU32 (const LLString &name, U32 initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareS32 (const LLString &name, S32 initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareF32 (const LLString &name, F32 initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareBOOL (const LLString &name, BOOL initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareString (const LLString &name, const LLString &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareVec3 (const LLString &name, const LLVector3 &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareVec3d (const LLString &name, const LLVector3d &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareRect (const LLString &name, const LLRect &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareColor4U (const LLString &name, const LLColor4U &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareColor4 (const LLString &name, const LLColor4 &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareColor3 (const LLString &name, const LLColor3 &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareLLSD (const LLString &name, const LLSD &initial_val, const LLString &comment, BOOL persist=TRUE)
LLString findString (const LLString &name)
LLString getString (const LLString &name)
LLWString getWString (const LLString &name)
LLString getText (const LLString &name)
LLVector3 getVector3 (const LLString &name)
LLVector3d getVector3d (const LLString &name)
LLRect getRect (const LLString &name)
BOOL getBOOL (const LLString &name)
S32 getS32 (const LLString &name)
F32 getF32 (const LLString &name)
U32 getU32 (const LLString &name)
LLSD getLLSD (const LLString &name)
LLColor4 getColor (const LLString &name)
LLColor4U getColor4U (const LLString &name)
LLColor4 getColor4 (const LLString &name)
LLColor3 getColor3 (const LLString &name)
void setBOOL (const LLString &name, BOOL val)
void setS32 (const LLString &name, S32 val)
void setF32 (const LLString &name, F32 val)
void setU32 (const LLString &name, U32 val)
void setString (const LLString &name, const LLString &val)
void setVector3 (const LLString &name, const LLVector3 &val)
void setVector3d (const LLString &name, const LLVector3d &val)
void setRect (const LLString &name, const LLRect &val)
void setColor4U (const LLString &name, const LLColor4U &val)
void setColor4 (const LLString &name, const LLColor4 &val)
void setColor3 (const LLString &name, const LLColor3 &val)
void setLLSD (const LLString &name, const LLSD &val)
void setValue (const LLString &name, const LLSD &val)
BOOL controlExists (const LLString &name)
U32 loadFromFileLegacy (const LLString &filename, BOOL require_declaration=TRUE, eControlType declare_as=TYPE_STRING)
U32 saveToFile (const LLString &filename, BOOL nondefault_only)
U32 loadFromFile (const LLString &filename)
void resetToDefaults ()
void addWarning (const LLString &name)
BOOL getWarning (const LLString &name)
void setWarning (const LLString &name, BOOL val)
void resetWarnings ()

Protected Types

typedef std::map< LLString,
LLControlVariable * > 
ctrl_name_table_t

Protected Member Functions

eControlType typeStringToEnum (const LLString &typestr)
LLString typeEnumToString (eControlType typeenum)

Protected Attributes

ctrl_name_table_t mNameTable
std::set< LLStringmWarnings
LLString mTypeString [TYPE_COUNT]

Classes

struct  ApplyFunctor


Detailed Description

Definition at line 134 of file llcontrol.h.


Member Typedef Documentation

Definition at line 137 of file llcontrol.h.


Constructor & Destructor Documentation

LLControlGroup::LLControlGroup (  ) 

LLControlGroup::~LLControlGroup (  ) 

Definition at line 204 of file llcontrol.cpp.

References cleanup().

Here is the call graph for this function:


Member Function Documentation

eControlType LLControlGroup::typeStringToEnum ( const LLString typestr  )  [protected]

Definition at line 215 of file llcontrol.cpp.

References i, mTypeString, and TYPE_COUNT.

Referenced by loadFromFile().

Here is the caller graph for this function:

LLString LLControlGroup::typeEnumToString ( eControlType  typeenum  )  [protected]

Definition at line 224 of file llcontrol.cpp.

References mTypeString.

Referenced by saveToFile().

Here is the caller graph for this function:

void LLControlGroup::cleanup (  ) 

Definition at line 209 of file llcontrol.cpp.

References mNameTable.

Referenced by LLAppViewer::cleanup(), and ~LLControlGroup().

Here is the caller graph for this function:

LLControlVariable * LLControlGroup::getControl ( const LLString name  ) 

void LLControlGroup::applyToAll ( ApplyFunctor func  ) 

Definition at line 1028 of file llcontrol.cpp.

References LLControlGroup::ApplyFunctor::apply(), and mNameTable.

Referenced by LLFloaterSettingsDebug::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::declareControl ( const LLString name,
eControlType  type,
const LLSD  initial_val,
const LLString comment,
BOOL  persist 
)

BOOL LLControlGroup::declareU32 ( const LLString name,
U32  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 243 of file llcontrol.cpp.

References declareControl(), and TYPE_U32.

Here is the call graph for this function:

BOOL LLControlGroup::declareS32 ( const LLString name,
S32  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 248 of file llcontrol.cpp.

References declareControl(), and TYPE_S32.

Referenced by LLCrashLogger::init(), and LLAlertDialog::parseAlerts().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::declareF32 ( const LLString name,
F32  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 253 of file llcontrol.cpp.

References declareControl(), and TYPE_F32.

Here is the call graph for this function:

BOOL LLControlGroup::declareBOOL ( const LLString name,
BOOL  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 258 of file llcontrol.cpp.

References declareControl(), and TYPE_BOOLEAN.

Referenced by addWarning().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::declareString ( const LLString name,
const LLString initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 263 of file llcontrol.cpp.

References declareControl(), and TYPE_STRING.

Referenced by loadFromFileLegacy().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::declareVec3 ( const LLString name,
const LLVector3 initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 268 of file llcontrol.cpp.

References declareControl(), LLVector3::getValue(), and TYPE_VEC3.

Here is the call graph for this function:

BOOL LLControlGroup::declareVec3d ( const LLString name,
const LLVector3d initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 273 of file llcontrol.cpp.

References declareControl(), LLVector3d::getValue(), and TYPE_VEC3D.

Here is the call graph for this function:

BOOL LLControlGroup::declareRect ( const LLString name,
const LLRect initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 278 of file llcontrol.cpp.

References declareControl(), LLRectBase< Type >::getValue(), and TYPE_RECT.

Here is the call graph for this function:

BOOL LLControlGroup::declareColor4U ( const LLString name,
const LLColor4U initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 283 of file llcontrol.cpp.

References declareControl(), LLColor4U::getValue(), and TYPE_COL4U.

Referenced by loadFromFileLegacy().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::declareColor4 ( const LLString name,
const LLColor4 initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 288 of file llcontrol.cpp.

References declareControl(), LLColor4::getValue(), and TYPE_COL4.

Referenced by loadFromFileLegacy().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::declareColor3 ( const LLString name,
const LLColor3 initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 293 of file llcontrol.cpp.

References declareControl(), LLColor3::getValue(), and TYPE_COL3.

Here is the call graph for this function:

BOOL LLControlGroup::declareLLSD ( const LLString name,
const LLSD initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 298 of file llcontrol.cpp.

References declareControl(), and TYPE_LLSD.

Here is the call graph for this function:

LLString LLControlGroup::findString ( const LLString name  ) 

Definition at line 355 of file llcontrol.cpp.

References LLSD::asString(), LLControlVariable::get(), getControl(), LLControlVariable::isType(), LLStringBase< char >::null, and TYPE_STRING.

Here is the call graph for this function:

LLString LLControlGroup::getString ( const LLString name  ) 

Definition at line 364 of file llcontrol.cpp.

References LLSD::asString(), CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, LLStringBase< char >::null, and TYPE_STRING.

Referenced by LLToolPlacer::addObject(), LLPrefsIMImpl::apply(), LLUserAuth::authenticate(), LLPanelDirFind::buildSearchURL(), LLAppViewer::cleanup(), LLVoiceClient::connectorCreate(), LLVOAvatar::getDefaultTEImageID(), LLAgent::getName(), LLPanelDirFind::getSearchURLSuffix(), getText(), getWString(), handle_reload_settings(), LLAppViewer::handleViewerCrash(), handleVoiceClientPrefsChanged(), idle_startup(), LLXMLRPCTransaction::Impl::init(), LLViewerJoystick::init(), LLPrefsVoiceLogic::init(), LLAppViewer::init(), init_audio(), LLAppViewer::initCache(), LLViewerMedia::initClass(), LLAppViewer::initConfiguration(), LLViewerWindow::initFonts(), initGridChoice(), LLFloaterCustomize::initWearablePanels(), LLAppViewer::initWindow(), LLFloaterAbout::LLFloaterAbout(), LLFloaterHtmlHelp::LLFloaterHtmlHelp(), LLFloaterHUD::LLFloaterHUD(), LLPanelLogin::LLPanelLogin(), LLPanelVoiceDeviceSettings::LLPanelVoiceDeviceSettings(), LLViewerWindow::LLViewerWindow(), LLVoiceClient::LLVoiceClient(), load_password_from_disk(), LLPanelLogin::loadLoginPage(), LLUI::locateSkin(), login_callback(), LLWebBrowserCtrl::navigateToLocalPage(), LLFloaterPreference::onBtnOK(), LLFloaterCustomize::onBtnSnapshot(), LLFloaterHtmlHelp::onClickF1HelpLoadURL(), LLPanelNetwork::onClickResetCache(), LLPanelNetwork::onClickSetCache(), LLPanelWeb::onCommitWebProxyAddress(), LLPanelWeb::onCommitWebProxyEnabled(), LLPanelWeb::onCommitWebProxyPort(), LLScriptEdCore::onHelpComboCommit(), LLPanelVoiceDeviceSettings::onOpen(), LLViewerWindow::playSnapshotAnimAndSound(), LLPanelGeneral::postBuild(), LLPanelFace::postBuild(), LLPanelDirLand::postBuild(), LLPanelActiveSpeakers::postBuild(), LLVOAvatar::processSingleAnimationStateChange(), LLPrefsIMImpl::refresh(), LLPanelWeb::refresh(), LLPanelGeneral::refresh(), send_stats(), LLScriptEdCore::setHelpPage(), LLPrefsIMImpl::setPersonalInfo(), LLVoiceVisualizer::setPreferences(), LLUICtrlFactory::setupPaths(), LLVoiceClient::stateMachine(), LLAgentPilot::stopRecord(), LLFloaterDirectory::toggleFind(), update_app(), update_dialog_callback(), LLVoiceClient::userAuthorized(), and LLAppViewer::writeSystemInfo().

Here is the call graph for this function:

LLWString LLControlGroup::getWString ( const LLString name  ) 

Definition at line 377 of file llcontrol.cpp.

References getString(), and utf8str_to_wstring().

Here is the call graph for this function:

LLString LLControlGroup::getText ( const LLString name  ) 

Definition at line 382 of file llcontrol.cpp.

References getString(), and LLStringBase< char >::replaceChar().

Referenced by busy_message(), and process_improved_im().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3 LLControlGroup::getVector3 ( const LLString name  ) 

Definition at line 390 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, TYPE_VEC3, and LLVector3::zero.

Referenced by LLAgent::calcFocusPositionTargetGlobal(), LLSky::init(), LLAgent::init(), and LLPipeline::renderBloom().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3d LLControlGroup::getVector3d ( const LLString name  ) 

Definition at line 403 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, TYPE_VEC3D, and LLVector3d::zero.

Referenced by idle_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

LLRect LLControlGroup::getRect ( const LLString name  ) 

BOOL LLControlGroup::getBOOL ( const LLString name  ) 

Definition at line 303 of file llcontrol.cpp.

References LLSD::asBoolean(), CONTROL_ERRS, FALSE, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, and TYPE_BOOLEAN.

Referenced by add_timestamped_line(), LLFloaterChat::addChat(), LLFloaterChat::addChatHistory(), LLToolPlacer::addDuplicate(), LLFloaterIMPanel::addHistoryLine(), LLToolPlacer::addObject(), LLViewerObject::adjustAudioGain(), agent_jump(), LLFloaterHardwareSettings::apply(), LLFeatureManager::applyRecommendedSettings(), LLPanelDisplay::applyResolution(), audio_update_volume(), audio_update_wind(), LLPreviewSound::auditionSound(), LLMediaRemoteCtrl::build(), LLAgent::calcCameraPositionTargetGlobal(), LLViewerWindow::calcDisplayScale(), LLAgent::cameraOrbitIn(), LLManipTranslate::canAffectSelection(), LLManipRotate::canAffectSelection(), LLFloaterJoystick::cancel(), LLSelectMgr::canSelectObject(), LLViewerWindow::changeDisplaySettings(), check_offer_throttle(), check_show_xui_names(), check_toggle_control(), LLFloaterSnapshot::Impl::checkAspectRatio(), LLFloaterSnapshot::Impl::checkAutoSnapshot(), LLViewerWindow::checkSettings(), click_popup_dozer_mode(), click_show_more(), commit_select_tool(), LLViewerImageList::convertToUploadFile(), LLSelectMgr::deselectAllIfTooFar(), LLSelectMgr::deselectHighlightedObjects(), display(), LLFolderView::doIdle(), LLManipRotate::dragConstrained(), LLManipScale::dragCorner(), LLManipScale::dragFace(), LLWorldMapView::draw(), LLVoiceRemoteCtrl::draw(), LLViewerWindow::draw(), LLToolGun::draw(), LLPrefsVoice::draw(), LLPanelAudioVolume::draw(), LLFloaterSnapshot::draw(), LLWorldMapView::drawEvents(), LLMediaRemoteCtrl::enableMediaButtons(), LLEmbeddedNotecardOpener::fire(), LLSnapshotLivePreview::generateThumbnailImage(), LLPipeline::generateWaterReflection(), get_texture_list_name(), LLAgent::getCameraMinOffGround(), LLViewerWindow::getDisplayAspectRatio(), LLManipScale::getShowAxes(), LLPanelObject::getState(), LLManipScale::getStretchTextures(), LLManipScale::getUniform(), getWarning(), handle_chat(), handle_go_to(), LLWorldMapView::handleClick(), LLToolSelectLand::handleDeselect(), LLToolBrushLand::handleDeselect(), LLToolPie::handleDoubleClick(), LLFileTakeSnapshotToDisk::handleEvent(), LLViewCheckBeaconEnabled::handleEvent(), LLToolsEditLinkedParts::handleEvent(), LLToolsSelectOnlyMovableObjects::handleEvent(), LLToolsSelectOnlyMyObjects::handleEvent(), LLViewEnableMouselook::handleEvent(), LLToggleControl::handleEvent(), LLLandEdit::handleEvent(), LLToolsEnableLink::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolGun::handleHover(), LLManipTranslate::handleHover(), LLSnapshotFloaterView::handleHover(), LLToolGrab::handleHoverInactive(), LLViewerWindow::handleKey(), LLSnapshotFloaterView::handleKey(), LLFloaterIMPanel::handleKeyHere(), LLMenuBarGL::handleKeyHere(), LLSnapshotFloaterView::handleMouseDown(), LLManipTranslate::handleMouseDownOnPart(), LLToolSelect::handleMouseUp(), LLSnapshotFloaterView::handleMouseUp(), LLToolSelect::handleObjectSelection(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLToolSelectLand::handleSelect(), LLToolComposite::handleSelect(), LLToolBrushLand::handleSelect(), handleVoiceClientPrefsChanged(), LLManipTranslate::highlightIntersection(), LLSelectMgr::highlightObjectOnly(), LLAppViewer::idle(), idle_startup(), LLAppViewer::idleNetwork(), LLVOAvatar::idleUpdate(), LLToolMgr::inBuildMode(), LLPipeline::init(), LLXMLRPCTransaction::Impl::init(), LLSky::init(), LLPrefsVoiceLogic::init(), LLFloaterIMPanel::init(), LLAppViewer::init(), LLAgent::init(), init_audio(), init_client_menu(), init_start_screen(), LLViewerWindow::initBase(), LLAppViewer::initCache(), LLUI::initClass(), LLAppViewer::initConfiguration(), LLVOSky::initCubeMap(), LLUIImageList::initFromFile(), LLAppViewerWin32::initHardwareTest(), LLSurface::initTextures(), LLAppViewer::initWindow(), LLViewerWindow::initWorldUI(), inventory_offer_handler(), LLIMMgr::inviteToSession(), LLVOAvatar::isFullyLoaded(), LLCompass::LLCompass(), LLFloaterAuction::LLFloaterAuction(), LLFloaterChatterBox::LLFloaterChatterBox(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLFloaterTools::LLFloaterTools(), LLHorizontalCompass::LLHorizontalCompass(), LLNetMap::LLNetMap(), LLPanelDebug::LLPanelDebug(), LLPanelLogin::LLPanelLogin(), LLSelectMgr::LLSelectMgr(), LLSnapshotLivePreview::LLSnapshotLivePreview(), LLStatusBar::LLStatusBar(), LLStatView::LLStatView(), LLViewerWindow::LLViewerWindow(), LLVoiceClient::LLVoiceClient(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), LLVOSky::LLVOSky(), LLPanelLogin::loadLoginPage(), LLWeb::loadURL(), log_chat_text(), login_show(), LLAppViewer::mainLoop(), menu_check_control(), menu_toggle_control(), menu_ui_enabled(), LLViewerJoystick::moveAvatar(), LLViewerJoystick::moveFlycam(), LLViewerJoystick::moveObjects(), LLViewerWindow::movieSize(), LLDrawPoolBump::numBumpPasses(), LLScriptEdCore::onBtnDynamicHelp(), LLVoiceRemoteCtrl::onBtnTalkClicked(), LLVoiceRemoteCtrl::onBtnTalkHeld(), LLVoiceRemoteCtrl::onBtnTalkReleased(), LLFloaterSnapshot::Impl::onClickKeep(), LLFloaterSnapshot::Impl::onClickKeepAspectCheck(), LLVoiceRemoteCtrl::onClickPopupBtn(), LLFloaterAuction::onClickSnapshot(), LLFloaterTools::onClose(), LLPanelWeb::onCommitWebProxyAddress(), LLPanelWeb::onCommitWebProxyEnabled(), LLPanelWeb::onCommitWebProxyPort(), LLSnapshotLivePreview::onIdle(), LLFloaterWindLight::onSavePreset(), LLFloaterWater::onSavePreset(), LLViewerTextEditor::openEmbeddedSound(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolCompRotate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompTranslate::pickCallback(), LLToolCompInspect::pickCallback(), LLToolPlacer::placeObject(), LLViewerParcelMedia::play(), LLViewerMediaImpl::play(), LLPanelWeb::postBuild(), LLPanelNetwork::postBuild(), LLPanelMsgs::postBuild(), LLPanelGeneral::postBuild(), LLPanelDisplay::postBuild(), LLPanelDirLand::postBuild(), LLPanelAudioPrefs::postBuild(), LLOverlayBar::postBuild(), LLFloaterTools::postBuild(), LLFloaterSnapshot::postBuild(), LLFloaterJoystick::postBuild(), LLFloaterColorPicker::postBuild(), LLPanelActiveSpeakers::postBuild(), process_chat_from_simulator(), process_money_balance_reply(), process_script_question(), process_sound_trigger(), process_time_synch(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLAvatarTracker::processNotify(), LLVOAvatar::processSingleAnimationStateChange(), LLAgent::propagate(), LLViewerWindow::rawSnapshot(), LLSelectMgr::redo(), LLToolBar::refresh(), LLStatusBar::refresh(), LLPrefsVoiceLogic::refresh(), LLPrefsIMImpl::refresh(), LLPrefsChatImpl::refresh(), LLPanelWeb::refresh(), LLPanelPermissions::refresh(), LLPanelNetwork::refresh(), LLPanelLCD::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay::refresh(), LLOverlayBar::refresh(), LLFloaterJoystick::refresh(), LLFloaterHardwareSettings::refresh(), LLPanelDisplay::refreshEnabledState(), LLFloaterProperties::refreshFromItem(), LLPanelLogin::refreshLocation(), LLManipScale::render(), LLHUDEffectSpiral::render(), LLDrawPoolTerrain::render(), render_ui_3d(), LLTracker::renderBeacon(), LLPipeline::renderGeom(), LLDrawPoolAlpha::renderGroupAlpha(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerWindow::renderSelections(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLPipeline::resetVertexBuffers(), LLAgent::resetView(), LLVOSky::restoreGL(), LLViewerWindow::saveImageNumbered(), LLViewerJoystick::scanJoystick(), script_question_cb(), LLSelectMgr::selectionMove(), LLSelectMgr::selectObjectAndFamily(), LLChatBar::sendChat(), LLSelectMgr::sendMultipleUpdate(), LLTextureFetch::sendRequestListToSimulators(), LLSelectMgr::sendSelectionMove(), LLManipScale::sendUpdates(), LLViewerObject::setAttachedSound(), LLViewerJoystick::setOverrideCamera(), LLViewerCamera::setPerspective(), LLShaderMgr::setShaders(), LLPanelEditWearable::setSubpart(), LLAgent::setTeleportState(), settings_modify(), settings_to_globals(), LLPanelAvatarWeb::setWebURL(), LLDrawPoolWater::shade(), show_debug_menus(), LLFloaterTools::showMore(), LLFloaterColorPicker::showUI(), LLAgent::startTyping(), LLVoiceClient::stateMachine(), LLFloaterWindLight::syncMenu(), LLViewerWindow::thumbnailSnapshot(), LLViewerParcelMediaAutoPlay::tick(), LLToolBar::toggle(), toggle_build_mode(), toggle_debug_menus(), toggle_map(), toggle_show_xui_names(), LLViewerJoystick::toggleFlycam(), LLHUDEffectSpiral::triggerLocal(), ui_audio_callback(), LLSelectMgr::undo(), LLDebugText::update(), LLViewerParcelMedia::update(), LLViewerObjectList::update(), update_statistics(), LLVOAvatar::updateCharacter(), LLWorld::updateClouds(), LLToolBar::updateCommunicateList(), LLFloaterSnapshot::Impl::updateControls(), LLScriptEdCore::updateDynamicHelp(), LLViewerJoystick::updateEnabled(), LLManip::updateGridSettings(), LLFloaterSnapshot::Impl::updateLayout(), LLViewerObject::updateLOD(), LLPipeline::updateMove(), LLPipeline::updateMoveDampedAsync(), LLPipeline::updateMoveNormalAsync(), LLFloaterTools::updatePopup(), LLViewerParcelOverlay::updatePropertyLines(), LLSelectMgr::updateSilhouettes(), LLHoverView::updateText(), LLViewerJointMesh::updateVectorize(), LLManipRotate::updateVisiblity(), velocity_interpolate(), and LLVoiceClient::voiceEnabled().

Here is the call graph for this function:

S32 LLControlGroup::getS32 ( const LLString name  ) 

Definition at line 316 of file llcontrol.cpp.

References LLSD::asInteger(), CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, and TYPE_S32.

Referenced by LLPanelDisplay::applyResolution(), LLPipeline::blurReflectionMap(), LLPanelMsgs::buildLists(), LLViewerWindow::changeDisplaySettings(), LLFloaterSnapshot::Impl::checkAspectRatio(), LLFloaterSnapshot::Impl::checkImageSize(), LLViewerWindow::checkSettings(), LLPipeline::createGLBuffers(), display(), LLHoverView::draw(), LLTextBox::draw(), LLModalDialog::draw(), LLButton::draw(), LLAlertDialog::draw(), LLFolderView::filter(), LLPipeline::generateWaterReflection(), LLGroupNotifyBox::getGroupNotifyRect(), LLNotifyBox::getNotifyRect(), LLNotifyBox::getNotifyTipRect(), LLViewerWindow::getTargetWindow(), LLResizeHandle::handleHover(), LLResizeBar::handleHover(), handleVoiceClientPrefsChanged(), idle_startup(), LLXMLRPCTransaction::Impl::init(), LLPrefsVoiceLogic::init(), LLAppViewer::init(), LLViewerWindow::initBase(), LLAppViewer::initCache(), LLVOAvatar::initClass(), LLAppViewer::initConfiguration(), initGridChoice(), LLAppViewer::initWindow(), LLOverlayBar::layoutButtons(), LLConsole::LLConsole(), LLDragHandle::LLDragHandle(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLPanelDebug::LLPanelDebug(), LLPreferenceCore::LLPreferenceCore(), LLToolBrushLand::LLToolBrushLand(), LLViewerPartSim::LLViewerPartSim(), LLViewerWindow::LLViewerWindow(), LLVoiceClient::LLVoiceClient(), LLCrashLogger::loadCrashBehaviorSetting(), LLAppViewer::mainLoop(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerJoystick::moveAvatar(), LLViewerJoystick::moveFlycam(), LLViewerJoystick::moveObjects(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterSnapshot::Impl::onCommitResolution(), LLPanelWeb::onCommitWebProxyAddress(), LLPanelWeb::onCommitWebProxyEnabled(), LLPanelWeb::onCommitWebProxyPort(), LLFloaterSnapshot::postBuild(), LLPipeline::postSort(), LLDrawPoolTerrain::prerender(), LLVolumeGeometryManager::rebuildGeom(), LLPrefsChatImpl::refresh(), LLPanelWeb::refresh(), LLPanelLCD::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay::refresh(), LLFloaterJoystick::refresh(), LLFloaterHardwareSettings::refresh(), LLToolBrushLand::render(), LLPipeline::renderBloom(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), LLPipeline::setLightingDetail(), settings_to_globals(), LLAlertDialog::show(), LLViewerWindow::thumbnailSnapshot(), update_statistics(), LLFloaterSnapshot::Impl::updateControls(), LLVOWLSky::updateGeometry(), LLManip::updateGridSettings(), LLComboBox::updateLayout(), LLViewerImageList::updateMaxResidentTexMem(), and LLFloaterTools::updatePopup().

Here is the call graph for this function:

F32 LLControlGroup::getF32 ( const LLString name  ) 

Definition at line 342 of file llcontrol.cpp.

References LLSD::asReal(), CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, and TYPE_F32.

Referenced by LLToolPlacer::addObject(), LLViewerObject::adjustAudioGain(), audio_update_volume(), audio_update_wind(), LLPreviewSound::auditionSound(), LLVOSky::calcAtmospherics(), LLAgent::calcCameraPositionTargetGlobal(), LLViewerWindow::calcDisplayScale(), LLAgent::changeCameraToCustomizeAvatar(), LLMenuBarGL::checkMenuTrigger(), LLSelectMgr::deselectAllIfTooFar(), LLFloaterLagMeter::determineClient(), LLManipRotate::dragConstrained(), LLFloaterTexturePicker::draw(), LLFolderView::draw(), LLFolderViewItem::draw(), LLFloaterColorPicker::draw(), LLConsole::draw(), LLPieMenu::draw(), LLScrollListCtrl::drawItems(), LLViewerWindow::getDisplayAspectRatio(), LLSelectMgr::getGrid(), LLNotifyBox::getTemplate(), LLToolsSnapObjectXY::handleEvent(), LLToolGun::handleHover(), LLManipTranslate::handleHover(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLFolderView::handleUnicodeCharHere(), LLScrollListCtrl::handleUnicodeCharHere(), LLAppViewer::idle(), idle_afk_check(), idle_startup(), LLVOAvatar::idleUpdate(), LLSky::init(), LLAgent::init(), LLViewerWindow::initBase(), LLViewerWindow::initFonts(), LLAppViewer::initWindow(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLPanelVoiceDeviceSettings::LLPanelVoiceDeviceSettings(), LLSelectMgr::LLSelectMgr(), LLViewerWindow::LLViewerWindow(), LLVLComposition::LLVLComposition(), LLVoiceClient::LLVoiceClient(), LLVOSky::LLVOSky(), LLViewerThrottle::load(), LLViewerJoystick::moveAvatar(), LLViewerJoystick::moveFlycam(), LLViewerJoystick::moveObjects(), LLPanelVoiceDeviceSettings::onOpen(), LLViewerTextEditor::openEmbeddedSound(), LLNotifyBox::parseNotify(), LLPanelDisplay::postBuild(), LLPanelAudioPrefs::postBuild(), process_sound_trigger(), LLVOAvatar::processSingleAnimationStateChange(), LLToolPlacer::raycastForNewObjPos(), LLPrefsChatImpl::refresh(), LLPanelNetwork::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay::refresh(), LLFloaterJoystick::refresh(), LLFloaterHardwareSettings::refresh(), LLManipScale::render(), LLPipeline::renderBloom(), LLDrawPoolAlpha::renderGroupAlpha(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), LLViewerObject::setAttachedSound(), LLStatusBar::setBalance(), LLStatusBar::setHealth(), LLViewerCamera::setPerspective(), LLVoiceVisualizer::setPreferences(), settings_modify(), settings_to_globals(), LLManip::setupSnapGuideRenderPass(), LLAgent::startCameraAnimation(), LLAppViewer::startMainloopTimeout(), ui_audio_callback(), update_statistics(), LLAgent::updateCamera(), LLVOAvatar::updateCharacter(), LLVOSky::updateFog(), LLViewerObject::updateLOD(), LLAgent::updateLookAt(), LLViewerImageList::updateMaxResidentTexMem(), and LLManipRotate::updateVisiblity().

Here is the call graph for this function:

U32 LLControlGroup::getU32 ( const LLString name  ) 

LLSD LLControlGroup::getLLSD ( const LLString name  ) 

Definition at line 501 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlVariable::getValue(), LLControlVariable::isType(), llendl, and TYPE_LLSD.

Referenced by idle_startup(), LLAppViewer::initConfiguration(), and LLPanelLogin::loadLoginPage().

Here is the call graph for this function:

Here is the caller graph for this function:

LLColor4 LLControlGroup::getColor ( const LLString name  ) 

LLColor4U LLControlGroup::getColor4U ( const LLString name  ) 

Definition at line 462 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, TYPE_COL4U, and LLColor4U::white.

Referenced by LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

Here is the call graph for this function:

Here is the caller graph for this function:

LLColor4 LLControlGroup::getColor4 ( const LLString name  ) 

LLColor3 LLControlGroup::getColor3 ( const LLString name  ) 

Definition at line 488 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlVariable::get(), getControl(), LLControlVariable::isType(), llendl, TYPE_COL3, and LLColor3::white.

Referenced by LLVOSky::LLVOSky().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLControlGroup::setBOOL ( const LLString name,
BOOL  val 
)

Definition at line 521 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlVariable::isType(), llendl, LLControlVariable::set(), and TYPE_BOOLEAN.

Referenced by LLFloaterChatterBox::addFloater(), LLPrefsIMImpl::apply(), LLPanelDebug::apply(), LLFeatureManager::applyFeatures(), LLFeatureManager::applyRecommendedSettings(), callback_play_media(), LLPrefsVoiceLogic::cancel(), LLPrefsIMImpl::cancel(), LLPrefsChatImpl::cancel(), LLPanelWeb::cancel(), LLPanelNetwork::cancel(), LLPanelMsgs::cancel(), LLPanelLCD::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLPanelDisplay::cancel(), LLPanelAudioPrefs::cancel(), LLFloaterJoystick::cancel(), LLFloaterHardwareSettings::cancel(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToFollow(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), LLViewerWindow::changeDisplaySettings(), check_toggle_control(), LLAppViewer::cleanupSavedSettings(), click_popup_dozer_mode(), commit_select_component(), commit_select_tool(), LLAppViewer::disconnectViewer(), LLLoginHandler::handle(), handle_show_overlay_title(), LLToolSelectLand::handleDeselect(), LLToolBrushLand::handleDeselect(), LLViewToggleBeacon::handleEvent(), LLToolsShowSelectionLightRadius::handleEvent(), LLToolsShowHiddenSelection::handleEvent(), LLToolsSelectBySurrounding::handleEvent(), LLToolsSelectOnlyMovableObjects::handleEvent(), LLToolsSelectOnlyMyObjects::handleEvent(), LLToggleControl::handleEvent(), LLViewDefaultUISize::handleEvent(), LLViewerWindow::handleKey(), LLToolSelect::handleObjectSelection(), LLToolSelectLand::handleSelect(), LLToolBrushLand::handleSelect(), idle_startup(), LLAppViewer::initCache(), LLAppViewer::initConfiguration(), LLAppViewerWin32::initHardwareTest(), LLAppViewer::initWindow(), LLFloaterTools::LLFloaterTools(), LLViewerWindow::LLViewerWindow(), login_callback(), menu_toggle_control(), LLFloaterTexturePicker::onApplyImmediateCheck(), LLVoiceRemoteCtrl::onBtnLock(), LLScriptEdCore::onCheckLock(), LLFloaterSnapshot::Impl::onClickAutoSnap(), LLPanelNetwork::onClickClearCache(), LLFloaterSnapshot::Impl::onClickHUDCheck(), LLFloaterSnapshot::Impl::onClickKeepAspectCheck(), LLFloaterSnapshot::Impl::onClickKeepOpenCheck(), LLFloaterSnapshot::Impl::onClickLess(), LLFloaterSnapshot::Impl::onClickMore(), LLFloaterSnapshot::Impl::onClickUICheck(), LLFloaterMove::onClose(), LLInventoryView::onClose(), LLFloaterTools::onClose(), LLFloaterMap::onClose(), LLFloaterClothing::onClose(), LLFloaterChatterBox::onClose(), LLFloaterChat::onClose(), LLFloaterCamera::onClose(), LLFloaterActiveSpeakers::onClose(), LLFloaterSnapshot::Impl::onCommitFreezeFrame(), LLPanelAudioVolume::onCommitVolumeChange(), LLFloaterColorPicker::onImmediateCheck(), LLFloaterMove::onOpen(), LLFloaterChatterBox::onOpen(), LLFloaterCamera::onOpen(), LLFloaterActiveSpeakers::onOpen(), LLPanelWeb::onSelectBrowser(), LLPanelActiveSpeakers::onSortChanged(), LLLoginHandler::parse(), LLViewerRequiredVoiceVersion::post(), LLToolBar::refresh(), LLFloaterChatterBox::removeFloater(), resetWarnings(), LLViewerWindow::reshape(), run_vectorize_perf_test(), LLAppViewer::saveFinalSnapshot(), LLSelectMgr::selectObjectAndFamily(), LLSavedSettingsGlue::setBOOL(), LLAgent::setFlying(), LLFloaterTools::setObjectType(), LLShaderMgr::setShaders(), LLManipScale::setShowAxes(), LLViewerJoystick::setSNDefaults(), LLManipScale::setStretchTextures(), LLURLSimString::setString(), settings_modify(), LLManipScale::setUniform(), LLInventoryView::setVisible(), LLFloaterWorldMap::setVisible(), LLFloaterMap::setVisible(), LLFloaterDirectory::setVisible(), LLFloaterChat::setVisible(), setWarning(), LLFloaterClothing::show(), LLInventoryView::showAgentInventory(), LLFloaterTools::showMore(), LLChatBar::startChat(), LLChatBar::stopChat(), LLToolBar::toggle(), toggle_debug_menus(), toggle_map(), toggle_show_xui_names(), LLInventoryView::toggleVisibility(), LLViewerJoystick::updateEnabled(), LLViewerJointMesh::updateGeometry(), LLFloaterSnapshot::Impl::updateLayout(), velocity_interpolate(), LLFloaterDirectory::~LLFloaterDirectory(), LLFloaterLagMeter::~LLFloaterLagMeter(), LLFloaterSnapshot::~LLFloaterSnapshot(), and LLStatView::~LLStatView().

Here is the call graph for this function:

void LLControlGroup::setS32 ( const LLString name,
S32  val 
)

Definition at line 536 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlVariable::isType(), llendl, LLControlVariable::set(), and TYPE_S32.

Referenced by LLFeatureManager::applyFeatures(), LLPrefsVoiceLogic::cancel(), LLPrefsChatImpl::cancel(), LLPanelWeb::cancel(), LLPanelLCD::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLPanelDisplay::cancel(), LLFloaterJoystick::cancel(), LLFloaterHardwareSettings::cancel(), LLViewerWindow::changeDisplaySettings(), LLAppViewer::cleanupSavedSettings(), click_dozer_size(), click_popup_dozer_mode(), click_popup_dozer_size(), LLAlertDialog::handleCallbacks(), LLViewBeaconWidth::handleEvent(), idle_startup(), LLAppViewer::init(), LLAppViewer::initCache(), LLSelectMgr::LLSelectMgr(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterSnapshot::Impl::onCommitResolution(), LLFloaterSnapshot::Impl::onCommitSnapshotType(), LLPrefsVoiceLogic::onEarLocationCommit(), LLPreferenceCore::onTabChanged(), LLLoginHandler::parse(), LLFloaterSnapshot::Impl::resetSnapshotSizeOnUI(), LLViewerWindow::reshape(), LLCrashLogger::saveCrashBehaviorSetting(), set_render_name_fade_out(), LLAppViewer::setCrashBehavior(), LLSelectMgr::setGridMode(), LLPipeline::setLightingDetail(), LLSavedSettingsGlue::setS32(), LLSnapshotLivePreview::setSnapshotQuality(), LLViewerJoystick::setSNDefaults(), LLViewerWindow::thumbnailSnapshot(), LLFloaterSnapshot::Impl::updateLayout(), LLViewerImageList::updateMaxResidentTexMem(), and LLViewerWindow::~LLViewerWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLControlGroup::setF32 ( const LLString name,
F32  val 
)

void LLControlGroup::setU32 ( const LLString name,
U32  val 
)

void LLControlGroup::setString ( const LLString name,
const LLString val 
)

void LLControlGroup::setVector3 ( const LLString name,
const LLVector3 val 
)

Definition at line 596 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLVector3::getValue(), LLControlVariable::isType(), llendl, LLControlVariable::set(), and TYPE_VEC3.

Referenced by LLToolGun::handleHover().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLControlGroup::setVector3d ( const LLString name,
const LLVector3d val 
)

Definition at line 610 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLVector3d::getValue(), LLControlVariable::isType(), llendl, LLControlVariable::set(), and TYPE_VEC3D.

Referenced by LLAppViewer::saveFinalSnapshot().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLControlGroup::setRect ( const LLString name,
const LLRect val 
)

void LLControlGroup::setColor4U ( const LLString name,
const LLColor4U val 
)

Definition at line 638 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLColor4U::getValue(), LLControlVariable::isType(), llendl, LLControlVariable::set(), and TYPE_COL4U.

Here is the call graph for this function:

void LLControlGroup::setColor4 ( const LLString name,
const LLColor4 val 
)

Definition at line 652 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLColor4::getValue(), LLControlVariable::isType(), llendl, LLControlVariable::set(), and TYPE_COL4.

Referenced by LLPrefsChatImpl::cancel(), LLPanelGeneral::cancel(), and LLFloaterColorPicker::handleMouseUp().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLControlGroup::setColor3 ( const LLString name,
const LLColor3 val 
)

void LLControlGroup::setLLSD ( const LLString name,
const LLSD val 
)

Definition at line 666 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlVariable::isType(), llendl, setValue(), and TYPE_LLSD.

Here is the call graph for this function:

void LLControlGroup::setValue ( const LLString name,
const LLSD val 
)

Definition at line 680 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), llendl, and LLControlVariable::set().

Referenced by LLView::setControlValue(), and setLLSD().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::controlExists ( const LLString name  ) 

Definition at line 511 of file llcontrol.cpp.

References mNameTable.

Referenced by LLAppViewer::init(), loadFromFileLegacy(), and LLUI::locateSkin().

Here is the caller graph for this function:

U32 LLControlGroup::loadFromFileLegacy ( const LLString filename,
BOOL  require_declaration = TRUE,
eControlType  declare_as = TYPE_STRING 
)

U32 LLControlGroup::saveToFile ( const LLString filename,
BOOL  nondefault_only 
)

U32 LLControlGroup::loadFromFile ( const LLString filename  ) 

void LLControlGroup::resetToDefaults (  ) 

Definition at line 1016 of file llcontrol.cpp.

References mNameTable, and LLControlVariable::resetToDefault().

Referenced by handle_reload_settings().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLControlGroup::addWarning ( const LLString name  ) 

Definition at line 1054 of file llcontrol.cpp.

References declareBOOL(), get_warn_name(), mNameTable, mWarnings, and TRUE.

Referenced by LLAlertDialog::parseAlerts().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLControlGroup::getWarning ( const LLString name  ) 

void LLControlGroup::setWarning ( const LLString name,
BOOL  val 
)

void LLControlGroup::resetWarnings (  ) 

Definition at line 1077 of file llcontrol.cpp.

References mWarnings, setBOOL(), and TRUE.

Here is the call graph for this function:


Member Data Documentation

std::set<LLString> LLControlGroup::mWarnings [protected]

Definition at line 139 of file llcontrol.h.

Referenced by addWarning(), and resetWarnings().

LLString LLControlGroup::mTypeString[TYPE_COUNT] [protected]

Definition at line 140 of file llcontrol.h.

Referenced by LLControlGroup(), typeEnumToString(), and typeStringToEnum().


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

Generated on Fri May 16 08:43:14 2008 for SecondLife by  doxygen 1.5.5