#include <lllandmark.h>
Collaboration diagram for LLLandmark:
Definition at line 59 of file lllandmark.h.
typedef std::multimap<LLUUID, LLRegionHandleCallback*> LLLandmark::region_callback_t [private] |
Definition at line 120 of file lllandmark.h.
typedef std::map<LLUUID, CacheInfo> LLLandmark::region_map_t [private] |
Definition at line 118 of file lllandmark.h.
LLLandmark::~LLLandmark | ( | ) | [inline] |
Definition at line 62 of file lllandmark.h.
LLLandmark::LLLandmark | ( | ) | [private] |
LLLandmark::LLLandmark | ( | const LLVector3d & | pos | ) | [private] |
Definition at line 49 of file lllandmark.cpp.
LLLandmark * LLLandmark::constructFromString | ( | const char * | buffer | ) | [static] |
Definition at line 111 of file lllandmark.cpp.
References count, 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::expireOldEntries | ( | ) | [static, private] |
Definition at line 270 of file lllandmark.cpp.
References mRegions.
Referenced by requestRegionHandle().
bool LLLandmark::getGlobalPos | ( | LLVector3d & | pos | ) |
Definition at line 55 of file lllandmark.cpp.
References f, 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().
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().
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::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::setGlobalPos | ( | const LLVector3d & | pos | ) |
Definition at line 88 of file lllandmark.cpp.
References mGlobalPos, and mGlobalPositionKnown.
Referenced by getGlobalPos().
LLVector3d LLLandmark::mGlobalPos [private] |
bool LLLandmark::mGlobalPositionKnown [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_callback_t LLLandmark::mRegionCallback [static, private] |
Definition at line 121 of file lllandmark.h.
Referenced by processRegionIDAndHandle(), and 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().
LLLandmark::region_map_t LLLandmark::mRegions [static, private] |
Definition at line 119 of file lllandmark.h.
Referenced by expireOldEntries(), getGlobalPos(), processRegionIDAndHandle(), and requestRegionHandle().