#include <lllandmarklist.h>
Public Member Functions | |
| LLLandmarkList () | |
| ~LLLandmarkList () | |
| BOOL | assetExists (const LLUUID &asset_uuid) |
| LLLandmark * | getAsset (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< LLUUID > | landmark_bad_list_t |
Protected Attributes | |
| landmark_list_t | mList |
| landmark_bad_list_t | mBadList |
Definition at line 44 of file lllandmarklist.h.
typedef std::map<LLUUID, LLLandmark*> LLLandmarkList::landmark_list_t [protected] |
Definition at line 65 of file lllandmarklist.h.
typedef std::set<LLUUID> LLLandmarkList::landmark_bad_list_t [protected] |
Definition at line 68 of file lllandmarklist.h.
| LLLandmarkList::LLLandmarkList | ( | ) | [inline] |
Definition at line 47 of file lllandmarklist.h.
| LLLandmarkList::~LLLandmarkList | ( | ) |
Definition at line 134 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(), 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(), LLSingleton< LLViewerStats >::getInstance(), LLAgent::getRegionHost(), LLLandmark::getRegionID(), LLVFile::getSize(), gMessageSystem, 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().


landmark_list_t LLLandmarkList::mList [protected] |
Definition at line 66 of file lllandmarklist.h.
Referenced by assetExists(), getAsset(), processGetAssetReply(), and ~LLLandmarkList().
landmark_bad_list_t LLLandmarkList::mBadList [protected] |
Definition at line 69 of file lllandmarklist.h.
Referenced by assetExists(), getAsset(), and processGetAssetReply().
1.5.5