LLLandmarkList Class Reference

#include <lllandmarklist.h>

Collaboration diagram for LLLandmarkList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLLandmarkList ()
 ~LLLandmarkList ()
BOOL assetExists (const LLUUID &asset_uuid)
LLLandmarkgetAsset (const LLUUID &asset_uuid)

Static Public Member Functions

static void processGetAssetReply (LLVFS *vfs, const LLUUID &uuid, LLAssetType::EType type, void *user_data, S32 status, LLExtStat ext_status)

Protected Types

typedef std::map< LLUUID,
LLLandmark * > 
landmark_list_t
typedef std::set< LLUUIDlandmark_bad_list_t

Protected Attributes

landmark_list_t mList
landmark_bad_list_t mBadList

Detailed Description

Definition at line 44 of file lllandmarklist.h.


Member Typedef Documentation

typedef std::set<LLUUID> LLLandmarkList::landmark_bad_list_t [protected]

Definition at line 68 of file lllandmarklist.h.

typedef std::map<LLUUID, LLLandmark*> LLLandmarkList::landmark_list_t [protected]

Definition at line 65 of file lllandmarklist.h.


Constructor & Destructor Documentation

LLLandmarkList::LLLandmarkList (  )  [inline]

Definition at line 47 of file lllandmarklist.h.

LLLandmarkList::~LLLandmarkList (  ) 

Definition at line 51 of file lllandmarklist.cpp.

References mList.


Member Function Documentation

BOOL LLLandmarkList::assetExists ( const LLUUID asset_uuid  ) 

Definition at line 137 of file lllandmarklist.cpp.

References mBadList, and mList.

Referenced by LLPreviewLandmark::getAssetStatus().

LLLandmark * LLLandmarkList::getAsset ( const LLUUID asset_uuid  ) 

Definition at line 56 of file lllandmarklist.cpp.

References LLAssetType::AT_LANDMARK, gAssetStorage, get_ptr_in_map(), LLAssetStorage::getAssetData(), gLandmarkList, mBadList, mList, NULL, and processGetAssetReply().

Referenced by LLTracker::cacheLandmarkPosition(), LLPreviewLandmark::draw(), LLPreviewLandmark::loadAsset(), LLFloaterWorldMap::teleport(), LLFloaterWorldMap::teleportToLandmark(), and LLFloaterWorldMap::trackLandmark().

void LLLandmarkList::processGetAssetReply ( LLVFS vfs,
const LLUUID uuid,
LLAssetType::EType  type,
void user_data,
S32  status,
LLExtStat  ext_status 
) [static]

Definition at line 78 of file lllandmarklist.cpp.

References LLLandmark::constructFromString(), gAgent, LLLandmark::getGlobalPos(), LLAgent::getRegionHost(), LLLandmark::getRegionID(), LLVFile::getSize(), gLandmarkList, gMessageSystem, gViewerStats, LLViewerStats::incStat(), LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE, mBadList, mList, NULL, LLVFile::read(), LLLandmark::requestRegionHandle(), S32, LLNotifyBox::showXml(), and LLViewerStats::ST_DOWNLOAD_FAILED.

Referenced by getAsset().


Member Data Documentation

landmark_bad_list_t LLLandmarkList::mBadList [protected]

Definition at line 69 of file lllandmarklist.h.

Referenced by assetExists(), getAsset(), and processGetAssetReply().

landmark_list_t LLLandmarkList::mList [protected]

Definition at line 66 of file lllandmarklist.h.

Referenced by assetExists(), getAsset(), processGetAssetReply(), and ~LLLandmarkList().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:27 2010 for Second Life Viewer by  doxygen 1.4.7