#include <llviewerobjectlist.h>
Definition at line 59 of file llviewerobjectlist.h.
typedef std::map<LLUUID, LLPointer<LLViewerObject> > LLViewerObjectList::vo_map [protected] |
Definition at line 196 of file llviewerobjectlist.h.
LLViewerObjectList::LLViewerObjectList | ( | ) |
Definition at line 96 of file llviewerobjectlist.cpp.
References FALSE, mCurBin, mCurLazyUpdateIndex, mNumDeadObjects, mNumDeadObjectUpdates, mNumNewObjects, mNumOrphans, mNumSizeCulled, mNumUnknownKills, mNumUnknownUpdates, mNumVisCulled, and mWasPaused.
LLViewerObjectList::~LLViewerObjectList | ( | ) |
Definition at line 111 of file llviewerobjectlist.cpp.
References destroy().
void LLViewerObjectList::destroy | ( | ) |
Definition at line 116 of file llviewerobjectlist.cpp.
References killAllObjects(), mActiveObjects, mDeadObjects, mMapObjects, mUUIDObjectMap, and resetObjectBeacons().
Referenced by LLWorld::destroyClass(), and ~LLViewerObjectList().
LLViewerObject * LLViewerObjectList::getObject | ( | const S32 | index | ) | [inline] |
Definition at line 254 of file llviewerobjectlist.h.
References LLViewerObject::isDead(), mObjects, and NULL.
Referenced by output_statistics(), and shiftObjects().
LLViewerObject * LLViewerObjectList::findObject | ( | const LLUUID & | id | ) | [inline] |
Definition at line 241 of file llviewerobjectlist.h.
References mUUIDObjectMap, and NULL.
Referenced by LLFloaterTelehub::addBeacons(), LLFloaterScriptDebug::addScriptLine(), LLPanelGroupInvite::addUsers(), LLAgent::autoPilot(), LLTaskInvFVBridge::buyItem(), callback_eject(), callback_freeze(), LLTaskInvFVBridge::commitBuyItem(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), copy_inventory_from_notecard(), LLViewerPartSourceScript::createPSS(), LLCategoryDropObserver::done(), LLFolderBridge::dragItemIntoFolder(), LLTaskCategoryBridge::dragOrDrop(), LLLiveLSLEditor::draw(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropScript(), find_avatar(), find_avatar_from_object(), LLTaskInvFVBridge::findItem(), LLFloaterProperties::findItem(), findOrphans(), LLAvatarTracker::getDegreesAndDist(), LLAvatarTracker::getGlobalPos(), LLPreview::getItem(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), handle_object_open(), handle_sit_or_stand(), LLToolDragAndDrop::handleDropTextureProtections(), LLObjectEnableSitOrStand::handleEvent(), LLObjectEnableOpen::handleEvent(), LLObjectEnableTouch::handleEvent(), LLObjectTouch::handleEvent(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLToolSelect::handleMouseDown(), LLToolSelect::handleMouseUp(), LLToolGrab::handleObjectHit(), LLTrackingData::haveTrackingInfo(), LLAgent::heardChat(), invite_to_group(), LLTaskInvFVBridge::isItemRemovable(), LLTaskInvFVBridge::isItemRenameable(), LLMuteList::isMuted(), LLViewerWindow::lastNonFloraObjectHit(), LLViewerWindow::lastObjectHit(), LLLiveLSLEditor::loadAsset(), LLPreviewNotecard::loadAsset(), LLToolDragAndDrop::locateInventory(), LLAgent::lookAtLastChat(), move_inv_category_world_to_agent(), move_task_inventory_callback(), notify_cautioned_script_question(), LLVOAvatar::onBakedTextureLoaded(), LLVOAvatar::onBakedTextureMasksLoaded(), LLPreview::onCommit(), LLFloaterProperties::onCommitDescription(), LLFloaterProperties::onCommitName(), LLFloaterProperties::onCommitPermissions(), LLVOAvatar::onInitialBakedTextureLoaded(), LLVOAvatar::onLocalTextureLoaded(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLTaskAnimationBridge::openItem(), LLTaskGestureBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLFloaterPay::payViaObject(), LLObjectBridge::performAction(), LLToolObjPicker::pickCallback(), LLToolGrab::pickCallback(), LLFloaterScriptQueue::popNext(), print_agent_nvpairs(), process_attached_sound(), process_attached_sound_gain_change(), process_avatar_animation(), process_avatar_appearance(), process_avatar_sit_response(), process_chat_from_simulator(), process_improved_im(), process_kill_object(), process_name_value(), process_offer_callingcard(), process_preload_sound(), process_remove_name_value(), process_set_follow_cam_properties(), LLSelectMgr::processForceObjectSelect(), processObjectUpdate(), LLViewerObject::processTaskInv(), LLViewerObject::processTaskInvFile(), LLViewerObject::processUpdateMessage(), LLToolPlacer::raycastForNewObjPos(), LLFloaterProperties::refreshFromItem(), remove_inventory_category_from_avatar_step2(), remove_task_inventory_callback(), LLTaskInvFVBridge::removeBatch(), LLTaskInvFVBridge::removeItem(), LLTaskInvFVBridge::renameItem(), replaceObject(), request_friendship(), LLPermissionsView::revokePermissions(), LLLiveLSLEditor::saveIfNeeded(), LLFloaterCompileQueue::saveItemByAssetID(), LLAgent::setCameraPosAndFocusGlobal(), LLAgent::setFocusGlobal(), LLAgent::setSitCamera(), LLAgent::setStartPosition(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), LLAgent::startFollowPilot(), LLAgent::startTyping(), LLVOAvatar::stopMotionFromSource(), LLHUDEffectSpiral::unpackData(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLHUDEffectBeam::unpackData(), LLViewerPartSourceScript::unpackPSS(), LLViewerPartSourceScript::update(), LLPanelInventory::updateInventory(), LLSelectMgr::updatePointAt(), LLFloaterProperties::updateSaleInfo(), LLLocalSpeakerMgr::updateSpeakerList(), and LLUpdateTaskInventoryResponder::uploadComplete().
LLViewerObject * LLViewerObjectList::createObjectViewer | ( | const LLPCode | pcode, | |
LLViewerRegion * | regionp | |||
) |
Definition at line 1256 of file llviewerobjectlist.cpp.
References LLViewerObject::createObject(), LLUUID::generate(), mObjects, LLMemType::MTYPE_OBJECT, mUUIDObjectMap, NULL, LLDynamicArray< Type, BlockSize >::put(), and updateActive().
Referenced by LLSky::init(), LLSurface::initTextures(), LLPreviewAnimation::LLPreviewAnimation(), LLViewerPartGroup::LLViewerPartGroup(), process_kill_object(), LLViewerObject::processUpdateMessage(), LLSurfacePatch::setSurface(), LLCloudGroup::updatePuffs(), and LLWorld::updateWaterObjects().
LLViewerObject * LLViewerObjectList::createObject | ( | const LLPCode | pcode, | |
LLViewerRegion * | regionp, | |||
const LLUUID & | uuid, | |||
const U32 | local_id, | |||
const LLHost & | sender | |||
) |
Definition at line 1280 of file llviewerobjectlist.cpp.
References LLViewerObject::createObject(), LLFastTimer::FTM_CREATE_OBJECT, LLUUID::generate(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), gMessageSystem, mObjects, LLMemType::MTYPE_OBJECT, mUUIDObjectMap, NULL, LLUUID::null, LLDynamicArray< Type, BlockSize >::put(), setUUIDAndLocal(), and updateActive().
Referenced by processObjectUpdate(), and replaceObject().
LLViewerObject * LLViewerObjectList::replaceObject | ( | const LLUUID & | id, | |
const LLPCode | pcode, | |||
LLViewerRegion * | regionp | |||
) |
Definition at line 1316 of file llviewerobjectlist.cpp.
References cleanupReferences(), createObject(), findObject(), LLViewerObject::getLocalID(), LLViewerObject::markDead(), and NULL.
BOOL LLViewerObjectList::killObject | ( | LLViewerObject * | objectp | ) |
Definition at line 828 of file llviewerobjectlist.cpp.
References FALSE, LLViewerObject::isDead(), LLViewerObject::markDead(), and TRUE.
Referenced by LLViewerJointAttachment::addObject(), LLViewerPartGroup::cleanup(), LLCloudGroup::cleanup(), killAllObjects(), killObjects(), process_kill_object(), LLViewerObject::processUpdateMessage(), update(), LLViewerPartGroup::updateParticles(), and LLWorld::updateWaterObjects().
void LLViewerObjectList::killObjects | ( | LLViewerRegion * | regionp | ) |
Definition at line 850 of file llviewerobjectlist.cpp.
References cleanDeadObjects(), LLDynamicArray< Type, BlockSize >::count(), FALSE, i, killObject(), mObjects, LLViewerObject::mRegionp, and S32.
Referenced by LLViewerRegion::~LLViewerRegion().
void LLViewerObjectList::killAllObjects | ( | ) |
Definition at line 869 of file llviewerobjectlist.cpp.
References cleanDeadObjects(), LLDynamicArray< Type, BlockSize >::count(), FALSE, i, LLViewerObject::isDead(), killObject(), llassert, llendl, llwarns, mActiveObjects, mMapObjects, mObjects, and S32.
Referenced by destroy().
void LLViewerObjectList::removeDrawable | ( | LLDrawable * | drawablep | ) |
Definition at line 814 of file llviewerobjectlist.cpp.
References LLDrawable::getFace(), LLDrawable::getNumFaces(), LLFace::getViewerObject(), i, mSelectPickList, and S32.
Referenced by cleanupReferences(), and LLDrawable::cleanupReferences().
void LLViewerObjectList::cleanDeadObjects | ( | const BOOL | use_timer = TRUE |
) |
Definition at line 903 of file llviewerobjectlist.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, LLViewerObject::isDead(), mDeadObjects, mNumDeadObjects, mObjects, LLDynamicArray< Type, BlockSize >::remove(), and S32.
Referenced by LLAppViewer::idle(), killAllObjects(), and killObjects().
void LLViewerObjectList::processUpdateCore | ( | LLViewerObject * | objectp, | |
void ** | data, | |||
U32 | block, | |||
const EObjectUpdateType | update_type, | |||
LLDataPacker * | dpp, | |||
BOOL | justCreated | |||
) |
Definition at line 200 of file llviewerobjectlist.cpp.
References LLPipeline::addObject(), LLWindow::decBusyCount(), dialog_refresh_all(), findOrphans(), gAgent, LLToolMgr::getCurrentTool(), LLSingleton< LLSelectMgr >::getInstance(), LLSingleton< LLToolPie >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), LLViewerWindow::getWindow(), gMessageSystem, gViewerWindow, LLViewerObject::isDead(), LLViewerObject::mCreateSelected, OUT_TERSE_IMPROVED, LLViewerObject::processUpdateMessage(), LLSelectMgr::selectObjectAndFamily(), LLWindow::setCursor(), LLViewerObject::setPixelAreaAndAngle(), UI_CURSOR_ARROW, and updateActive().
Referenced by processObjectUpdate().
void LLViewerObjectList::processObjectUpdate | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data, | |||
EObjectUpdateType | update_type, | |||
bool | cached = false , |
|||
bool | compressed = false | |||
) |
Definition at line 252 of file llviewerobjectlist.cpp.
References _PREHASH_CRC, _PREHASH_Data, _PREHASH_FullID, _PREHASH_ID, _PREHASH_ObjectData, _PREHASH_PCode, _PREHASH_RegionData, _PREHASH_RegionHandle, _PREHASH_UpdateFlags, LLDataPackerBinaryBuffer::assignBuffer(), LLViewerRegion::cacheFullUpdate(), createObject(), LLVOAvatar::cullAvatarsByPixelArea(), FALSE, findObject(), FLAGS_ZLIB_COMPRESSED, LLFastTimer::FTM_PROCESS_OBJECTS, gAgent, LLMessageSystem::getBinaryDataFast(), LLAgent::getCameraPositionGlobal(), LLViewerRegion::getDP(), LLSingleton< LLWorld >::getInstance(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), LLViewerObject::getRegion(), LLWorld::getRegionFromHandle(), LLMessageSystem::getSender(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), LLMessageSystem::getSizeFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), getUUIDFromLocal(), gFullObjectUpdates, gMessageSystem, gTerseObjectUpdates, i, LLViewerObject::isDead(), LLUUID::isNull(), llendl, llwarns, mDeadObjects, LLViewerObject::mID, LLViewerObject::mLocalID, mNumDeadObjectUpdates, mNumNewObjects, mNumUnknownUpdates, LLViewerObject::mRegionp, NULL, OUT_FULL, OUT_TERSE_IMPROVED, processUpdateCore(), removeFromLocalIDTable(), LLDataPackerBinaryBuffer::reset(), LLDataPacker::reset(), S32, LLViewerObject::setRegion(), setUUIDAndLocal(), TRUE, LLDataPackerBinaryBuffer::unpackU32(), LLDataPacker::unpackU32(), LLDataPackerBinaryBuffer::unpackU8(), LLDataPacker::unpackU8(), LLDataPackerBinaryBuffer::unpackUUID(), LLDataPacker::unpackUUID(), and LLViewerObject::updateRegion().
Referenced by process_object_update(), processCachedObjectUpdate(), and processCompressedObjectUpdate().
void LLViewerObjectList::processCompressedObjectUpdate | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data, | |||
EObjectUpdateType | update_type | |||
) |
Definition at line 517 of file llviewerobjectlist.cpp.
References processObjectUpdate().
Referenced by process_compressed_object_update(), and process_terse_object_update_improved().
void LLViewerObjectList::processCachedObjectUpdate | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data, | |||
EObjectUpdateType | update_type | |||
) |
Definition at line 524 of file llviewerobjectlist.cpp.
References processObjectUpdate().
Referenced by process_cached_object_update().
void LLViewerObjectList::updateApparentAngles | ( | LLAgent & | agent | ) |
Definition at line 540 of file llviewerobjectlist.cpp.
References LLViewerObject::boostTexturePriority(), LLDynamicArray< Type, BlockSize >::count(), LLVOAvatar::cullAvatarsByPixelArea(), gAgent, LLAgent::getFocusObject(), LLSingleton< LLSelectMgr >::getInstance(), LLHoverView::getLastHoverObject(), LLSelectMgr::getSelection(), gHoverView, gImageList, gNoRender, i, LLViewerObject::isDead(), llmin(), mCurBin, mCurLazyUpdateIndex, mObjects, NUM_BINS, S32, LLViewerObject::setPixelAreaAndAngle(), LLViewerImageList::setUpdateStats(), TRUE, and LLViewerObject::updateTextures().
Referenced by LLAppViewer::idle().
Definition at line 616 of file llviewerobjectlist.cpp.
References LLStat::addValue(), LLDynamicArray< Type, BlockSize >::count(), gAnimateTextures, LLControlGroup::getBOOL(), LLFrameTimer::getElapsedSeconds(), LLSingleton< LLViewerStats >::getInstance(), LLPrimitive::getPCode(), gFrameIntervalSeconds, gFrameTime, gFrameTimeSeconds, gPingInterpolate, gSavedSettings, gStartTime, gVelocityInterpolate, LLViewerObject::idleUpdate(), LLPrimitive::isAvatar(), killObject(), LLViewerObject::LL_VO_CLOUDS, llendl, llwarns, mActiveObjects, mNumActiveObjectsStat, mNumObjectsStat, mNumSizeCulled, mNumSizeCulledStat, mNumVisCulled, mNumVisCulledStat, mObjects, LLMemType::MTYPE_OBJECT, mWasPaused, NULL, S32, SEC_TO_MICROSEC, indra::base::config::set(), LLVOAvatar::sNumLODChangesThisFrame, totalTime(), U64_to_F64(), and LLViewerStats::updateFrameStats().
Referenced by LLAppViewer::idle().
void LLViewerObjectList::shiftObjects | ( | const LLVector3 & | offset | ) |
Definition at line 970 of file llviewerobjectlist.cpp.
References LLDynamicArray< Type, BlockSize >::count(), LLSingleton< LLWorld >::getInstance(), getObject(), gNoRender, i, LLVector3::magVecSquared(), LLPipeline::markShift(), LLViewerObject::mDrawable, mObjects, LLPointer< Type >::notNull(), S32, LLPipeline::shiftObjects(), LLWorld::shiftRegions(), and LLViewerObject::updatePositionCaches().
Referenced by process_agent_movement_complete().
void LLViewerObjectList::renderObjectsForMap | ( | LLNetMap & | netmap | ) |
Definition at line 1002 of file llviewerobjectlist.cpp.
References LLDynamicArray< Type, BlockSize >::count(), gColors, LLControlGroup::getColor(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRegion(), LLXform::getScale(), LLViewerRegion::getWaterHeight(), i, LLViewerObject::isAttachment(), LLViewerObject::isOrphaned(), LLVector3d::mdV, mMapObjects, LLVector3::mV, LLViewerObject::permGroupOwner(), LLViewerObject::permYouOwner(), LLNetMap::renderScaledPointGlobal(), S32, VX, VY, and VZ.
Referenced by LLNetMap::draw().
void LLViewerObjectList::renderObjectBounds | ( | const LLVector3 & | center | ) |
Definition at line 1075 of file llviewerobjectlist.cpp.
void LLViewerObjectList::addDebugBeacon | ( | const LLVector3 & | pos_agent, | |
const LLString & | string, | |||
const LLColor4 & | color = LLColor4(1.f, 0.f, 0.f, 0.5f) , |
|||
const LLColor4 & | text_color = LLColor4(1.f, 1.f, 1.f, 1.f) , |
|||
S32 | line_width = 1 | |||
) |
Definition at line 1237 of file llviewerobjectlist.cpp.
References LLDebugBeacon::mColor, mDebugBeacons, LLDebugBeacon::mLineWidth, LLDebugBeacon::mPositionAgent, LLDebugBeacon::mString, LLDebugBeacon::mTextColor, and LLDynamicArray< Type, BlockSize >::reserve_block().
Referenced by LLFloaterTelehub::addBeacons(), findOrphans(), LLPipeline::postSort(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), and renderScriptedTouchBeacons().
void LLViewerObjectList::renderObjectBeacons | ( | ) |
Definition at line 1002 of file llglsandbox.cpp.
References LLHUDObject::addHUDObject(), LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLDynamicArray< Type, BlockSize >::count(), draw_line_cube(), LLGLImmediate::end(), FALSE, LLGLImmediate::flush(), gGL, i, LLVertexBuffer::LINES, LLHUDObject::LL_HUD_TEXT, LLDebugBeacon::mColor, mDebugBeacons, LLDebugBeacon::mHUDObject, LLDebugBeacon::mLineWidth, LLDebugBeacon::mPositionAgent, LLDebugBeacon::mString, LLDebugBeacon::mTextColor, LLVector3::mV, LLColor4::mV, S32, LLHUDText::setColor(), LLHUDObject::setPositionAgent(), LLHUDText::setString(), LLHUDText::setZCompare(), utf8str_to_wstring(), LLGLImmediate::vertex3f(), VX, VY, and VZ.
Referenced by LLPipeline::renderGeom().
void LLViewerObjectList::resetObjectBeacons | ( | ) |
Definition at line 1251 of file llviewerobjectlist.cpp.
References mDebugBeacons, and LLDynamicArray< Type, BlockSize >::reset().
Referenced by destroy(), and LLPipeline::renderGeom().
void LLViewerObjectList::dirtyAllObjectInventory | ( | ) |
Definition at line 531 of file llviewerobjectlist.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, mObjects, and S32.
Referenced by set_god_level().
void LLViewerObjectList::updateActive | ( | LLViewerObject * | objectp | ) |
Definition at line 942 of file llviewerobjectlist.cpp.
References FALSE, LLViewerObject::isActive(), LLViewerObject::isDead(), mActiveObjects, LLMemType::MTYPE_OBJECT, LLViewerObject::onActiveList(), LLViewerObject::setOnActiveList(), and TRUE.
Referenced by createObject(), createObjectViewer(), processUpdateCore(), and LLWorld::updateWaterObjects().
void LLViewerObjectList::updateAvatarVisibility | ( | ) |
U32 LLViewerObjectList::renderObjectsForSelect | ( | LLCamera & | camera, | |
BOOL | pick_parcel_wall = FALSE , |
|||
BOOL | keep_pick_list = FALSE | |||
) |
Definition at line 1080 of file llviewerobjectlist.cpp.
References LLHUDText::addPickable(), LLGLImmediate::color4f(), LLDynamicArray< Type, BlockSize >::count(), LLSpatialPartition::cull(), FALSE, LLGLImmediate::flush(), gAgent, LLHUDIcon::generatePickIDs(), LLAgent::getAvatarObject(), LLDrawable::getFace(), LLSingleton< LLWorld >::getInstance(), LLViewerJointAttachment::getIsHUDAttachment(), LLDrawable::getNumFaces(), LLHUDIcon::getNumInstances(), LLViewerJointAttachment::getObject(), LLWorld::getRegionList(), LLViewerRegion::getSpatialPartition(), LLFace::getViewerObject(), gGL, GL_NAME_INDEX_OFFSET, gRenderForSelect, gViewerWindow, i, LLViewerObject::isDead(), LLVOAvatar::mAttachmentPoints, LLViewerObject::mbCanSelect, LLViewerObject::mChildList, LLViewerObject::mDrawable, LLViewerObject::mGLName, mObjects, mSelectPickList, LLPointer< Type >::notNull(), NULL, LLViewerRegion::NUM_PARTITIONS, LLHUDObject::renderAllForSelect(), LLPipeline::renderForSelect(), LLViewerWindow::renderSelections(), S32, LLCharacter::sInstances, TRUE, and LLVertexBuffer::unbind().
Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::rawSnapshot(), LLPipeline::renderGeom(), and LLViewerWindow::thumbnailSnapshot().
LLViewerObject * LLViewerObjectList::getSelectedObject | ( | const U32 | object_id | ) |
Definition at line 1224 of file llviewerobjectlist.cpp.
References mSelectPickList, and NULL.
Referenced by LLViewerWindow::performPick().
S32 LLViewerObjectList::getNumObjects | ( | ) | [inline] |
Definition at line 114 of file llviewerobjectlist.h.
References LLDynamicArray< Type, BlockSize >::count(), and mObjects.
Referenced by LLFrameStats::addFrameData(), and output_statistics().
void LLViewerObjectList::addToMap | ( | LLViewerObject * | objectp | ) | [inline] |
Definition at line 266 of file llviewerobjectlist.h.
References mMapObjects, and LLDynamicArray< Type, BlockSize >::put().
Referenced by LLViewerObject::setScale().
void LLViewerObjectList::removeFromMap | ( | LLViewerObject * | objectp | ) | [inline] |
Definition at line 271 of file llviewerobjectlist.h.
References mMapObjects, and LLDynamicArray< Type, BlockSize >::removeObj().
Referenced by LLViewerObject::setScale().
void LLViewerObjectList::clearDebugText | ( | ) |
Definition at line 769 of file llviewerobjectlist.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, mObjects, and S32.
Referenced by LLPipeline::resetFrameStats().
void LLViewerObjectList::cleanupReferences | ( | LLViewerObject * | objectp | ) |
Definition at line 778 of file llviewerobjectlist.cpp.
References FALSE, LLViewerObject::isOnMap(), llendl, llinfos, mActiveObjects, mDeadObjects, LLViewerObject::mDrawable, LLViewerObject::mID, mMapObjects, mNumDeadObjects, LLMemType::MTYPE_OBJECT, mUUIDObjectMap, LLViewerObject::onActiveList(), removeDrawable(), removeFromLocalIDTable(), LLDynamicArray< Type, BlockSize >::removeObj(), and LLViewerObject::setOnActiveList().
Referenced by LLViewerObject::markDead(), and replaceObject().
S32 LLViewerObjectList::findReferences | ( | LLDrawable * | drawablep | ) | const |
Definition at line 1329 of file llviewerobjectlist.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, LLViewerObject::mDrawable, mObjects, LLPointer< Type >::notNull(), and S32.
Referenced by LLPipeline::findReferences().
S32 LLViewerObjectList::getOrphanParentCount | ( | ) | const [inline] |
S32 LLViewerObjectList::getOrphanCount | ( | ) | const [inline] |
Definition at line 129 of file llviewerobjectlist.h.
References mNumOrphans.
Referenced by output_statistics().
void LLViewerObjectList::orphanize | ( | LLViewerObject * | childp, | |
U32 | parent_id, | |||
U32 | ip, | |||
U32 | port | |||
) |
Definition at line 1346 of file llviewerobjectlist.cpp.
References LLDrawable::FORCE_INVISIBLE, LLViewerObject::getID(), getIndex(), LLXform::getParent(), LLViewerObject::getRegion(), llendl, llinfos, LLViewerObject::mDrawable, LLViewerObject::mID, mNumOrphans, mOrphanChildren, LLViewerObject::mOrphaned, mOrphanParents, LLMemType::MTYPE_OBJECT, LLPointer< Type >::notNull(), and TRUE.
Referenced by LLViewerObject::processUpdateMessage().
void LLViewerObjectList::findOrphans | ( | LLViewerObject * | objectp, | |
U32 | ip, | |||
U32 | port | |||
) |
Definition at line 1395 of file llviewerobjectlist.cpp.
References LLViewerObject::addChild(), addDebugBeacon(), LLDrawable::CLEAR_INVISIBLE, LLSelectMgr::deselectObjectAndFamily(), FALSE, findObject(), getIndex(), LLSingleton< LLSelectMgr >::getInstance(), LLPrimitive::getPCodeString(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionGlobal(), LLSelectMgr::getSelection(), gNoRender, LLViewerObject::hideExtraDisplayItems(), i, LLViewerObject::isDead(), LLViewerObject::isSelected(), llendl, llinfos, llwarns, LLPipeline::markMoved(), LLViewerObject::mDrawable, LLViewerObject::mID, LLSelectNode::mIndividualSelection, LLViewerObject::mLocalID, mNumOrphans, mOrphanChildren, LLViewerObject::mOrphaned, mOrphanParents, LLXform::MOVED, LLPointer< Type >::notNull(), S32, LLSelectMgr::selectObjectAndFamily(), LLXform::setChanged(), LLViewerObject::setDrawableParent(), LLXform::SILHOUETTE, and TRUE.
Referenced by processUpdateCore().
void LLViewerObjectList::getUUIDFromLocal | ( | LLUUID & | id, | |
const U32 | local_id, | |||
const U32 | ip, | |||
const U32 | port | |||
) | [static] |
Definition at line 128 of file llviewerobjectlist.cpp.
References get_if_there(), LLUUID::null, sIndexAndLocalIDToUUID, sIPAndPortToIndex, and sSimulatorMachineIndex.
Referenced by process_kill_object(), LLSelectMgr::processForceObjectSelect(), processObjectUpdate(), and LLViewerObject::processUpdateMessage().
void LLViewerObjectList::setUUIDAndLocal | ( | const LLUUID & | id, | |
const U32 | local_id, | |||
const U32 | ip, | |||
const U32 | port | |||
) | [static] |
Definition at line 177 of file llviewerobjectlist.cpp.
References sIndexAndLocalIDToUUID, sIPAndPortToIndex, and sSimulatorMachineIndex.
Referenced by createObject(), and processObjectUpdate().
BOOL LLViewerObjectList::removeFromLocalIDTable | ( | const LLViewerObject & | object | ) | [static] |
Definition at line 164 of file llviewerobjectlist.cpp.
References FALSE, LLHost::getAddress(), LLHost::getPort(), sIndexAndLocalIDToUUID, sIPAndPortToIndex, and TRUE.
Referenced by cleanupReferences(), and processObjectUpdate().
Definition at line 148 of file llviewerobjectlist.cpp.
References sIPAndPortToIndex.
Referenced by findOrphans(), and orphanize().
friend class LLViewerObject [friend] |
Definition at line 212 of file llviewerobjectlist.h.
Definition at line 147 of file llviewerobjectlist.h.
Referenced by LLViewerObjectList(), and updateApparentAngles().
Definition at line 156 of file llviewerobjectlist.h.
Referenced by LLAppViewer::idleNetwork(), and init_stat_view().
Definition at line 160 of file llviewerobjectlist.h.
Referenced by LLAppViewer::idleNetwork(), LLViewerObjectList(), and processObjectUpdate().
Definition at line 162 of file llviewerobjectlist.h.
Referenced by LLViewerObjectList(), and update().
Definition at line 163 of file llviewerobjectlist.h.
Referenced by LLViewerObjectList(), and update().
Definition at line 167 of file llviewerobjectlist.h.
Referenced by LLViewerObjectList(), send_agent_pause(), and update().
Definition at line 182 of file llviewerobjectlist.h.
Referenced by LLAppViewer::idle(), LLViewerObjectList(), and processObjectUpdate().
Definition at line 183 of file llviewerobjectlist.h.
Referenced by LLAppViewer::idle(), LLViewerObjectList(), and processObjectUpdate().
Definition at line 184 of file llviewerobjectlist.h.
Referenced by LLAppViewer::idle(), LLViewerObjectList(), and process_kill_object().
Definition at line 185 of file llviewerobjectlist.h.
Referenced by cleanDeadObjects(), cleanupReferences(), LLViewerObjectList(), and output_statistics().
LLDynamicArray<U64> LLViewerObjectList::mOrphanParents [protected] |
Definition at line 187 of file llviewerobjectlist.h.
Referenced by findOrphans(), getOrphanParentCount(), and orphanize().
LLDynamicArray<OrphanInfo> LLViewerObjectList::mOrphanChildren [protected] |
S32 LLViewerObjectList::mNumOrphans [protected] |
Definition at line 189 of file llviewerobjectlist.h.
Referenced by findOrphans(), getOrphanCount(), LLViewerObjectList(), and orphanize().
LLDynamicArrayPtr<LLPointer<LLViewerObject>, 256> LLViewerObjectList::mObjects [protected] |
Definition at line 191 of file llviewerobjectlist.h.
Referenced by cleanDeadObjects(), clearDebugText(), createObject(), createObjectViewer(), dirtyAllObjectInventory(), findReferences(), getNumObjects(), getObject(), killAllObjects(), killObjects(), renderObjectsForSelect(), shiftObjects(), update(), and updateApparentAngles().
std::set<LLPointer<LLViewerObject> > LLViewerObjectList::mActiveObjects [protected] |
Definition at line 192 of file llviewerobjectlist.h.
Referenced by cleanupReferences(), destroy(), killAllObjects(), update(), and updateActive().
LLDynamicArrayPtr<LLPointer<LLViewerObject> > LLViewerObjectList::mMapObjects [protected] |
Definition at line 194 of file llviewerobjectlist.h.
Referenced by addToMap(), cleanupReferences(), destroy(), killAllObjects(), removeFromMap(), and renderObjectsForMap().
vo_map LLViewerObjectList::mDeadObjects [protected] |
Definition at line 197 of file llviewerobjectlist.h.
Referenced by cleanDeadObjects(), cleanupReferences(), destroy(), and processObjectUpdate().
std::map<LLUUID, LLPointer<LLViewerObject> > LLViewerObjectList::mUUIDObjectMap [protected] |
Definition at line 199 of file llviewerobjectlist.h.
Referenced by cleanupReferences(), createObject(), createObjectViewer(), destroy(), and findObject().
LLDynamicArray<LLDebugBeacon> LLViewerObjectList::mDebugBeacons [protected] |
Definition at line 201 of file llviewerobjectlist.h.
Referenced by addDebugBeacon(), renderObjectBeacons(), and resetObjectBeacons().
S32 LLViewerObjectList::mCurLazyUpdateIndex [protected] |
Definition at line 203 of file llviewerobjectlist.h.
Referenced by LLViewerObjectList(), and updateApparentAngles().
U32 LLViewerObjectList::sSimulatorMachineIndex = 1 [static, protected] |
Definition at line 205 of file llviewerobjectlist.h.
Referenced by getUUIDFromLocal(), and setUUIDAndLocal().
LLMap< U64, U32 > LLViewerObjectList::sIPAndPortToIndex [static, protected] |
Definition at line 206 of file llviewerobjectlist.h.
Referenced by getIndex(), getUUIDFromLocal(), removeFromLocalIDTable(), and setUUIDAndLocal().
std::map< U64, LLUUID > LLViewerObjectList::sIndexAndLocalIDToUUID [static, protected] |
Definition at line 208 of file llviewerobjectlist.h.
Referenced by getUUIDFromLocal(), removeFromLocalIDTable(), and setUUIDAndLocal().
std::set<LLViewerObject *> LLViewerObjectList::mSelectPickList [protected] |
Definition at line 210 of file llviewerobjectlist.h.
Referenced by getSelectedObject(), removeDrawable(), and renderObjectsForSelect().