llstartup.h File Reference

startup routines and logic declaration More...

#include "llimagegl.h"

Include dependency graph for llstartup.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLStartUp

Enumerations

enum  EStartupState {
  STATE_FIRST, STATE_LOGIN_SHOW, STATE_LOGIN_WAIT, STATE_LOGIN_CLEANUP,
  STATE_WEB_UPDATE_START, STATE_UPDATE_CHECK, STATE_LOGIN_AUTH_INIT, STATE_LOGIN_AUTHENTICATE,
  STATE_LOGIN_NO_DATA_YET, STATE_LOGIN_DOWNLOADING, STATE_LOGIN_PROCESS_RESPONSE, STATE_WORLD_INIT,
  STATE_SEED_GRANTED_WAIT, STATE_SEED_CAP_GRANTED, STATE_QUICKTIME_INIT, STATE_WORLD_WAIT,
  STATE_AGENT_SEND, STATE_AGENT_WAIT, STATE_INVENTORY_SEND, STATE_MISC,
  STATE_PRECACHE, STATE_WEARABLES_WAIT, STATE_CLEANUP, STATE_STARTED
}

Functions

BOOL idle_startup ()
void cleanup_app ()
LLString load_password_from_disk ()
void release_start_screen ()

Variables

const char * SCREEN_HOME_FILENAME
const char * SCREEN_LAST_FILENAME
BOOL gAgentMovementCompleted
bool gUseQuickTime
bool gQuickTimeInitialized
LLPointer< LLImageGLgStartImageGL


Detailed Description

startup routines and logic declaration

LicenseInfo
firstyear=2004&license=viewergpl

Copyright (c) 2004-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llstartup.h.


Enumeration Type Documentation

enum EStartupState

Enumerator:
STATE_FIRST 
STATE_LOGIN_SHOW 
STATE_LOGIN_WAIT 
STATE_LOGIN_CLEANUP 
STATE_WEB_UPDATE_START 
STATE_UPDATE_CHECK 
STATE_LOGIN_AUTH_INIT 
STATE_LOGIN_AUTHENTICATE 
STATE_LOGIN_NO_DATA_YET 
STATE_LOGIN_DOWNLOADING 
STATE_LOGIN_PROCESS_RESPONSE 
STATE_WORLD_INIT 
STATE_SEED_GRANTED_WAIT 
STATE_SEED_CAP_GRANTED 
STATE_QUICKTIME_INIT 
STATE_WORLD_WAIT 
STATE_AGENT_SEND 
STATE_AGENT_WAIT 
STATE_INVENTORY_SEND 
STATE_MISC 
STATE_PRECACHE 
STATE_WEARABLES_WAIT 
STATE_CLEANUP 
STATE_STARTED 

Definition at line 47 of file llstartup.h.


Function Documentation

void cleanup_app (  ) 

Definition at line 6067 of file viewer.cpp.

References LLVFS::audit(), LLMuteList::cache(), LLCurl::cleanup(), LLControlGroup::cleanup(), LLVolumeMgr::cleanup(), LLDXHardware::cleanup(), LLNotifyBox::cleanup(), LLTransferManager::cleanup(), cleanup_menus(), cleanup_saved_settings(), LLCommon::cleanupClass(), LLLFSThread::cleanupClass(), LLVFSThread::cleanupClass(), LLThreadSafeRefCount::cleanupClass(), LLVFile::cleanupClass(), LLUI::cleanupClass(), LLWorldMapView::cleanupClass(), LLVolumeMgr::cleanupClass(), LLFollowCamMgr::cleanupClass(), LLMediaEngine::cleanupClass(), LLViewerParcelMgr::cleanupGlobals(), LLSelectMgr::cleanupGlobals(), LLHUDObject::cleanupHUDObjects(), LLTracker::cleanupInstance(), LLViewerObject::cleanupVOClasses(), LLKeyframeDataCache::clear(), close_debug(), LLImageJ2C::closeDSO(), CRASH_SETTINGS_FILE, LLDir::deleteFilesInDir(), disconnect_viewer(), end_messaging_system(), FALSE, LLPolyMesh::freeAllMeshes(), gAgent, gAssetStorage, gAudiop, gCacheName, gColors, gCrashSettings, gDirUtilp, gDisconnectedImagep, gDXHardware, LLDir::getDirDelimiter(), LLTimer::getElapsedTimeF64(), LLDir::getExpandedFilename(), LLAgent::getID(), gFeatureManagerp, gGlobalEconomy, gHUDManager, gImageDecodeThread, gImageList, gKeyboard, gLocalSpeakerMgr, gMuteListp, gPerAccountSettingsFileName, gPurgeOnExit, gQuickTimeInitialized, gSavedPerAccountSettings, gSavedSettings, gSettingsFileName, gStaticVFS, gTextureCache, gTextureFetch, gToolMgr, gTransferManager, gUICtrlFactory, gVFS, gViewerArt, gViewerStats, gViewerWindow, gVolumeMgr, gWorldMap, LL_MAX_PATH, LL_PATH_CACHE, LL_PATH_USER_SETTINGS, llendflush, llinfos, llwarns, LLError::logToFixedBuffer(), mask, ms_sleep(), NULL, release_start_screen(), remove_cache_files(), remove_marker_file(), LLTimer::reset(), S32, LLControlGroup::saveToFile(), LLControlGroup::setU32(), LLMortician::setZealous(), LLViewerImageList::shutdown(), LLQueuedThread::shutdown(), LLAudioEngine::shutdown(), LLVoiceClient::terminate(), time_corrected(), TRUE, LLTextureFetch::update(), LLWorkerThread::update(), LLTextureCache::update(), LLLFSThread::updateClass(), and LLVFSThread::updateClass().

Referenced by main().

BOOL idle_startup (  ) 

Definition at line 346 of file llstartup.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentMovementComplete, _PREHASH_AttachedSound, _PREHASH_AttachedSoundGainChange, _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_EconomyDataRequest, _PREHASH_ID, _PREHASH_MoneyBalanceRequest, _PREHASH_MoneyData, _PREHASH_PreloadSound, _PREHASH_SessionID, _PREHASH_SoundTrigger, _PREHASH_TransactionID, _PREHASH_UseCircuitCode, LLGestureManager::activateGestureWithAsset(), LLAvatarTracker::addBuddyList(), LLInventoryModel::addChangedMask(), LLInventoryModel::addObserver(), LLCacheName::addObserver(), LLWorld::addRegion(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLViewerWindow::alertXml(), LLInventoryObserver::ALL, app_early_exit(), app_force_quit(), audio_update_volume(), LLUserAuth::authenticate(), LLUserAuth::authResponse(), LLInventoryModel::buildParentChildMap(), LLAgent::calcCameraPositionTargetGlobal(), callback_cache_name(), LLCallbackList::callFunctions(), LLMessageSystem::checkAllMessages(), LLAgent::clearAFK(), LLPanelLogin::close(), codec, LLStringBase< char >::convertToF32(), LLHUDManager::createViewerEffect(), LLViewerImageList::decodeAllImages(), DEFAULT_SETTINGS_FILE, dialog_choose_gender_first_start(), LLURLDispatcher::dispatch(), LLStartUp::dispatchURL(), display_startup(), LLViewerImageList::doPrefetchImages(), LLUserAuth::E_COULDNT_RESOLVE_HOST, LLUserAuth::E_DOWNLOADING, LLUserAuth::E_NO_RESPONSE_YET, LLUserAuth::E_OK, LLUserAuth::E_SSL_CACERT, LLUserAuth::E_SSL_CONNECT_ERROR, LLUserAuth::E_SSL_PEER_CERTIFICATE, LLUserAuth::E_UNHANDLED_ERROR, LLMessageSystem::enableCircuit(), end, LLUserAuth::errorMessage(), f, FALSE, LLInventoryFetchObserver::fetchItems(), LLMD5::finalize(), LLFile::fopen(), from_region_handle(), gAcceptCriticalMessage, gAcceptTOS, gAgent, gAgentID, gAgentMovementCompleted, gAgentPilot, gAgentSessionID, gAssetStorage, gAudiop, gAutoLogin, gCacheName, gCamera, gChannelName, gCloudTextureID, gCmdLineFirstName, gCmdLineLastName, gCmdLinePassword, gDebugView, gDirUtilp, gDisabledMessage, gDisplaySwapBuffers, LLHTTPClient::get(), LLAgent::getAvatarObject(), LLControlGroup::getBOOL(), LLDir::getChatLogsDir(), LLControlGroup::getColor4(), LLDir::getDirDelimiter(), LLViewerWindow::getDisplayAspectRatio(), LLAgent::getEffectColor(), LLFrameTimer::getElapsedTimeF32(), LLTimer::getElapsedTimeF32(), LLMessageSystem::getErrorCode(), LLDir::getExecutableDir(), LLDir::getExpandedFilename(), LLControlGroup::getF32(), LLPanelLogin::getFields(), LLWindow::getFullscreen(), LLViewerRegion::getHost(), LLAgent::getID(), LLViewerWindow::getInitAlert(), LLMediaEngine::getInstance(), LLUserAuth::getLastTransferRateBPS(), LLDir::getLindenUserDir(), LLPanelLogin::getLocation(), getLoginURIs(), LLViewerThrottle::getMaxBandwidth(), LLUserAuth::getOptions(), LLViewerRegion::getOriginGlobal(), LLDir::getOSUserAppDir(), LLDir::getPerAccountChatLogsDir(), LLViewerWindow::getPlatformWindow(), LLAgent::getPositionGlobal(), LLAgent::getRegion(), LLWorld::getRegionFromHandle(), LLUserAuth::getResponse(), LLControlGroup::getS32(), LLPanelLogin::getServer(), LLAgent::getSessionID(), LLStartUp::getStartupState(), LLControlGroup::getString(), LLControlGroup::getU32(), LLControlGroup::getVector3d(), LLFeatureManager::getVersion(), LLAgent::getWearablesLoaded(), LLViewerWindow::getWindow(), LLViewerWindow::getWindowDisplayHeight(), LLViewerWindow::getWindowHeight(), LLViewerWindow::getWindowWidth(), gEventNotifier, gFeatureManagerp, gFloaterWorldMap, gFocusMgr, gForegroundTime, gFrameCount, gFrameIntervalSeconds, gFrameStats, gFrameTime, gFrameTimeSeconds, gGestureManager, gGlobalEconomy, gGodConnect, gGotUseCircuitCodeAck, gHideLinks, gHUDManager, gIdleCallbacks, gImageList, gInBandwidth, gInitializationComplete, gInitialOutfit, gInitialOutfitGender, gInventory, gInventoryLibraryOwner, gInventoryLibraryRoot, LLPanelLogin::giveFocus(), gKeyboard, gLastExecFroze, gLogMessages, gMACAddress, gMessageSystem, gMoonTextureID, gMuteListp, gNoRender, gOutBandwidth, gPacificDaylightTime, gPacketDropPercentage, gParcelMgr, gPerAccountSettingsFileName, gQuickTimeInitialized, gRegionNameCache, gRenderStartTime, gRequestInventoryLibrary, gSavedPerAccountSettings, gSavedSettings, gSecondLife, gSelectMgr, gSerialNumber, gServicePump, gSettingsFileName, gSkipOptionalUpdate, gSky, gStartTime, gSunTextureID, gToolMgr, gTrustNet, gUseAudio, gUseCircuitCallbackCalled, gUseQuickTime, gUserAuthp, gUserServerChoice, gUserServerName, gUTCOffset, gVFS, gViewerCommunication, gViewerDigest, gViewerStats, gViewerThrottle, gViewerWindow, gVoiceClient, gWorldMap, gWorldp, gXferManager, LLViewerWindow::handlePerFrameHover(), LLMD5::hex_digest(), HTTP_UPDATE_URL, i, LLViewerStats::incStat(), LLSky::init(), LLAgent::init(), LLAudioEngine::init(), init(), init_audio(), init_colors(), init_start_screen(), init_stat_view(), LLDrawable::initClass(), LLFace::initClass(), LLMessageConfig::initClass(), LLSurface::initClasses(), LLAgent::initOriginGlobal(), LLToolMgr::initTools(), LLViewerObject::initVOClasses(), LLViewerWindow::initWorldUI(), LLAvatarTracker::instance(), invalid_message_callback(), LLAgent::isFirstLogin(), LLAgent::isGenderChosen(), LLHost::isOk(), LLMessageSystem::isOK(), LLFeatureManager::isSafe(), kAUDIO_NUM_SOURCES, LLTimer::knownBadTimer(), list, LLHUDObject::LL_HUD_EFFECT_POINT, LL_PATH_APP_SETTINGS, LL_PATH_MOZILLA_PROFILE, LL_PATH_PER_SL_ACCOUNT, ll_vector3_from_sd(), LL_VERSION_BUILD, LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VERSION_REVISION, llassert, lldebugs, llendl, llerrs, llformat(), llinfos, llwarns, LLEventNotifier::load(), LLViewerThrottle::load(), LLAgentPilot::load(), load_name_cache(), load_password_from_disk(), load_region_name_cache(), LLClassifiedInfo::loadCategories(), LLEventInfo::loadCategories(), LLControlGroup::loadFromFile(), LLInventoryModel::loadSkeleton(), LLWeb::loadURL(), LLUI::locateSkin(), login_alert_done(), login_show(), LLError::logToFixedBuffer(), MAC_ADDRESS_BYTES, MAX_STRING, MD5HEX_STR_SIZE, LLDebugView::mDebugConsolep, LLAgent::mDrawDistance, LLDebugView::mFastTimerView, LLAgent::mInventoryRootID, LLFile::mkdir(), LLAgent::mMOTD, LLMessageSystem::mOurCircuitCode, LLViewerWindow::moveProgressViewToFront(), ms_sleep(), LLAgent::mSecureSessionID, LLURLSimString::mSimName, LLDebugView::mStatViewp, LLMemType::MTYPE_STARTUP, LLAgent::mViewerPort, LLViewerWindow::mWindow, LLURLSimString::mX, MX_PACKET_TOO_SHORT, MX_UNREGISTERED_MESSAGE, MX_WROTE_PAST_BUFFER_SIZE, LLURLSimString::mY, LLURLSimString::mZ, NET_USE_OS_ASSIGNED_PORT, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLInventoryModel::notifyObservers(), LLUUID::notNull(), LLUUID::null, NULL, null_message_callback(), LLAgent::observeFriends(), LLFloaterWorldMap::observeFriends(), LLFloaterWorldMap::observeInventory(), LLSDNotationParser::parse(), LLURLSimString::parse(), LLXMLNode::parseFile(), LLVFS::pokeFiles(), process_agent_movement_complete(), process_attached_sound(), process_attached_sound_gain_change(), process_preload_sound(), process_sound_trigger(), LLMessageSystem::processAcks(), register_viewer_callbacks(), LLLandmark::registerCallbacks(), LLAvatarTracker::registerCallbacks(), LLInventoryModel::registerCallbacks(), LLXferManager::registerCallbacks(), LLStringBase< char >::replaceChar(), LLAgent::requestEnterGodMode(), LLMuteList::requestFromServer(), LLFrameTimer::reset(), LLTimer::reset(), reset_login(), LLAgent::resetAxes(), LLWindow::resetBusyCount(), LLAgent::resetCamera(), LLKeyboard::resetKeys(), LLViewerStats::resetStats(), resetURIs(), LLSRV::rewriteURI(), s, S32, LLPanelAvatar::sAllowFirstLife, save_password_to_disk(), LLControlGroup::saveToFile(), tut::sd(), SEC_TO_MICROSEC, send_complete_agent_movement(), LLAgent::sendAgentDataUpdateRequest(), LLHUDManager::sendEffects(), LLMessageSystem::sendReliable(), LLAgent::sendReliableMessage(), LLViewerWindow::sendShapeToSim(), LLHost::set(), LLUUID::set(), set_startup_status(), LLXferManager::setAckThrottleBPS(), LLCamera::setAspect(), LLMediaEngine::setAvailable(), LLControlGroup::setBOOL(), LLAgent::setCameraPosAndFocusGlobal(), LLDir::setChatLogsDir(), LLWindow::setCursor(), LLHTTPSender::setDefaultSender(), LLMessageSystem::setExceptionFunc(), LLPanelLogin::setFields(), LLFrameStats::setFilename(), LLAgent::setFirstLogin(), LLAgent::setFocusOnAvatar(), LLAgent::setGenderChosen(), LLMessageSystem::setHandlerFuncFast(), LLAgent::setHomePosRegion(), LLFocusMgr::setKeyboardFocus(), LLWorld::setLandFarClip(), LLDir::setLindenUserDir(), LLTextEditor::setLinkColor(), LLViewerThrottle::setMaxBandwidth(), LLXferManager::setMaxIncomingXfers(), LLMessageSystem::setMaxMessageTime(), LLAudioEngine::setMuted(), LLViewerWindow::setNormalControlsVisible(), LLDir::setPerAccountChatLogsDir(), LLAgent::setPositionAgent(), LLHUDObject::setPositionGlobal(), LLViewerWindow::setProgressCancelButtonVisible(), LLAgent::setRegion(), LLControlGroup::setS32(), LLViewerRegion::setSeedCapability(), LLViewerWindow::setShowProgress(), LLStartUp::setStartupState(), LLURLSimString::setString(), LLControlGroup::setString(), LLFrameStats::setSummaryFilename(), LLAgent::setTeen(), LLMessageSystem::setTimeDecodes(), LLMessageSystem::setTimeDecodesSpamThreshold(), LLControlGroup::setU32(), LLCacheName::setUpstream(), LLAssetStorage::setUpstream(), LLTextEditor::setURLCallbacks(), LLXferManager::setUseAckThrottling(), LLCamera::setViewHeightInPixels(), LLFloater::setVisible(), LLView::setVisible(), LLFloaterTOS::show(), LLWindow::show(), LLInventoryView::showAgentInventory(), LLViewerWindow::showCursor(), LLURLSimString::sInstance, LLViewerStats::ST_WEARABLES_TOO_LONG, start, START_LOCATION_ID_HOME, START_LOCATION_ID_LAST, START_LOCATION_ID_URL, start_messaging_system(), start_xfer_manager(), LLModalDialog::startModal(), LLAgentPilot::startPlayback(), STATE_AGENT_SEND, STATE_AGENT_WAIT, STATE_CLEANUP, STATE_FIRST, STATE_INVENTORY_SEND, STATE_LOGIN_AUTH_INIT, STATE_LOGIN_AUTHENTICATE, STATE_LOGIN_CLEANUP, STATE_LOGIN_DOWNLOADING, STATE_LOGIN_NO_DATA_YET, STATE_LOGIN_PROCESS_RESPONSE, STATE_LOGIN_SHOW, STATE_LOGIN_WAIT, STATE_MISC, STATE_PRECACHE, STATE_QUICKTIME_INIT, STATE_SEED_CAP_GRANTED, STATE_SEED_GRANTED_WAIT, STATE_STARTED, STATE_UPDATE_CHECK, STATE_WEARABLES_WAIT, STATE_WEB_UPDATE_START, STATE_WORLD_INIT, STATE_WORLD_WAIT, LLAgent::sTeleportErrorMessages, LLAgent::stopCameraAnimation(), time_corrected(), to_region_handle(), LLInventoryView::toggleVisibility(), LLFloaterTOS::TOS_CRITICAL_MESSAGE, LLFloaterTOS::TOS_TOS, totalTime(), LLStringBase< char >::trim(), TRUE, UI_CURSOR_ARROW, UI_CURSOR_WAIT, LLMD5::update(), update_app(), update_texture_fetch(), LLMortician::updateClass(), LLViewerImageList::updateImages(), use_circuit_callback(), LLVoiceClient::userAuthorized(), USERSERVER_OTHER, LLFirstUse::useVoice(), write_debug(), and xml_escape_string().

Referenced by idle().

LLString load_password_from_disk (  ) 

void release_start_screen (  ) 


Variable Documentation

BOOL gAgentMovementCompleted

Definition at line 307 of file viewer.cpp.

Referenced by idle_startup(), and process_agent_movement_complete().

bool gQuickTimeInitialized

Definition at line 221 of file llstartup.cpp.

Referenced by cleanup_app(), and idle_startup().

LLPointer<LLImageGL> gStartImageGL

Definition at line 215 of file llstartup.cpp.

bool gUseQuickTime

Definition at line 220 of file llstartup.cpp.

Referenced by idle_startup().

const char* SCREEN_HOME_FILENAME

Definition at line 200 of file llstartup.cpp.

Referenced by init_start_screen(), and process_alert_core().

const char* SCREEN_LAST_FILENAME

Definition at line 201 of file llstartup.cpp.

Referenced by init_start_screen(), render_disconnected_background(), and save_final_snapshot().


Generated on Thu Jul 1 06:10:40 2010 for Second Life Viewer by  doxygen 1.4.7