LLViewerRegion Class Reference

#include <llviewerregion.h>

Collaboration diagram for LLViewerRegion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLViewerRegion (const U64 &handle, const LLHost &host, const U32 surface_grid_width, const U32 patch_grid_width, const F32 region_width_meters)
 ~LLViewerRegion ()
void loadCache ()
void saveCache ()
void sendMessage ()
void sendReliableMessage ()
void setOriginGlobal (const LLVector3d &origin)
void setAgentOffset (const LLVector3d &offset)
void setAllowDamage (BOOL b)
void setAllowLandmark (BOOL b)
void setAllowSetHome (BOOL b)
void setResetHomeOnTeleport (BOOL b)
void setSunFixed (BOOL b)
void setBlockFly (BOOL b)
void setAllowDirectTeleport (BOOL b)
BOOL getAllowDamage () const
BOOL getAllowLandmark () const
BOOL getAllowSetHome () const
BOOL getResetHomeOnTeleport () const
BOOL getSunFixed () const
BOOL getBlockFly () const
BOOL getAllowDirectTeleport () const
BOOL isPrelude () const
BOOL getAllowTerraform () const
BOOL getRestrictPushObject () const
void setWaterHeight (F32 water_level)
F32 getWaterHeight () const
void setBillableFactor (F32 billable_factor)
F32 getBillableFactor () const
U32 getMaxTasks () const
void setMaxTasks (U32 max_tasks)
S32 renderPropertyLines ()
void dirtyHeights ()
LLViewerParcelOverlaygetParcelOverlay () const
void setRegionFlags (U32 flags)
U32 getRegionFlags () const
void setTimeDilation (F32 time_dilation)
F32 getTimeDilation () const
const LLVector3dgetOriginGlobal () const
LLVector3 getOriginAgent () const
const LLVector3dgetCenterGlobal () const
LLVector3 getCenterAgent () const
void setRegionNameAndZone (const char *name_and_zone)
const LLStringgetName () const
const LLStringgetZoning () const
void setOwner (const LLUUID &owner_id)
const LLUUIDgetOwner () const
void setIsEstateManager (BOOL b)
BOOL isEstateManager () const
BOOL canManageEstate () const
void setSimAccess (U8 sim_access)
U8 getSimAccess () const
const char * getSimAccessString () const
void setCacheID (const LLUUID &id)
F32 getWidth () const
BOOL idleUpdate (F32 max_update_time)
void forceUpdate ()
void connectNeighbor (LLViewerRegion *neighborp, U32 direction)
void updateNetStats ()
U32 getPacketsLost () const
void setSeedCapability (const std::string &url)
void setCapability (const std::string &name, const std::string &url)
std::string getCapability (const std::string &name) const
void logActiveCapabilities () const
const LLHostgetHost () const
const U64getHandle () const
LLSurfacegetLand () const
const LLUUIDgetRegionID () const
void setRegionID (const LLUUID &region_id)
BOOL pointInRegionGlobal (const LLVector3d &point_global) const
LLVector3 getPosRegionFromGlobal (const LLVector3d &point_global) const
LLVector3 getPosRegionFromAgent (const LLVector3 &agent_pos) const
LLVector3 getPosAgentFromRegion (const LLVector3 &region_pos) const
LLVector3d getPosGlobalFromRegion (const LLVector3 &offset) const
LLVLCompositiongetComposition () const
F32 getCompositionXY (const S32 x, const S32 y) const
BOOL isOwnedSelf (const LLVector3 &pos)
BOOL isOwnedGroup (const LLVector3 &pos)
void updateCoarseLocations (LLMessageSystem *msg)
F32 getLandHeightRegion (const LLVector3 &region_pos)
LLString getInfoString ()
void cacheFullUpdate (LLViewerObject *objectp, LLDataPackerBinaryBuffer &dp)
LLDataPackergetDP (U32 local_id, U32 crc)
void requestCacheMisses ()
void addCacheMissFull (const U32 local_id)
void dumpCache ()
void unpackRegionHandshake ()
void calculateCenterGlobal ()
void calculateCameraDistance ()
U32 getNetDetailsForLCD ()

Static Public Member Functions

static std::string regionFlagsToString (U32 flags)
static const char * accessToString (U8 access)
static U8 stringToAccess (const char *access_str)
static const char * accessToShortString (U8 access)
static void processRegionInfo (LLMessageSystem *msg, void **)

Public Attributes

LLWind mWind
LLCloudLayer mCloudLayer
LLViewerParcelOverlaymParcelOverlay
BOOL mAlive
LLStat mBitStat
LLStat mPacketsStat
LLStat mPacketsLostStat
LLDynamicArray< U32mMapAvatars
LLDynamicArray< LLUUIDmMapAvatarIDs

Protected Types

typedef std::map< std::string,
std::string > 
CapabilityMap

Protected Member Functions

void disconnectAllNeighbors ()
void initStats ()
void setFlags (BOOL b, U32 flags)

Protected Attributes

LLSurfacemLandp
LLVector3d mOriginGlobal
LLVector3d mCenterGlobal
F32 mWidth
U64 mHandle
LLHost mHost
LLUUID mRegionID
F32 mTimeDilation
LLString mName
LLString mZoning
LLUUID mOwnerID
BOOL mIsEstateManager
LLTimer mLastNetUpdate
U32 mPacketsIn
U32 mBitsIn
U32 mLastBitsIn
U32 mLastPacketsIn
U32 mPacketsOut
U32 mLastPacketsOut
S32 mPacketsLost
S32 mLastPacketsLost
U32 mPingDelay
F32 mDeltaTime
LLVLCompositionmCompositionp
U32 mRegionFlags
U8 mSimAccess
F32 mBillableFactor
U32 mMaxTasks
F32 mCameraDistanceSquared
BOOL mCacheLoaded
LLPtrSkipMap< U32, LLVOCacheEntry *, 14 > mCacheMap
LLVOCacheEntry mCacheStart
LLVOCacheEntry mCacheEnd
U32 mCacheEntriesCount
LLDynamicArray< U32mCacheMissFull
LLDynamicArray< U32mCacheMissCRC
LLUUID mCacheID
CapabilityMap mCapabilities
LLEventPollmEventPoll

Friends

std::ostream & operator<< (std::ostream &s, const LLViewerRegion &region)

Classes

struct  CompareDistance

Detailed Description

Definition at line 68 of file llviewerregion.h.


Member Typedef Documentation

typedef std::map<std::string, std::string> LLViewerRegion::CapabilityMap [protected]

Definition at line 345 of file llviewerregion.h.


Constructor & Destructor Documentation

LLViewerRegion::LLViewerRegion ( const U64 handle,
const LLHost host,
const U32  surface_grid_width,
const U32  patch_grid_width,
const F32  region_width_meters 
)

Definition at line 81 of file llviewerregion.cpp.

References LLDLinked< Type >::append(), calculateCenterGlobal(), LLSurface::create(), from_region_handle(), gNoRender, initStats(), mCacheEnd, mCacheStart, mCompositionp, mLandp, mOriginGlobal, mParcelOverlay, mWidth, NULL, setOriginGlobal(), LLSurface::setRegion(), and LLVLComposition::setSurface().

LLViewerRegion::~LLViewerRegion (  ) 

Definition at line 161 of file llviewerregion.cpp.

References LLVLManager::cleanupData(), LLHTTPSender::clearSender(), LLCloudLayer::destroy(), disconnectAllNeighbors(), gObjectList, gVLManager, gWorldPointer, LLViewerObjectList::killObjects(), mCloudLayer, mCompositionp, mEventPoll, mHost, mLandp, mParcelOverlay, and saveCache().


Member Function Documentation

const char * LLViewerRegion::accessToShortString ( U8  access  )  [static]

Definition at line 504 of file llviewerregion.cpp.

References SIM_ACCESS_MATURE, SIM_ACCESS_MIN, SIM_ACCESS_PG, and SIM_ACCESS_TRIAL.

const char * LLViewerRegion::accessToString ( U8  access  )  [static]

Definition at line 462 of file llviewerregion.cpp.

References SIM_ACCESS_DOWN, SIM_ACCESS_MATURE, SIM_ACCESS_MIN, SIM_ACCESS_PG, SIM_ACCESS_STR, and SIM_ACCESS_TRIAL.

Referenced by getSimAccessString(), LLWorldMapView::handleToolTip(), LLPanelPlace::processParcelInfoReply(), and LLFloaterRegionInfo::processRegionInfo().

void LLViewerRegion::addCacheMissFull ( const U32  local_id  ) 

Definition at line 1071 of file llviewerregion.cpp.

References mCacheMissFull.

Referenced by LLViewerObject::processUpdateMessage().

void LLViewerRegion::cacheFullUpdate ( LLViewerObject objectp,
LLDataPackerBinaryBuffer dp 
)

Definition at line 994 of file llviewerregion.cpp.

References LLVOCacheEntry::getCRC(), LLViewerObject::getCRC(), LLVOCacheEntry::getLocalID(), LLViewerObject::getLocalID(), LLDLinked< Type >::getNext(), LLDLinked< Type >::insert(), MAX_OBJECT_CACHE_ENTRIES, mCacheEnd, mCacheEntriesCount, mCacheMap, mCacheStart, and LLVOCacheEntry::recordDupe().

Referenced by LLViewerObjectList::processObjectUpdate().

void LLViewerRegion::calculateCameraDistance (  ) 

Definition at line 694 of file llviewerregion.cpp.

References gAgent, LLAgent::getCameraPositionGlobal(), getCenterGlobal(), and mCameraDistanceSquared.

Referenced by LLWorld::updateVisibilities().

void LLViewerRegion::calculateCenterGlobal (  ) 

Definition at line 686 of file llviewerregion.cpp.

References LLSurface::getMaxZ(), LLSurface::getMinZ(), mCenterGlobal, LLVector3d::mdV, mLandp, mOriginGlobal, mWidth, VX, VY, and VZ.

Referenced by LLViewerRegion(), setOriginGlobal(), and LLSurfacePatch::updateVerticalStats().

BOOL LLViewerRegion::canManageEstate (  )  const

Definition at line 423 of file llviewerregion.cpp.

References gAgent, LLAgent::getID(), getOwner(), isEstateManager(), and LLAgent::isGodlike().

Referenced by LLAgent::canManageEstate(), LLToolBrushLand::canTerraform(), LLObjectEnableReturn::handleEvent(), LLFloaterRegionInfo::processRegionInfo(), LLPanelRegionTextureInfo::refreshFromRegion(), LLPanelRegionDebugInfo::refreshFromRegion(), and LLPanelRegionGeneralInfo::refreshFromRegion().

void LLViewerRegion::connectNeighbor ( LLViewerRegion neighborp,
U32  direction 
)

Definition at line 582 of file llviewerregion.cpp.

References LLCloudLayer::connectNeighbor(), LLSurface::connectNeighbor(), mCloudLayer, and mLandp.

Referenced by LLWorld::addRegion().

void LLViewerRegion::dirtyHeights (  ) 

Definition at line 547 of file llviewerregion.cpp.

References mParcelOverlay, and LLViewerParcelOverlay::setDirty().

Referenced by LLSurface::idleUpdate().

void LLViewerRegion::disconnectAllNeighbors (  )  [protected]

Definition at line 589 of file llviewerregion.cpp.

References LLCloudLayer::disconnectAllNeighbors(), LLSurface::disconnectAllNeighbors(), mCloudLayer, and mLandp.

Referenced by ~LLViewerRegion().

void LLViewerRegion::dumpCache (  ) 

Definition at line 1153 of file llviewerregion.cpp.

References LLDLinked< Type >::getNext(), i, llclamp(), llendl, llinfos, mCacheEnd, mCacheEntriesCount, mCacheStart, and S32.

Referenced by handle_dump_region_object_cache().

void LLViewerRegion::forceUpdate (  ) 

Definition at line 572 of file llviewerregion.cpp.

References f, LLViewerParcelOverlay::idleUpdate(), LLSurface::idleUpdate(), mLandp, and mParcelOverlay.

BOOL LLViewerRegion::getAllowDamage (  )  const [inline]

Definition at line 351 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_DAMAGE.

Referenced by handle_region_dump_settings(), LLPanelLandOptions::onCommitAny(), and LLStatusBar::refresh().

BOOL LLViewerRegion::getAllowDirectTeleport (  )  const [inline]

Definition at line 381 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_DIRECT_TELEPORT.

Referenced by handle_region_dump_settings().

BOOL LLViewerRegion::getAllowLandmark (  )  const [inline]

Definition at line 356 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_LANDMARK.

Referenced by handle_region_dump_settings(), and LLWorldEnableCreateLandmark::handleEvent().

BOOL LLViewerRegion::getAllowSetHome (  )  const [inline]

Definition at line 361 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_SET_HOME.

Referenced by handle_region_dump_settings(), and LLWorldEnableSetHomeLocation::handleEvent().

BOOL LLViewerRegion::getAllowTerraform (  )  const [inline]

Definition at line 391 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_BLOCK_TERRAFORM.

F32 LLViewerRegion::getBillableFactor (  )  const [inline]

Definition at line 113 of file llviewerregion.h.

References mBillableFactor.

BOOL LLViewerRegion::getBlockFly (  )  const [inline]

Definition at line 376 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_BLOCK_FLY.

Referenced by LLAgent::canFly(), handle_region_dump_settings(), process_agent_movement_complete(), process_sim_stats(), and LLStatusBar::refresh().

std::string LLViewerRegion::getCapability ( const std::string &  name  )  const

Definition at line 1405 of file llviewerregion.cpp.

References mCapabilities.

Referenced by copy_inventory_from_notecard(), LLPanelPlace::displayParcelInfo(), LLTextureFetchWorker::doWork(), LLFloaterIMPanel::draw(), LLVoiceChannelGroup::getChannelInfo(), LLFloaterIMPanel::inviteToSession(), LLIMMgr::inviteUserResponse(), LLFloaterReporter::onClickSend(), LLVoiceClient::parcelChanged(), LLViewerChatterBoxInvitation::post(), LLVoiceClient::requestVoiceAccountProvision(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPreviewNotecard::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), send_stats(), LLPanelClassified::sendClassifiedClickMessage(), LLPanelClassified::sendClassifiedInfoRequest(), LLWorldMap::sendMapLayerRequest(), LLFloaterPostcard::sendPostcard(), LLTextureFetch::sendRequestListToSimulators(), LLPanelRegionGeneralInfo::sendUpdate(), setSeedCapability(), LLFloaterReleaseMsg::show(), LLVoiceClient::stateMachine(), and upload_new_resource().

LLVector3 LLViewerRegion::getCenterAgent (  )  const

Definition at line 398 of file llviewerregion.cpp.

References gAgent, LLAgent::getPosAgentFromGlobal(), and mCenterGlobal.

Referenced by LLWorld::updateVisibilities().

const LLVector3d& LLViewerRegion::getCenterGlobal (  )  const [inline]

Definition at line 142 of file llviewerregion.h.

References mCenterGlobal.

Referenced by calculateCameraDistance(), and getCompositionXY().

LLVLComposition* LLViewerRegion::getComposition (  )  const [inline]

Definition at line 213 of file llviewerregion.h.

References mCompositionp.

Referenced by getCompositionXY(), LLDrawPoolTerrain::render(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFull4TUShader(), unpackRegionHandshake(), LLSurfacePatch::updateCompositionStats(), and LLSurfacePatch::updateTexture().

F32 LLViewerRegion::getCompositionXY ( const S32  x,
const S32  y 
) const

Definition at line 596 of file llviewerregion.cpp.

References f, getCenterGlobal(), getComposition(), LLViewerLayer::getValueScaled(), gWorldPointer, and llabs().

Referenced by LLSurfacePatch::eval(), and LLPipeline::renderDebug().

LLDataPacker * LLViewerRegion::getDP ( U32  local_id,
U32  crc 
)

Definition at line 1042 of file llviewerregion.cpp.

References LLVOCacheEntry::getCRC(), LLVOCacheEntry::getDP(), llassert, mCacheLoaded, mCacheMap, mCacheMissCRC, mCacheMissFull, NULL, and LLVOCacheEntry::recordHit().

Referenced by LLViewerObjectList::processObjectUpdate().

const U64& LLViewerRegion::getHandle (  )  const [inline]

Definition at line 199 of file llviewerregion.h.

References mHandle.

Referenced by LLVLComposition::generateHeights(), getInfoString(), LLWorldMapView::handleToolTip(), LLSurface::initTextures(), LLViewerParcelMgr::processParcelProperties(), LLWorld::removeRegion(), send_sound_trigger(), LLAgent::setRegion(), LLAgent::setStartPosition(), LLAgent::teleportViaLocation(), LLVOAvatar::updateRegion(), and LLWorld::updateWaterObjects().

const LLHost& LLViewerRegion::getHost (  )  const [inline]

Definition at line 198 of file llviewerregion.h.

References mHost.

Referenced by add_object(), LLWorld::addRegion(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLTaskInvFVBridge::commitBuyItem(), confirm_replace_attachment_rez(), container_inventory_arrived(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::disconnectRegions(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), getInfoString(), LLVOAvatar::getObjectHost(), LLFloaterReporter::getObjectInfo(), LLAgent::getRegionHost(), give_money(), handle_export_selected(), LLAvatarGiveCard::handleEvent(), LLObjectTouch::handleEvent(), LLFloaterCompileQueue::handleInventory(), LLNetMap::handleToolTip(), idle_startup(), LLFloaterAuction::initialize(), LLFloaterAbout::LLFloaterAbout(), LLLiveLSLEditor::loadAsset(), LLViewerObject::moveInventory(), LLPanelLandObjects::onClickRefresh(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLViewerObject::parameterChanged(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), LLViewerObject::processTaskInv(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLPanelRegionInfo::refreshFromRegion(), remove_inventory_category_from_avatar_step2(), LLViewerObjectList::removeFromLocalIDTable(), LLViewerObject::removeInventory(), LLViewerParcelMgr::requestHoverParcelProperties(), LLViewerObject::requestInventory(), LLObjectEmitter::requestObjectInfo(), LLSelectMgr::requestObjectPropertiesFamily(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), send_agent_pause(), send_agent_resume(), send_eject(), send_estate_message(), send_freeze(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), LLSelectMgr::sendListToRegions(), LLViewerObject::sendMaterialUpdate(), LLAgent::sendMessage(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerParcelMgr::sendParcelRelease(), LLViewerObject::sendPositionUpdate(), LLAgent::sendReliableMessage(), LLFloaterReporter::sendReportViaLegacy(), LLViewerObject::sendRotationUpdate(), LLViewerObject::sendScaleUpdate(), LLViewerObject::sendShapeUpdate(), LLViewerObject::sendTEUpdate(), setCapability(), LLAgent::setRegion(), LLAgent::setStartPosition(), LLViewerParcelMgr::setupParcelBuy(), update_statistics(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLVOAvatar::updateTextures(), upload_done_callback(), and wear_inventory_category_on_avatar_step2().

LLString LLViewerRegion::getInfoString (  ) 

Definition at line 972 of file llviewerregion.cpp.

References from_region_handle(), getHandle(), getHost(), getName(), LLHost::getString(), x, and y.

Referenced by LLWorld::getInfoString().

LLSurface& LLViewerRegion::getLand (  )  const [inline]

Definition at line 201 of file llviewerregion.h.

References mLandp.

Referenced by LLViewerParcelOverlay::addPropertyLine(), LLVOWater::createDrawable(), LLVOGrass::getGeometry(), LLToolBrushLand::handleMouseDown(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerWindow::mousePointOnLandGlobal(), LLViewerParcelMgr::renderOneSegment(), LLViewerParcelOverlay::renderPropertyLines(), LLWorld::resolveLandHeightGlobal(), LLWorld::resolveLandNormalGlobal(), LLWorld::resolveLandPatchGlobal(), LLWorld::resolveStepHeightGlobal(), unpackRegionHandshake(), and LLWorld::updateVisibilities().

F32 LLViewerRegion::getLandHeightRegion ( const LLVector3 region_pos  ) 

Definition at line 810 of file llviewerregion.cpp.

References mLandp, and LLSurface::resolveHeightRegion().

Referenced by LLAgent::setStartPosition().

U32 LLViewerRegion::getMaxTasks (  )  const [inline]

Definition at line 117 of file llviewerregion.h.

References mMaxTasks.

Referenced by LLPanelLandObjects::refresh().

const LLString& LLViewerRegion::getName ( void   )  const [inline]

Definition at line 146 of file llviewerregion.h.

References mName.

Referenced by LLToolBrushLand::alertNoTerraform(), LLAgent::buildLocationString(), LLVoiceClient::channelFromRegion(), LLStartUp::dispatchURL(), LLFloaterReporter::gatherReport(), getInfoString(), LLFloaterReporter::getObjectInfo(), LLPanelDirFindAll::getSearchURLSuffix(), handle_lure(), LLNetMap::handleToolTip(), is_agent_in_region(), LLFloaterAbout::LLFloaterAbout(), LLFloaterReporter::LLFloaterReporter(), LLPanelPick::onClickSet(), process_agent_movement_complete(), LLStatusBar::refresh(), LLPanelLandCovenant::refresh(), LLPanelObjectTools::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLPanelRegionTextureInfo::refreshFromRegion(), LLWorld::removeRegion(), LLAgent::setRegion(), LLVoiceClient::stateMachine(), trigger_hippo_bug(), and LLFloaterBuyLandUI::updateCovenantInfo().

U32 LLViewerRegion::getNetDetailsForLCD (  ) 

Definition at line 699 of file llviewerregion.cpp.

References mPingDelay.

Referenced by LLStatusBar::refresh().

LLVector3 LLViewerRegion::getOriginAgent (  )  const

Definition at line 392 of file llviewerregion.cpp.

References gAgent, LLAgent::getPosAgentFromGlobal(), and mOriginGlobal.

Referenced by LLVOGrass::getGeometry(), getPosRegionFromAgent(), LLViewerObject::LLViewerObject(), LLVOGrass::plantBlades(), LLViewerParcelMgr::renderOneSegment(), LLViewerParcelOverlay::renderPropertyLines(), and LLVOVolume::updateRelativeXform().

const LLVector3d& LLViewerRegion::getOriginGlobal (  )  const [inline]

Definition at line 138 of file llviewerregion.h.

References mOriginGlobal.

Referenced by idle_startup(), LLFloaterReporter::LLFloaterReporter(), LLPanelRegionTools::onSelectRegion(), operator<<(), CoarseLocationUpdate::post(), process_agent_movement_complete(), LLVOVolume::processUpdateMessage(), LLDrawPoolTerrain::renderFull2TU(), LLDrawPoolTerrain::renderFull4TU(), LLDrawPoolTerrain::renderFull4TUShader(), LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLAgent::setRegion(), and LLViewerParcelMgr::setupParcelBuy().

const LLUUID& LLViewerRegion::getOwner (  )  const [inline]

Definition at line 150 of file llviewerregion.h.

References mOwnerID.

Referenced by LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessCoreConfirm(), all_estates_text(), canManageEstate(), enable_region_owner(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandInfo::refresh(), LLPanelLandGeneral::refresh(), LLPanelEstateInfo::refreshFromRegion(), and LLPanelRegionTerrainInfo::refreshFromRegion().

U32 LLViewerRegion::getPacketsLost (  )  const

Definition at line 747 of file llviewerregion.cpp.

References LLCircuit::findCircuit(), LLCircuitData::getPacketsLost(), gMessageSystem, llendl, llinfos, LLMessageSystem::mCircuitInfo, and mHost.

LLViewerParcelOverlay* LLViewerRegion::getParcelOverlay (  )  const [inline]

Definition at line 128 of file llviewerregion.h.

References mParcelOverlay.

Referenced by LLViewerObject::isOverAgentOwnedLand(), LLViewerObject::isOverGroupOwnedLand(), LLViewerParcelMgr::isOwnedAt(), LLViewerParcelMgr::isOwnedOtherAt(), LLViewerParcelMgr::isOwnedSelfAt(), LLViewerParcelMgr::isSoundLocal(), and LLDrawPoolTerrain::renderOwnership().

LLVector3 LLViewerRegion::getPosAgentFromRegion ( const LLVector3 region_pos  )  const

Definition at line 798 of file llviewerregion.cpp.

References gAgent, LLAgent::getPosAgentFromGlobal(), and getPosGlobalFromRegion().

Referenced by LLViewerObject::getPositionAgent(), LLRegionPosition::getPositionAgent(), LLViewerObject::setPositionEdit(), LLViewerObject::setPositionRegion(), and LLViewerObject::updatePositionCaches().

LLVector3d LLViewerRegion::getPosGlobalFromRegion ( const LLVector3 offset  )  const

Definition at line 791 of file llviewerregion.cpp.

References mOriginGlobal, and LLVector3d::setVec().

Referenced by add_object(), LLWorld::clipToVisibleRegions(), getPosAgentFromRegion(), LLViewerObject::getPositionGlobal(), LLRegionPosition::getPositionGlobal(), LLViewerParcelMgr::processParcelProperties(), and LLFloaterGodTools::processRegionInfo().

LLVector3 LLViewerRegion::getPosRegionFromAgent ( const LLVector3 agent_pos  )  const

Definition at line 805 of file llviewerregion.cpp.

References getOriginAgent().

Referenced by LLViewerObject::setPositionAgent(), and LLViewerPartGroup::updateParticles().

LLVector3 LLViewerRegion::getPosRegionFromGlobal ( const LLVector3d point_global  )  const

Definition at line 784 of file llviewerregion.cpp.

References mOriginGlobal, and LLVector3::setVec().

Referenced by LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLWorld::clipToVisibleRegions(), LLToolDragAndDrop::dropObject(), LLViewerParcelMgr::inAgentParcel(), LLCloudGroup::inGroup(), LLViewerParcelMgr::isOwnedAt(), LLViewerParcelMgr::isOwnedOtherAt(), LLViewerParcelMgr::isOwnedSelfAt(), LLViewerParcelMgr::isSoundLocal(), pointInRegionGlobal(), process_agent_movement_complete(), LLViewerParcelMgr::processParcelProperties(), raycast_for_new_obj_pos(), LLToolBrushLand::render(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerParcelMgr::requestHoverParcelProperties(), LLSurface::resolveHeightGlobal(), LLSurface::resolvePatchGlobal(), LLWorld::resolveRegionAgent(), LLWorld::resolveRegionGlobal(), LLWorld::resolveStepHeightGlobal(), LLViewerParcelMgr::selectLand(), LLViewerObject::setPositionAbsoluteGlobal(), LLViewerObject::setPositionGlobal(), LLRegionPosition::setPositionGlobal(), LLViewerParcelMgr::setupParcelBuy(), LLSurface::updatePatchVisibilities(), and LLCloudGroup::updatePuffs().

U32 LLViewerRegion::getRegionFlags (  )  const [inline]

Definition at line 132 of file llviewerregion.h.

References mRegionFlags.

Referenced by add_duplicate(), add_object(), LLToolBrushLand::canTerraform(), LLFloaterGodTools::computeRegionFlags(), LLPanelLandOptions::draw(), LLToolDragAndDrop::dropObject(), LLPanelLandOptions::onClickPublishHelp(), onClickScripts(), LLStatusBar::refresh(), LLPanelLandInfo::refresh(), LLPanelLandCovenant::refresh(), LLPanelLandGeneral::refresh(), LLPanelEstateCovenant::refreshFromRegion(), and LLFloaterBuyLandUI::updateCovenantInfo().

const LLUUID& LLViewerRegion::getRegionID (  )  const [inline]

Definition at line 204 of file llviewerregion.h.

References mRegionID.

Referenced by process_agent_movement_complete(), and process_chat_from_simulator().

BOOL LLViewerRegion::getResetHomeOnTeleport (  )  const [inline]

Definition at line 366 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_RESET_HOME_ON_TELEPORT.

Referenced by handle_region_dump_settings().

BOOL LLViewerRegion::getRestrictPushObject (  )  const [inline]

Definition at line 396 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_RESTRICT_PUSHOBJECT.

Referenced by LLStatusBar::refresh().

U8 LLViewerRegion::getSimAccess (  )  const [inline]

Definition at line 158 of file llviewerregion.h.

References mSimAccess.

Referenced by LLPanelRegionGeneralInfo::sendUpdate().

const char * LLViewerRegion::getSimAccessString (  )  const

Definition at line 430 of file llviewerregion.cpp.

References accessToString(), and mSimAccess.

Referenced by LLStatusBar::refresh().

BOOL LLViewerRegion::getSunFixed (  )  const [inline]

Definition at line 371 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_SUN_FIXED.

Referenced by handle_region_dump_settings().

F32 LLViewerRegion::getTimeDilation (  )  const [inline]

Definition at line 135 of file llviewerregion.h.

References mTimeDilation.

F32 LLViewerRegion::getWaterHeight (  )  const

Definition at line 365 of file llviewerregion.cpp.

References LLSurface::getWaterHeight(), and mLandp.

Referenced by audio_update_wind(), LLSpatialPartition::calcDistance(), LLViewerCamera::cameraUnderWater(), handle_region_dump_settings(), LLVOAvatar::idleUpdate(), LLPipeline::postSort(), LLDrawPoolSky::render(), LLDrawPoolGround::render(), setup_clip_plane(), LLVOSky::updateFog(), and LLVOSky::updateGeometry().

F32 LLViewerRegion::getWidth (  )  const [inline]

Definition at line 178 of file llviewerregion.h.

References mWidth.

Referenced by LLWorld::clipToVisibleRegions(), and LLAgent::teleportViaLocation().

const LLString& LLViewerRegion::getZoning (  )  const [inline]

Definition at line 147 of file llviewerregion.h.

References mZoning.

BOOL LLViewerRegion::idleUpdate ( F32  max_update_time  ) 

Definition at line 556 of file llviewerregion.cpp.

References LLViewerParcelOverlay::idleUpdate(), LLSurface::idleUpdate(), mLandp, and mParcelOverlay.

void LLViewerRegion::initStats (  )  [protected]

Definition at line 144 of file llviewerregion.cpp.

References FALSE, mAlive, mBitsIn, mLastBitsIn, mLastNetUpdate, mLastPacketsIn, mLastPacketsLost, mLastPacketsOut, mPacketsIn, mPacketsLost, mPacketsOut, mPingDelay, and LLTimer::reset().

Referenced by LLViewerRegion().

BOOL LLViewerRegion::isEstateManager (  )  const [inline]

Definition at line 154 of file llviewerregion.h.

References mIsEstateManager.

Referenced by LLPanelEstateInfo::accessCoreConfirm(), all_estates_text(), canManageEstate(), LLPanelEstateInfo::refreshFromRegion(), and LLPanelRegionTerrainInfo::refreshFromRegion().

BOOL LLViewerRegion::isOwnedGroup ( const LLVector3 pos  ) 

Definition at line 826 of file llviewerregion.cpp.

References FALSE, LLViewerParcelOverlay::isOwnedGroup(), and mParcelOverlay.

Referenced by LLAvatarEnableFreezeEject::handleEvent().

BOOL LLViewerRegion::isOwnedSelf ( const LLVector3 pos  ) 

Definition at line 815 of file llviewerregion.cpp.

References FALSE, LLViewerParcelOverlay::isOwnedSelf(), and mParcelOverlay.

Referenced by LLAvatarEnableFreezeEject::handleEvent().

BOOL LLViewerRegion::isPrelude (  )  const [inline]

Definition at line 386 of file llviewerregion.h.

References is_prelude(), and mRegionFlags.

Referenced by LLFloaterWorldMap::draw(), LLWorldEnableTeleportHome::handleEvent(), LLAgent::inPrelude(), and process_improved_im().

void LLViewerRegion::loadCache (  ) 

Definition at line 182 of file llviewerregion.cpp.

References LLFile::fopen(), gDirUtilp, LLDir::getDirDelimiter(), LLDir::getExpandedFilename(), LLVOCacheEntry::getLocalID(), i, INDRA_OBJECT_CACHE_VERSION, LLDLinked< Type >::insert(), LL_PATH_CACHE, llendl, llinfos, llwarns, mCacheEnd, mCacheEntriesCount, mCacheID, mCacheLoaded, mCacheMap, LLUUID::mData, mHandle, NULL, REGION_WIDTH_UNITS, S32, TRUE, and UUID_BYTES.

Referenced by unpackRegionHandshake().

void LLViewerRegion::logActiveCapabilities (  )  const

Definition at line 1415 of file llviewerregion.cpp.

References count, llendl, llinfos, and mCapabilities.

Referenced by handle_dump_capabilities_info().

BOOL LLViewerRegion::pointInRegionGlobal ( const LLVector3d point_global  )  const

Definition at line 761 of file llviewerregion.cpp.

References FALSE, getPosRegionFromGlobal(), LLVector3::mV, mWidth, TRUE, VX, and VY.

void LLViewerRegion::processRegionInfo ( LLMessageSystem msg,
void **   
) [static]

Definition at line 524 of file llviewerregion.cpp.

References LLFloaterReporter::processRegionInfo(), LLFloaterRegionInfo::processRegionInfo(), and LLFloaterGodTools::processRegionInfo().

Referenced by register_viewer_callbacks().

std::string LLViewerRegion::regionFlagsToString ( U32  flags  )  [static]

Definition at line 437 of file llviewerregion.cpp.

References REGION_FLAGS_ALLOW_DAMAGE, and REGION_FLAGS_SANDBOX.

Referenced by LLWorldMapView::handleToolTip().

S32 LLViewerRegion::renderPropertyLines (  ) 

Definition at line 534 of file llviewerregion.cpp.

References mParcelOverlay, and LLViewerParcelOverlay::renderPropertyLines().

void LLViewerRegion::requestCacheMisses (  ) 

Definition at line 1076 of file llviewerregion.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_CacheMissType, _PREHASH_ID, _PREHASH_ObjectData, _PREHASH_RequestMultipleObjects, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, i, mCacheMissCRC, mCacheMissFull, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), S32, sendReliableMessage(), and TRUE.

Referenced by LLWorld::requestCacheMisses().

void LLViewerRegion::saveCache (  ) 

Definition at line 270 of file llviewerregion.cpp.

References LLDLinked< Type >::deleteAll(), LLFile::fopen(), gDirUtilp, LLDir::getDirDelimiter(), LLDir::getExpandedFilename(), LLDLinked< Type >::getNext(), INDRA_OBJECT_CACHE_VERSION, LLDLinked< Type >::init(), LL_PATH_CACHE, llendl, llwarns, mCacheEnd, mCacheEntriesCount, mCacheID, mCacheLoaded, mCacheMap, mCacheStart, LLUUID::mData, mHandle, REGION_WIDTH_UNITS, S32, LLDLinked< Type >::unlink(), and UUID_BYTES.

Referenced by ~LLViewerRegion().

void LLViewerRegion::sendMessage (  ) 

Definition at line 338 of file llviewerregion.cpp.

References gMessageSystem, mHost, and LLMessageSystem::sendMessage().

void LLViewerRegion::sendReliableMessage (  ) 

Definition at line 343 of file llviewerregion.cpp.

References gMessageSystem, mHost, and LLMessageSystem::sendReliable().

Referenced by handle_sit_or_stand(), and requestCacheMisses().

void LLViewerRegion::setAgentOffset ( const LLVector3d offset  ) 

void LLViewerRegion::setAllowDamage ( BOOL  b  )  [inline]

Definition at line 89 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_DAMAGE, and setFlags().

void LLViewerRegion::setAllowDirectTeleport ( BOOL  b  )  [inline]

Definition at line 95 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_DIRECT_TELEPORT, and setFlags().

void LLViewerRegion::setAllowLandmark ( BOOL  b  )  [inline]

Definition at line 90 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_LANDMARK, and setFlags().

void LLViewerRegion::setAllowSetHome ( BOOL  b  )  [inline]

Definition at line 91 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_SET_HOME, and setFlags().

void LLViewerRegion::setBillableFactor ( F32  billable_factor  )  [inline]

Definition at line 112 of file llviewerregion.h.

References mBillableFactor.

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

void LLViewerRegion::setBlockFly ( BOOL  b  )  [inline]

Definition at line 94 of file llviewerregion.h.

References REGION_FLAGS_BLOCK_FLY, and setFlags().

void LLViewerRegion::setCacheID ( const LLUUID id  )  [inline]

Definition at line 176 of file llviewerregion.h.

References mCacheID.

Referenced by unpackRegionHandshake().

void LLViewerRegion::setCapability ( const std::string &  name,
const std::string &  url 
)

Definition at line 1387 of file llviewerregion.cpp.

References getHost(), mCapabilities, mEventPoll, mHost, NULL, and LLHTTPSender::setSender().

Referenced by BaseCapabilitiesComplete::result(), and setSeedCapability().

void LLViewerRegion::setFlags ( BOOL  b,
U32  flags 
) [protected]

Definition at line 348 of file llviewerregion.cpp.

References mRegionFlags.

Referenced by setAllowDamage(), setAllowDirectTeleport(), setAllowLandmark(), setAllowSetHome(), setBlockFly(), setResetHomeOnTeleport(), and setSunFixed().

void LLViewerRegion::setIsEstateManager ( BOOL  b  )  [inline]

Definition at line 153 of file llviewerregion.h.

References mIsEstateManager.

Referenced by unpackRegionHandshake().

void LLViewerRegion::setMaxTasks ( U32  max_tasks  )  [inline]

Definition at line 118 of file llviewerregion.h.

References mMaxTasks.

Referenced by process_sim_stats().

void LLViewerRegion::setOriginGlobal ( const LLVector3d origin  ) 

Definition at line 376 of file llviewerregion.cpp.

References calculateCenterGlobal(), mCloudLayer, mLandp, mOriginGlobal, mWind, LLCloudLayer::setOriginGlobal(), LLWind::setOriginGlobal(), and LLSurface::setOriginGlobal().

Referenced by LLViewerRegion().

void LLViewerRegion::setOwner ( const LLUUID owner_id  )  [inline]

Definition at line 149 of file llviewerregion.h.

References mOwnerID.

Referenced by LLDispatchEstateUpdateInfo::operator()(), and unpackRegionHandshake().

void LLViewerRegion::setRegionFlags ( U32  flags  ) 

Definition at line 370 of file llviewerregion.cpp.

References mRegionFlags.

Referenced by process_sim_stats(), LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

void LLViewerRegion::setRegionID ( const LLUUID region_id  )  [inline]

Definition at line 205 of file llviewerregion.h.

References mRegionID.

Referenced by unpackRegionHandshake().

void LLViewerRegion::setRegionNameAndZone ( const char *  name_and_zone  ) 

Definition at line 403 of file llviewerregion.cpp.

References mName, mZoning, S32, and LLStringBase< char >::stripNonprintable().

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

void LLViewerRegion::setResetHomeOnTeleport ( BOOL  b  )  [inline]

Definition at line 92 of file llviewerregion.h.

References REGION_FLAGS_RESET_HOME_ON_TELEPORT, and setFlags().

void LLViewerRegion::setSeedCapability ( const std::string &  url  ) 

Definition at line 1338 of file llviewerregion.cpp.

References LLSD::append(), BaseCapabilitiesComplete::build(), LLSD::emptyArray(), getCapability(), llendl, llinfos, llwarns, mCapabilities, mEventPoll, NULL, LLHTTPClient::post(), and setCapability().

Referenced by idle_startup(), LLEstablishAgentCommunication::post(), process_crossed_region(), and process_teleport_finish().

void LLViewerRegion::setSimAccess ( U8  sim_access  )  [inline]

Definition at line 157 of file llviewerregion.h.

References mSimAccess.

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

void LLViewerRegion::setSunFixed ( BOOL  b  )  [inline]

Definition at line 93 of file llviewerregion.h.

References REGION_FLAGS_SUN_FIXED, and setFlags().

void LLViewerRegion::setTimeDilation ( F32  time_dilation  ) 

Definition at line 386 of file llviewerregion.cpp.

References mTimeDilation.

Referenced by LLViewerObject::processUpdateMessage().

void LLViewerRegion::setWaterHeight ( F32  water_level  ) 

Definition at line 360 of file llviewerregion.cpp.

References mLandp, and LLSurface::setWaterHeight().

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

U8 LLViewerRegion::stringToAccess ( const char *  access_str  )  [static]

Definition at line 485 of file llviewerregion.cpp.

References SIM_ACCESS_MATURE, SIM_ACCESS_MIN, SIM_ACCESS_PG, SIM_ACCESS_STR, and SIM_ACCESS_TRIAL.

Referenced by LLPanelRegionGeneralInfo::sendUpdate().

void LLViewerRegion::unpackRegionHandshake (  ) 

Definition at line 1191 of file llviewerregion.cpp.

References LLMessageSystem::addU32(), LLMessageSystem::addUUID(), LLSurface::dirtyAllPatches(), gAgent, LLMessageSystem::getBOOL(), getComposition(), LLMessageSystem::getF32(), LLAgent::getID(), getLand(), LLVLComposition::getParamsReady(), LLMessageSystem::getSender(), LLAgent::getSessionID(), LLMessageSystem::getString(), LLMessageSystem::getU32(), LLMessageSystem::getU8(), LLMessageSystem::getUUID(), gMessageSystem, loadCache(), LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), S32, LLMessageSystem::sendReliable(), setBillableFactor(), setCacheID(), LLVLComposition::setDetailTextureID(), LLVLComposition::setHeightRange(), setIsEstateManager(), setOwner(), LLVLComposition::setParamsReady(), setRegionFlags(), setRegionID(), setRegionNameAndZone(), setSimAccess(), LLVLComposition::setStartHeight(), and setWaterHeight().

Referenced by process_region_handshake().

void LLViewerRegion::updateCoarseLocations ( LLMessageSystem msg  ) 

Definition at line 922 of file llviewerregion.cpp.

References _PREHASH_Index, _PREHASH_Location, _PREHASH_Prey, _PREHASH_X, _PREHASH_Y, _PREHASH_You, _PREHASH_Z, count, LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS16Fast(), LLMessageSystem::getU8Fast(), i, LLAvatarTracker::instance(), LLVector3d::mdV, mMapAvatars, mOriginGlobal, S32, LLAvatarTracker::setTrackedCoarseLocation(), VX, VY, and VZ.

Referenced by LLWorld::processCoarseUpdate().

void LLViewerRegion::updateNetStats (  ) 

Definition at line 716 of file llviewerregion.cpp.

References LLStat::addValue(), FALSE, LLCircuit::findCircuit(), LLCircuitData::getBytesIn(), LLTimer::getElapsedTimeAndResetF32(), LLCircuitData::getPacketsIn(), LLCircuitData::getPacketsLost(), LLCircuitData::getPacketsOut(), LLCircuitData::getPingDelay(), gMessageSystem, mAlive, mBitsIn, mBitStat, LLMessageSystem::mCircuitInfo, mDeltaTime, mHost, mLastBitsIn, mLastNetUpdate, mLastPacketsIn, mLastPacketsLost, mLastPacketsOut, mPacketsIn, mPacketsLost, mPacketsLostStat, mPacketsOut, mPacketsStat, mPingDelay, and TRUE.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLViewerRegion region 
) [friend]

Definition at line 704 of file llviewerregion.cpp.


Member Data Documentation

BOOL LLViewerRegion::mAlive

Definition at line 265 of file llviewerregion.h.

Referenced by LLWorld::addRegion(), initStats(), and updateNetStats().

F32 LLViewerRegion::mBillableFactor [protected]

Definition at line 324 of file llviewerregion.h.

Referenced by getBillableFactor(), and setBillableFactor().

U32 LLViewerRegion::mBitsIn [protected]

Definition at line 309 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

LLStat LLViewerRegion::mBitStat

Definition at line 267 of file llviewerregion.h.

Referenced by updateNetStats().

LLVOCacheEntry LLViewerRegion::mCacheEnd [protected]

Definition at line 334 of file llviewerregion.h.

Referenced by cacheFullUpdate(), dumpCache(), LLViewerRegion(), loadCache(), and saveCache().

U32 LLViewerRegion::mCacheEntriesCount [protected]

Definition at line 335 of file llviewerregion.h.

Referenced by cacheFullUpdate(), dumpCache(), loadCache(), and saveCache().

LLUUID LLViewerRegion::mCacheID [protected]

Definition at line 343 of file llviewerregion.h.

Referenced by loadCache(), saveCache(), and setCacheID().

BOOL LLViewerRegion::mCacheLoaded [protected]

Definition at line 331 of file llviewerregion.h.

Referenced by getDP(), loadCache(), and saveCache().

LLPtrSkipMap<U32, LLVOCacheEntry *, 14> LLViewerRegion::mCacheMap [protected]

Definition at line 332 of file llviewerregion.h.

Referenced by cacheFullUpdate(), getDP(), loadCache(), and saveCache().

LLDynamicArray<U32> LLViewerRegion::mCacheMissCRC [protected]

Definition at line 337 of file llviewerregion.h.

Referenced by getDP(), and requestCacheMisses().

LLDynamicArray<U32> LLViewerRegion::mCacheMissFull [protected]

Definition at line 336 of file llviewerregion.h.

Referenced by addCacheMissFull(), getDP(), and requestCacheMisses().

LLVOCacheEntry LLViewerRegion::mCacheStart [protected]

Definition at line 333 of file llviewerregion.h.

Referenced by cacheFullUpdate(), dumpCache(), LLViewerRegion(), and saveCache().

F32 LLViewerRegion::mCameraDistanceSquared [protected]

Definition at line 326 of file llviewerregion.h.

Referenced by calculateCameraDistance(), and LLViewerRegion::CompareDistance::operator()().

CapabilityMap LLViewerRegion::mCapabilities [protected]

Definition at line 346 of file llviewerregion.h.

Referenced by getCapability(), logActiveCapabilities(), setCapability(), and setSeedCapability().

LLVector3d LLViewerRegion::mCenterGlobal [protected]

Definition at line 285 of file llviewerregion.h.

Referenced by calculateCenterGlobal(), getCenterAgent(), and getCenterGlobal().

LLCloudLayer LLViewerRegion::mCloudLayer

Definition at line 262 of file llviewerregion.h.

Referenced by LLWorld::addRegion(), connectNeighbor(), disconnectAllNeighbors(), idle(), setOriginGlobal(), and ~LLViewerRegion().

LLVLComposition* LLViewerRegion::mCompositionp [protected]

Definition at line 320 of file llviewerregion.h.

Referenced by getComposition(), LLViewerRegion(), and ~LLViewerRegion().

F32 LLViewerRegion::mDeltaTime [protected]

Definition at line 317 of file llviewerregion.h.

Referenced by updateNetStats().

LLEventPoll* LLViewerRegion::mEventPoll [protected]

Definition at line 348 of file llviewerregion.h.

Referenced by setCapability(), setSeedCapability(), and ~LLViewerRegion().

U64 LLViewerRegion::mHandle [protected]

Definition at line 288 of file llviewerregion.h.

Referenced by getHandle(), loadCache(), and saveCache().

LLHost LLViewerRegion::mHost [protected]

Definition at line 289 of file llviewerregion.h.

Referenced by getHost(), getPacketsLost(), operator<<(), sendMessage(), sendReliableMessage(), setCapability(), updateNetStats(), and ~LLViewerRegion().

BOOL LLViewerRegion::mIsEstateManager [protected]

Definition at line 304 of file llviewerregion.h.

Referenced by isEstateManager(), and setIsEstateManager().

LLSurface* LLViewerRegion::mLandp [protected]

Definition at line 281 of file llviewerregion.h.

Referenced by calculateCenterGlobal(), connectNeighbor(), disconnectAllNeighbors(), forceUpdate(), getLand(), getLandHeightRegion(), getWaterHeight(), idleUpdate(), LLViewerRegion(), setOriginGlobal(), setWaterHeight(), and ~LLViewerRegion().

U32 LLViewerRegion::mLastBitsIn [protected]

Definition at line 310 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

LLTimer LLViewerRegion::mLastNetUpdate [protected]

Definition at line 307 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

U32 LLViewerRegion::mLastPacketsIn [protected]

Definition at line 311 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

S32 LLViewerRegion::mLastPacketsLost [protected]

Definition at line 315 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

U32 LLViewerRegion::mLastPacketsOut [protected]

Definition at line 313 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

LLDynamicArray<LLUUID> LLViewerRegion::mMapAvatarIDs

Definition at line 277 of file llviewerregion.h.

Referenced by CoarseLocationUpdate::post().

LLDynamicArray<U32> LLViewerRegion::mMapAvatars

Definition at line 276 of file llviewerregion.h.

Referenced by CoarseLocationUpdate::post(), and updateCoarseLocations().

U32 LLViewerRegion::mMaxTasks [protected]

Definition at line 325 of file llviewerregion.h.

Referenced by getMaxTasks(), and setMaxTasks().

LLString LLViewerRegion::mName [protected]

Definition at line 297 of file llviewerregion.h.

Referenced by getName(), and setRegionNameAndZone().

LLVector3d LLViewerRegion::mOriginGlobal [protected]

Definition at line 284 of file llviewerregion.h.

Referenced by calculateCenterGlobal(), getOriginAgent(), getOriginGlobal(), getPosGlobalFromRegion(), getPosRegionFromGlobal(), LLViewerRegion(), setOriginGlobal(), and updateCoarseLocations().

LLUUID LLViewerRegion::mOwnerID [protected]

Definition at line 301 of file llviewerregion.h.

Referenced by getOwner(), and setOwner().

U32 LLViewerRegion::mPacketsIn [protected]

Definition at line 308 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

S32 LLViewerRegion::mPacketsLost [protected]

Definition at line 314 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

LLStat LLViewerRegion::mPacketsLostStat

Definition at line 269 of file llviewerregion.h.

Referenced by updateNetStats().

U32 LLViewerRegion::mPacketsOut [protected]

Definition at line 312 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

LLStat LLViewerRegion::mPacketsStat

Definition at line 268 of file llviewerregion.h.

Referenced by updateNetStats().

LLViewerParcelOverlay* LLViewerRegion::mParcelOverlay

Definition at line 263 of file llviewerregion.h.

Referenced by dirtyHeights(), forceUpdate(), getParcelOverlay(), idleUpdate(), isOwnedGroup(), isOwnedSelf(), LLViewerRegion(), LLViewerParcelMgr::processParcelOverlay(), renderPropertyLines(), and ~LLViewerRegion().

U32 LLViewerRegion::mPingDelay [protected]

Definition at line 316 of file llviewerregion.h.

Referenced by getNetDetailsForLCD(), initStats(), and updateNetStats().

U32 LLViewerRegion::mRegionFlags [protected]

Definition at line 322 of file llviewerregion.h.

Referenced by getAllowDamage(), getAllowDirectTeleport(), getAllowLandmark(), getAllowSetHome(), getAllowTerraform(), getBlockFly(), getRegionFlags(), getResetHomeOnTeleport(), getRestrictPushObject(), getSunFixed(), isPrelude(), setFlags(), and setRegionFlags().

LLUUID LLViewerRegion::mRegionID [protected]

Definition at line 292 of file llviewerregion.h.

Referenced by getRegionID(), and setRegionID().

U8 LLViewerRegion::mSimAccess [protected]

Definition at line 323 of file llviewerregion.h.

Referenced by getSimAccess(), getSimAccessString(), and setSimAccess().

F32 LLViewerRegion::mTimeDilation [protected]

Definition at line 294 of file llviewerregion.h.

Referenced by getTimeDilation(), and setTimeDilation().

F32 LLViewerRegion::mWidth [protected]

Definition at line 286 of file llviewerregion.h.

Referenced by calculateCenterGlobal(), getWidth(), LLViewerRegion(), and pointInRegionGlobal().

LLWind LLViewerRegion::mWind

Definition at line 261 of file llviewerregion.h.

Referenced by LLWorld::addRegion(), LLVolumeImplFlexible::doFlexibleUpdate(), idle(), LLVOTree::idleUpdate(), LLVOTree::LLVOTree(), setOriginGlobal(), LLViewerPartGroup::updateParticles(), and LLCloudGroup::updatePuffs().

LLString LLViewerRegion::mZoning [protected]

Definition at line 298 of file llviewerregion.h.

Referenced by getZoning(), and setRegionNameAndZone().


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