#include <lllandmark.h>

Public Member Functions | |
| ~LLLandmark () | |
| bool | getGlobalPos (LLVector3d &pos) |
| void | setGlobalPos (const LLVector3d &pos) |
| bool | getRegionID (LLUUID ®ion_id) |
| LLVector3 | getRegionPos () const |
Static Public Member Functions | |
| static LLLandmark * | constructFromString (const char *buffer) |
| static void | registerCallbacks (LLMessageSystem *msg) |
| static void | requestRegionHandle (LLMessageSystem *msg, const LLHost &upstream_host, const LLUUID ®ion_id, LLRegionHandleCallback *callback) |
| static void | setRegionHandle (const LLUUID ®ion_id, U64 region_handle) |
Private Types | |
| typedef std::map< LLUUID, CacheInfo > | region_map_t |
| typedef std::multimap< LLUUID, LLRegionHandleCallback * > | region_callback_t |
Private Member Functions | |
| LLLandmark () | |
| LLLandmark (const LLVector3d &pos) | |
Static Private Member Functions | |
| static void | processRegionIDAndHandle (LLMessageSystem *msg, void **) |
| static void | expireOldEntries () |
Private Attributes | |
| LLUUID | mRegionID |
| LLVector3 | mRegionPos |
| bool | mGlobalPositionKnown |
| LLVector3d | mGlobalPos |
Static Private Attributes | |
| static std::pair< LLUUID, U64 > | mLocalRegion |
| static region_map_t | mRegions |
| static region_callback_t | mRegionCallback |
Classes | |
| struct | CacheInfo |
Definition at line 59 of file lllandmark.h.
typedef std::map<LLUUID, CacheInfo> LLLandmark::region_map_t [private] |
Definition at line 118 of file lllandmark.h.
typedef std::multimap<LLUUID, LLRegionHandleCallback*> LLLandmark::region_callback_t [private] |
Definition at line 120 of file lllandmark.h.
| LLLandmark::~LLLandmark | ( | ) | [inline] |
Definition at line 62 of file lllandmark.h.
| LLLandmark::LLLandmark | ( | ) | [private] |
Definition at line 44 of file lllandmark.cpp.
Referenced by constructFromString().

| LLLandmark::LLLandmark | ( | const LLVector3d & | pos | ) | [private] |
Definition at line 49 of file lllandmark.cpp.
| bool LLLandmark::getGlobalPos | ( | LLVector3d & | pos | ) |
Definition at line 55 of file lllandmark.cpp.
References from_region_handle(), LLVector3d::mdV, mGlobalPos, mGlobalPositionKnown, mLocalRegion, mRegionID, mRegionPos, mRegions, LLVector3::mV, LLUUID::notNull(), and setGlobalPos().
Referenced by LLTracker::cacheLandmarkPosition(), LLPreviewLandmark::getDegreesAndDist(), LLPreviewLandmark::getPositionGlobal(), LLLandmarkList::processGetAssetReply(), LLFloaterWorldMap::teleport(), and LLFloaterWorldMap::teleportToLandmark().


| void LLLandmark::setGlobalPos | ( | const LLVector3d & | pos | ) |
Definition at line 88 of file lllandmark.cpp.
References mGlobalPos, and mGlobalPositionKnown.
Referenced by getGlobalPos().

| bool LLLandmark::getRegionID | ( | LLUUID & | region_id | ) |
Definition at line 94 of file lllandmark.cpp.
References mRegionID, and LLUUID::notNull().
Referenced by LLPreviewLandmark::draw(), LLLandmarkList::processGetAssetReply(), LLFloaterWorldMap::teleport(), and LLFloaterWorldMap::teleportToLandmark().


| LLVector3 LLLandmark::getRegionPos | ( | ) | const |
Definition at line 104 of file lllandmark.cpp.
References mRegionPos.
Referenced by LLPreviewLandmark::draw().

| LLLandmark * LLLandmark::constructFromString | ( | const char * | buffer | ) | [static] |
Definition at line 111 of file lllandmark.cpp.
References llendl, llinfos, LLLandmark(), MAX_STRING, LLVector3d::mdV, mRegionID, mRegionPos, LLVector3::mV, NULL, S32, LLUUID::set(), VX, VY, and VZ.
Referenced by LLLandmarkList::processGetAssetReply().


| void LLLandmark::registerCallbacks | ( | LLMessageSystem * | msg | ) | [static] |
Definition at line 169 of file lllandmark.cpp.
References processRegionIDAndHandle(), and LLMessageSystem::setHandlerFunc().
Referenced by idle_startup().


| void LLLandmark::requestRegionHandle | ( | LLMessageSystem * | msg, | |
| const LLHost & | upstream_host, | |||
| const LLUUID & | region_id, | |||
| LLRegionHandleCallback * | callback | |||
| ) | [static] |
Definition at line 175 of file lllandmark.cpp.
References LLMessageSystem::addUUID(), LLRegionHandleCallback::dataReady(), expireOldEntries(), LLUUID::isNull(), lldebugs, llendl, mLocalRegion, mRegionCallback, mRegions, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLMessageSystem::sendReliable().
Referenced by LLLandmarkList::processGetAssetReply(), LLFloaterWorldMap::teleport(), and LLFloaterWorldMap::teleportToLandmark().


| void LLLandmark::processRegionIDAndHandle | ( | LLMessageSystem * | msg, | |
| void ** | ||||
| ) | [static, private] |
Definition at line 241 of file lllandmark.cpp.
References LLMessageSystem::getU64(), LLMessageSystem::getUUID(), grid_from_region_handle(), lldebugs, llendl, mRegionCallback, LLLandmark::CacheInfo::mRegionHandle, mRegions, LLLandmark::CacheInfo::mTimer, and LLFrameTimer::setTimerExpirySec().
Referenced by registerCallbacks().


| void LLLandmark::expireOldEntries | ( | ) | [static, private] |
Definition at line 270 of file lllandmark.cpp.
References mRegions.
Referenced by requestRegionHandle().

LLUUID LLLandmark::mRegionID [private] |
Definition at line 106 of file lllandmark.h.
Referenced by constructFromString(), getGlobalPos(), and getRegionID().
LLVector3 LLLandmark::mRegionPos [private] |
Definition at line 107 of file lllandmark.h.
Referenced by constructFromString(), getGlobalPos(), and getRegionPos().
bool LLLandmark::mGlobalPositionKnown [private] |
LLVector3d LLLandmark::mGlobalPos [private] |
std::pair< LLUUID, U64 > LLLandmark::mLocalRegion [static, private] |
Definition at line 117 of file lllandmark.h.
Referenced by getGlobalPos(), requestRegionHandle(), and setRegionHandle().
LLLandmark::region_map_t LLLandmark::mRegions [static, private] |
Definition at line 119 of file lllandmark.h.
Referenced by expireOldEntries(), getGlobalPos(), processRegionIDAndHandle(), and requestRegionHandle().
LLLandmark::region_callback_t LLLandmark::mRegionCallback [static, private] |
Definition at line 121 of file lllandmark.h.
Referenced by processRegionIDAndHandle(), and requestRegionHandle().
1.5.5