llinventorymodel.cpp File Reference

Implementation of the inventory model used to track agent inventory. More...

#include "llviewerprecompiledheaders.h"
#include "llinventorymodel.h"
#include "llassetstorage.h"
#include "llcrc.h"
#include "lldir.h"
#include "llsys.h"
#include "llxfermanager.h"
#include "message.h"
#include "llagent.h"
#include "llfloater.h"
#include "llfocusmgr.h"
#include "llinventoryview.h"
#include "llviewerinventory.h"
#include "llviewermessage.h"
#include "llviewerwindow.h"
#include "viewer.h"
#include "lldbstrings.h"
#include "llviewerstats.h"
#include "llmutelist.h"
#include "llnotify.h"
#include "llcallbacklist.h"
#include "llpreview.h"
#include <deque>

Include dependency graph for llinventorymodel.cpp:

Go to the source code of this file.

Classes

struct  InventoryIDPtrLess
class  LLCanCache
class  LLAlwaysCollect
struct  LLUUIDAndName
struct  InventoryCallbackInfo

Variables

static std::deque< LLUUIDsFetchQueue
const F32 MAX_TIME_FOR_SINGLE_FETCH = 10.f
const S32 MAX_FETCH_RETRIES = 5
const char CACHE_FORMAT_STRING [] = "%s.inv"
const char * NEW_CATEGORY_NAME = "New Folder"
const char * NEW_CATEGORY_NAMES [LLAssetType::AT_COUNT]
LLInventoryModel gInventory


Detailed Description

Implementation of the inventory model used to track agent inventory.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-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 llinventorymodel.cpp.


Variable Documentation

const char CACHE_FORMAT_STRING[] = "%s.inv"

Definition at line 83 of file llinventorymodel.cpp.

Referenced by LLInventoryModel::cache(), and LLInventoryModel::loadSkeleton().

LLInventoryModel gInventory

---------------------------------------------------------------------------- Class LLInventoryModel ----------------------------------------------------------------------------

Definition at line 173 of file llinventorymodel.cpp.

const S32 MAX_FETCH_RETRIES = 5

Definition at line 82 of file llinventorymodel.cpp.

Referenced by LLInventoryModel::backgroundFetch().

const F32 MAX_TIME_FOR_SINGLE_FETCH = 10.f

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------

Definition at line 81 of file llinventorymodel.cpp.

const char* NEW_CATEGORY_NAME = "New Folder"

Definition at line 84 of file llinventorymodel.cpp.

Referenced by LLInventoryModel::createNewCategory().

const char* NEW_CATEGORY_NAMES[LLAssetType::AT_COUNT]

Initial value:

{
        "Textures",                     
        "Sounds",                       
        "Calling Cards",        
        "Landmarks",            
        "Scripts",                      
        "Clothing",                     
        "Objects",                      
        "Notecards",            
        "New Folder",           
        "Inventory",            
        "Scripts",                      
        "Scripts",                      
        "Uncompressed Images",  
        "Body Parts",           
        "Trash",                        
        "Photo Album",          
        "Lost And Found",       
        "Uncompressed Sounds",  
        "Uncompressed Images",  
        "Uncompressed Images",  
        "Animations",           
        "Gestures",                     
}

Definition at line 85 of file llinventorymodel.cpp.

Referenced by LLInventoryModel::createNewCategory().

std::deque<LLUUID> sFetchQueue [static]

Definition at line 74 of file llinventorymodel.cpp.

Referenced by LLInventoryModel::backgroundFetch(), and LLInventoryModel::startBackgroundFetch().


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