#include <llmemory.h>
Public Member Functions | |
LLPointer () | |
LLPointer (Type *ptr) | |
LLPointer (const LLPointer< Type > &ptr) | |
template<typename Subclass> | |
LLPointer (const LLPointer< Subclass > &ptr) | |
~LLPointer () | |
Type * | get () const |
const Type * | operator-> () const |
Type * | operator-> () |
const Type & | operator* () const |
Type & | operator* () |
operator BOOL () const | |
operator bool () const | |
bool | operator! () const |
bool | isNull () const |
bool | notNull () const |
operator Type * () const | |
operator const Type * () const | |
bool | operator!= (Type *ptr) const |
bool | operator== (Type *ptr) const |
bool | operator== (const LLPointer< Type > &ptr) const |
bool | operator< (const LLPointer< Type > &ptr) const |
bool | operator> (const LLPointer< Type > &ptr) const |
LLPointer< Type > & | operator= (Type *ptr) |
LLPointer< Type > & | operator= (const LLPointer< Type > &ptr) |
template<typename Subclass> | |
LLPointer< Type > & | operator= (const LLPointer< Subclass > &ptr) |
Static Public Member Functions | |
static void | swap (LLPointer< Type > &a, LLPointer< Type > &b) |
Protected Member Functions | |
void | ref () |
void | unref () |
Protected Attributes | |
Type * | mPointer |
Definition at line 111 of file llmemory.h.
Definition at line 115 of file llmemory.h.
Definition at line 120 of file llmemory.h.
Definition at line 126 of file llmemory.h.
LLPointer< Type >::LLPointer | ( | const LLPointer< Subclass > & | ptr | ) | [inline] |
Definition at line 134 of file llmemory.h.
Definition at line 140 of file llmemory.h.
Type* LLPointer< Type >::get | ( | ) | const [inline] |
Definition at line 145 of file llmemory.h.
Referenced by LLParticlePartition::addGeometryCount(), LLViewerObject::hideExtraDisplayItems(), LLSky::init(), LLDrawInfo::CompareBump::operator()(), LLDrawInfo::CompareTexturePtrMatrix::operator()(), LLDrawInfo::CompareTexturePtr::operator()(), LLPointer< LLJointState >::operator=(), LLPipeline::pickObject(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolAvatar::renderForSelect(), LLDrawPoolTree::renderTree(), LLPipeline::stateSort(), LLHUDEffectSpiral::triggerLocal(), LLViewerImageList::updateImagesFetchTextures(), and LLViewerPartSourceSpiral::updatePart().
const Type* LLPointer< Type >::operator-> | ( | ) | const [inline] |
Definition at line 146 of file llmemory.h.
Type* LLPointer< Type >::operator-> | ( | ) | [inline] |
Definition at line 147 of file llmemory.h.
const Type& LLPointer< Type >::operator* | ( | ) | const [inline] |
Definition at line 148 of file llmemory.h.
Type& LLPointer< Type >::operator* | ( | ) | [inline] |
Definition at line 149 of file llmemory.h.
Definition at line 151 of file llmemory.h.
LLPointer< Type >::operator bool | ( | ) | const [inline] |
Definition at line 152 of file llmemory.h.
bool LLPointer< Type >::operator! | ( | ) | const [inline] |
Definition at line 153 of file llmemory.h.
bool LLPointer< Type >::isNull | ( | ) | const [inline] |
Definition at line 154 of file llmemory.h.
Referenced by LLViewerImage::bind(), LLAgent::calcCameraMinDistance(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcFocusPositionTargetGlobal(), LLVOVolume::calcLOD(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToThirdPerson(), LLInventoryAddedObserver::changed(), LLPipeline::createGLBuffers(), LLNetMap::createObjectImage(), LLAgent::createStandardWearables(), LLViewerImage::createTexture(), LLTextureFetchWorker::decodeImage(), LLSky::destroyGL(), LLVolumeImplFlexible::doIdleUpdate(), LLViewerImage::doLoadedCallbacks(), LLVolumeImplFlexible::doUpdateGeometry(), LLTextureFetchWorker::doWork(), LLImageWorker::doWork(), LLWorldMapView::draw(), LLTextureCtrl::draw(), LLNetMap::draw(), LLButton::draw(), LLViewerJointMesh::drawShape(), get_null_object_selection(), LLXMLNode::getAttribute(), LLXMLNode::getChild(), LLXMLNode::getChildren(), LLSelectMgr::getGrid(), LLAgent::getHeadRotation(), LLViewerImageList::getImage(), LLViewerImageList::getImageFromFile(), LLHoverView::getLastHoverObject(), LLParcelSelection::getNullParcelSelection(), LLVOAvatar::getOffObject(), LLAgent::getPositionAgent(), LLAgent::getPositionGlobal(), LLVOAvatar::getRenderPosition(), LLViewerObject::getRenderPosition(), LLViewerObject::getRenderRotation(), LLScrollListIcon::getValue(), LLSurface::getWaterHeight(), handle_click_action_open_media(), LLPanelActiveSpeakers::SpeakerMuteListener::handleEvent(), LLVOVolume::idleUpdate(), LLVOAvatar::idleUpdate(), LLFontGL::init(), LLXMLNode::isFullyDefault(), LLHoverView::isHoveringObject(), LLViewerObject::isParticleSource(), ll_create_sd_from_inventory_category(), ll_create_sd_from_inventory_item(), LLDrawPoolWLSky::LLDrawPoolWLSky(), LLLiveLSLEditor::loadAsset(), LLFont::loadFace(), LLInventoryModel::loadFromFile(), LLAgent::lookAtLastChat(), LLAgent::makeNewOutfit(), LLHUDEffectPointAt::markDead(), LLPanelActiveSpeakers::onClickMuteTextCommit(), LLPanelActiveSpeakers::onClickMuteVoiceCommit(), LLDrawInfo::CompareBump::operator()(), LLDrawInfo::CompareTexturePtrMatrix::operator()(), LLDrawInfo::CompareTexturePtr::operator()(), LLAlertDialog::parseAlerts(), LLLineEditor::parseImage(), LLMIMETypes::parseMIMETypes(), LLNotifyBox::parseNotify(), LLTrans::parseStrings(), LLSpatialPartition::processImagery(), LLTracker::purgeBeaconText(), LLVolumeGeometryManager::rebuildGeom(), LLSpatialPartition::rebuildGeom(), LLInventoryCallbackManager::registerCB(), LLTexLayerParamAlpha::render(), LLHUDEffectSpiral::render(), LLDrawPoolAvatar::renderAvatars(), LLFace::renderForSelect(), LLDrawPoolAvatar::renderForSelect(), LLHUDIcon::renderIcon(), LLFace::renderIndexed(), LLFace::renderSelected(), LLHUDText::renderText(), LLDrawPoolTree::renderTree(), LLLiveLSLEditor::saveIfNeeded(), LLFolderView::scrollToShowItem(), LLAgent::sendAgentSetAppearance(), LLPanelObject::sendPosition(), LLPanelObject::sendRotation(), LLPanelObject::sendScale(), LLPanelObject::sendSculpt(), LLViewerJointAttachment::setAttachmentVisibility(), LLAgent::setAvatarObject(), LLViewerObject::setDrawableParent(), LLAgent::setFocusGlobal(), LLAgent::setFocusOnAvatar(), LLAgent::setPositionAgent(), LLSurface::setWaterHeight(), LLVOAvatar::sitOnObject(), LLTextureFetchWorker::startWork(), LLImageWorker::startWork(), LLHUDEffectSpiral::triggerLocal(), LLHUDEffectPointAt::unpackData(), LLHUDEffectLookAt::unpackData(), LLViewerObject::unpackParticleSource(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), LLViewerPartSourceScript::update(), LLHUDEffectPointAt::update(), LLHUDEffectLookAt::update(), LLAgent::updateCamera(), LLXMLNode::updateDefault(), LLSprite::updateFace(), LLViewerJointMesh::updateFaceData(), LLViewerImage::updateFetch(), LLVOWater::updateGeometry(), LLVOVolume::updateGeometry(), LLVOSky::updateGeometry(), LLVOGround::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOVolume::updateLOD(), LLVOAvatar::updateLOD(), LLAgent::updateLookAt(), LLDrawable::updateMove(), LLViewerPartSourceSpiral::updatePart(), LLVOVolume::updateRadius(), LLVOTree::updateRadius(), LLVOSky::updateReflectionGeometry(), LLSelectMgr::updateSilhouettes(), LLVOSky::updateSky(), LLIMSpeakerMgr::updateSpeakers(), LLVOWLSky::updateStarGeometry(), LLVOSky::updateSunHaloGeometry(), LLVOVolume::updateTextures(), LLVOAvatar::updateVisibility(), LLSurfacePatch::updateVisibility(), validate_draw_info(), and LLXMLNode::writeToOstream().
bool LLPointer< Type >::notNull | ( | ) | const [inline] |
Definition at line 155 of file llmemory.h.
Referenced by LLObservable::addListener(), LLViewerJointAttachment::addObject(), LLViewerWindow::analyzeHit(), LLJointStateBlender::blendJointStates(), calc_light_dist(), LLAgent::calcCameraFOVZoomFactor(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcFocusPositionTargetGlobal(), LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLAgent::cameraOrbitIn(), LLPreviewTexture::canSaveAs(), LLAgent::clampPitchToLimits(), LLAgent::clearFocusObject(), LLHUDEffectLookAt::clearLookAtTarget(), LLViewerInventoryItem::cloneViewerItem(), LLImageRaw::createFromFile(), LLViewerPartSourceScript::createPSS(), LLViewerImage::createRawImage(), LLTextureFetchWorker::decodeImage(), LLVOVolume::deleteFaces(), LLInventoryModel::deleteFromServer(), LLViewerObject::deleteParticleSource(), LLSDSerialize::deserialize(), LLSky::destroyGL(), LLViewerImage::doLoadedCallbacks(), LLTextureFetchWorker::doWork(), LLImageWorker::doWork(), LLManipRotate::drag(), LLPreviewTexture::draw(), LLFloaterIMPanel::draw(), LLFolderViewItem::draw(), LLSnapshotLivePreview::draw(), LLFloaterPostcard::draw(), LLFloaterImagePreview::draw(), LLFloaterAuction::draw(), LLColorSwatchCtrl::draw(), LLResizeHandle::draw(), LLIconCtrl::draw(), LLButton::draw(), LLViewerJointMesh::drawShape(), LLVOWLSky::drawStars(), LLViewerObject::dump(), LLViewerObjectList::findOrphans(), LLViewerObjectList::findReferences(), LLTextureCacheWorker::finishWork(), LLObservable::fireEvent(), LLNameListCtrl::fromXML(), LLTabContainer::fromXML(), LLScrollListCtrl::fromXML(), LLScrollableContainerView::fromXML(), LLRadioGroup::fromXML(), LLLayoutStack::fromXML(), LLMenuBarGL::fromXML(), LLMenuGL::fromXML(), LLFlyoutButton::fromXML(), LLComboBox::fromXML(), LLPreviewTexture::getAssetStatus(), LLViewerObject::getBinRadius(), LLViewerObject::getBoundingBoxAgent(), LLAgent::getCameraZoomFraction(), LLVOAvatar::getCharacterPosition(), LLTextureFetch::getFetchState(), LLFace::getGeometry(), LLFace::getGeometryAvatar(), LLFace::getGeometryVolume(), LLSelectMgr::getGrid(), LLInventoryModel::getItem(), LLFace::getLOD(), LLViewerObject::getNumIndices(), LLViewerObject::getNumVertices(), LLHUDEffectPointAt::getPointAtPosGlobal(), LLViewerObject::getPositionAgent(), LLAgent::getReferenceUpVector(), LLDrawable::getSpatialPartition(), LLSurface::getSTexture(), LLViewerObject::getVObjRadius(), LLSurface::getWaterTexture(), LLScrollListIcon::getWidth(), handle_dump_attachments(), LLPanelActiveSpeakers::handleSpeakerSelect(), handleWLSkyDetailChanged(), LLViewerObject::hideExtraDisplayItems(), LLVOAvatar::idleUpdate(), init_start_screen(), LLPanel::initChildrenXML(), LLPieMenu::initXML(), LLDrawable::isAvatar(), LLVOAvatar::isVisible(), LLDrawable::isVisible(), LLVolumeImplFlexible::LLVolumeImplFlexible(), LLLiveLSLEditor::loadAsset(), LLDrawable::makeActive(), LLDrawable::makeStatic(), LLViewerObject::markDead(), LLHUDEffectLookAt::markDead(), LLViewerObject::markForUpdate(), LLAgent::onAnimStop(), LLPanelActiveSpeakers::onDoubleClickSpeaker(), LLPreviewNotecard::onSaveComplete(), LLUIImageList::onUIImageLoaded(), LLKeyframeFallMotion::onUpdate(), LLDrawInfo::CompareBump::operator()(), LLDrawInfo::CompareTexturePtrMatrix::operator()(), LLDrawInfo::CompareTexturePtr::operator()(), LLViewerObjectList::orphanize(), LLVOVolume::parameterChanged(), LLMenuGL::parseChildXML(), LLFloaterImagePreview::postBuild(), LLInventoryModel::processBulkUpdateInventory(), LLViewerObject::processUpdateMessage(), LLInventoryModel::purgeDescendentsOf(), LLDrawPoolBump::pushBatch(), LLRenderPass::pushBatch(), LLVolumeGeometryManager::rebuildGeom(), LLPanelVolume::refresh(), LLPanelObject::refresh(), LLPanelActiveSpeakers::refreshSpeakers(), LLDynamicTexture::releaseGLTexture(), LLVOAvatar::releaseMeshData(), LLViewerObject::removeChild(), LLXMLNode::removeChild(), LLObservable::removeListener(), LLViewerJointAttachment::removeObject(), LLVisualParamHint::render(), LLTexLayerParamAlpha::render(), LLHUDEffectLookAt::render(), LLHUDEffectBeam::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), LLDrawPoolBump::renderGroup(), LLDrawPoolAlpha::renderGroupAlpha(), LLViewerObjectList::renderObjectsForSelect(), renderOctree(), LLVOAvatar::renderSkinned(), LLTextureFetchWorker::resetFormattedData(), LLVOAvatar::resetHUDAttachments(), LLSky::resetVertexBuffers(), LLAgent::resetView(), LLImageGL::restoreGL(), LLSelectNode::saveColors(), LLPreviewNotecard::saveItem(), LLSelectNode::saveTextures(), LLSelectNode::saveTextureScaleRatios(), LLVOVolume::sculpt(), LLSelectMgr::selectionMove(), LLSelectMgr::selectionResetRotation(), LLSelectMgr::selectionRotateAroundZ(), LLSDSerialize::serialize(), LLAgent::setCameraZoomFraction(), LLTextureCache::ReadResponder::setData(), LLObservable::setDispatcher(), LLAgent::setFlying(), LLAgent::setFocusGlobal(), LLViewerObject::setNumTEs(), LLSurface::setOriginGlobal(), LLXMLNode::setParent(), LLViewerObject::setScale(), LLNetMap::setScale(), LLVOVolume::setSelected(), LLShaderMgr::setShaders(), LLSpeakerMgr::setSpeaker(), LLSpeakerMgr::setSpeakerTyping(), LLSky::setSunDirection(), LLTabContainer::setTabImage(), LLViewerObject::setTEBumpmap(), LLViewerObject::setTEColor(), LLViewerObject::setTEFullbright(), LLViewerObject::setTEGlow(), LLViewerObject::setTEImage(), LLViewerObject::setTEMediaFlags(), LLViewerObject::setTEOffset(), LLViewerObject::setTEOffsetS(), LLViewerObject::setTEOffsetT(), LLViewerObject::setTERotation(), LLViewerObject::setTEScale(), LLViewerObject::setTEScaleS(), LLViewerObject::setTEScaleT(), LLViewerObject::setTETextureCore(), LLViewerJointAttachment::setupDrawable(), LLUICtrlFactory::setupPaths(), LLAgent::setupSitCamera(), LLWorldMapView::setVisible(), LLDrawable::setVisible(), LLVOVolume::setVolume(), LLPrimitive::setVolume(), LLViewerObjectList::shiftObjects(), LLVOAvatar::slamPosition(), LLSpeakerMgr::speakerChatted(), LLPipeline::stateSort(), LLViewerPartSourceScript::unpackPSS(), LLViewerPartSourceScript::update(), LLDrawable::updateBinRadius(), LLAgent::updateCamera(), LLVOAvatar::updateCharacter(), LLPipeline::updateCull(), LLVOGrass::updateDrawable(), LLVOClouds::updateDrawable(), LLStaticViewerObject::updateDrawable(), LLViewerObject::updateDrawable(), LLDrawable::updateFaceSize(), LLViewerImage::updateFetch(), LLAgent::updateFocusOffset(), LLViewerJointMesh::updateGeometry(), LLDrawable::updateGeometry(), LLVOAvatar::updateHeadOffset(), LLFloaterTexturePicker::updateImageStats(), LLVOAvatar::updateMeshData(), LLXMLNode::updateNode(), LLViewerPartGroup::updateParticles(), LLVOAvatar::updateShadowFaces(), LLSelectMgr::updateSilhouettes(), LLVOSky::updateSky(), LLDrawable::updateSpatialExtents(), LLIMSpeakerMgr::updateSpeakers(), LLVOVolume::updateTEData(), LLViewerObject::updateText(), LLVOVolume::updateTextures(), LLAgent::validateFocusObject(), LLOctreeDirty::visit(), LLDebugBeacon::~LLDebugBeacon(), LLHTTPPipe::~LLHTTPPipe(), and LLObservable::~LLObservable().
LLPointer< Type >::operator Type * | ( | ) | const [inline] |
LLPointer< Type >::operator const Type * | ( | ) | const [inline] |
bool LLPointer< Type >::operator!= | ( | Type * | ptr | ) | const [inline] |
Definition at line 159 of file llmemory.h.
bool LLPointer< Type >::operator== | ( | Type * | ptr | ) | const [inline] |
Definition at line 160 of file llmemory.h.
bool LLPointer< Type >::operator== | ( | const LLPointer< Type > & | ptr | ) | const [inline] |
Definition at line 161 of file llmemory.h.
bool LLPointer< Type >::operator< | ( | const LLPointer< Type > & | ptr | ) | const [inline] |
Definition at line 162 of file llmemory.h.
bool LLPointer< Type >::operator> | ( | const LLPointer< Type > & | ptr | ) | const [inline] |
Definition at line 163 of file llmemory.h.
Definition at line 165 of file llmemory.h.
LLPointer<Type>& LLPointer< Type >::operator= | ( | const LLPointer< Type > & | ptr | ) | [inline] |
Definition at line 177 of file llmemory.h.
LLPointer<Type>& LLPointer< Type >::operator= | ( | const LLPointer< Subclass > & | ptr | ) | [inline] |
Definition at line 190 of file llmemory.h.
static void LLPointer< Type >::swap | ( | LLPointer< Type > & | a, | |
LLPointer< Type > & | b | |||
) | [inline, static] |
Definition at line 202 of file llmemory.h.
Referenced by LLViewerPartGroup::updateParticles().
void LLPointer< Type >::ref | ( | ) | [inline, protected] |
Definition at line 210 of file llmemory.h.
Referenced by LLPointer< LLJointState >::LLPointer(), and LLPointer< LLJointState >::operator=().
void LLPointer< Type >::unref | ( | ) | [inline, protected] |
Definition at line 218 of file llmemory.h.
Referenced by LLPointer< LLJointState >::operator=(), LLPointer< LLJointState >::unref(), and LLPointer< LLJointState >::~LLPointer().
Definition at line 234 of file llmemory.h.
Referenced by LLPointer< LLJointState >::get(), LLPointer< LLJointState >::isNull(), LLPointer< LLJointState >::notNull(), LLPointer< LLJointState >::operator bool(), LLPointer< LLJointState >::operator BOOL(), LLPointer< Type >::operator const Type *(), LLPointer< Type >::operator Type *(), LLPointer< LLJointState >::operator!(), LLPointer< LLJointState >::operator!=(), LLPointer< LLJointState >::operator*(), LLPointer< LLJointState >::operator->(), LLPointer< LLJointState >::operator<(), LLPointer< LLJointState >::operator=(), LLPointer< LLJointState >::operator==(), LLPointer< LLJointState >::operator>(), LLPointer< LLJointState >::ref(), LLPointer< LLJointState >::swap(), and LLPointer< LLJointState >::unref().