OpenSceneGraph
3.0.1
|
Smart pointer for handling referenced counted objects. More...
Public Types | |
typedef T | element_type |
Public Member Functions | |
ref_ptr () | |
ref_ptr (T *ptr) | |
ref_ptr (const ref_ptr &rp) | |
template<class Other > | |
ref_ptr (const ref_ptr< Other > &rp) | |
ref_ptr (observer_ptr< T > &optr) | |
~ref_ptr () | |
ref_ptr & | operator= (const ref_ptr &rp) |
template<class Other > | |
ref_ptr & | operator= (const ref_ptr< Other > &rp) |
ref_ptr & | operator= (T *ptr) |
bool | operator== (const ref_ptr &rp) const |
bool | operator== (const T *ptr) const |
bool | operator!= (const ref_ptr &rp) const |
bool | operator!= (const T *ptr) const |
bool | operator< (const ref_ptr &rp) const |
operator unspecified_bool_type () const | |
T & | operator* () const |
T * | operator-> () const |
T * | get () const |
bool | operator! () const |
bool | valid () const |
T * | release () |
void | swap (ref_ptr &rp) |
Friends | |
class | ref_ptr |
bool | operator== (const T *ptr, const ref_ptr &rp) |
bool | operator!= (const T *ptr, const ref_ptr &rp) |
Smart pointer for handling referenced counted objects.
typedef T osg::ref_ptr::element_type |
osg::ref_ptr::ref_ptr | ( | ) | [inline] |
osg::ref_ptr::ref_ptr | ( | T * | ptr | ) | [inline] |
osg::ref_ptr::ref_ptr | ( | const ref_ptr & | rp | ) | [inline] |
osg::ref_ptr::ref_ptr | ( | const ref_ptr< Other > & | rp | ) | [inline] |
osg::ref_ptr::ref_ptr | ( | observer_ptr< T > & | optr | ) | [inline] |
osg::ref_ptr::~ref_ptr | ( | ) | [inline] |
T* osg::ref_ptr::get | ( | ) | const [inline] |
Referenced by osg::Camera::getImplicitBufferAttachmentRenderMask(), osg::Camera::getImplicitBufferAttachmentResolveMask(), osg::CullStack::getModelViewMatrix(), osg::CullStack::getProjectionMatrix(), osg::CullStack::getMVPW(), osg::clone(), osg::cloneType(), osg::observer_ptr< Skeleton >::observer_ptr(), osg::observer_ptr< Skeleton >::operator=(), osg::DrawElements::getElementBufferObject(), osg::get_pointer(), osg::RenderInfo::getState(), osg::RenderInfo::getUserData(), osg::State::getGlobalDefaultAttribute(), osg::State::getGlobalDefaultTextureAttribute(), osg::State::applyGlobalDefaultAttribute(), osg::State::applyGlobalDefaultAttributeOnTexUnit(), osgAnimation::TemplateChannel::getTarget(), osgAnimation::TemplateChannel::setTarget(), osgAnimation::TemplateChannel::getOrCreateSampler(), osgAnimation::TemplateChannel::getSampler(), osgAnimation::TemplateChannel::getSamplerTyped(), osgAnimation::TemplateChannel::getTargetTyped(), osgAnimation::RigGeometry::UpdateVertex::update(), osgAnimation::TemplateSampler::getKeyframeContainer(), osgAnimation::TemplateSampler::getKeyframeContainerTyped(), osgAnimation::TemplateSampler::getOrCreateKeyframeContainer(), osgDB::RegisterReaderWriterProxy::RegisterReaderWriterProxy(), osgDB::RegisterReaderWriterProxy::~RegisterReaderWriterProxy(), osgDB::RegisterReaderWriterProxy::get(), osgDB::RegisterImageProcessorProxy::RegisterImageProcessorProxy(), osgDB::RegisterImageProcessorProxy::~RegisterImageProcessorProxy(), osgDB::RegisterImageProcessorProxy::get(), osgFX::BumpMapping::getOverrideDiffuseTexture(), osgFX::BumpMapping::getOverrideNormalMapTexture(), osgParticle::ModularEmitter::getCounter(), osgParticle::ModularEmitter::getPlacer(), osgParticle::ModularEmitter::getShooter(), osgParticle::Particle::getSizeInterpolator(), osgParticle::Particle::getAlphaInterpolator(), osgParticle::Particle::getColorInterpolator(), and osgParticle::ParticleProcessor::getParticleSystem().
osg::ref_ptr::operator unspecified_bool_type | ( | ) | const [inline] |
bool osg::ref_ptr::operator! | ( | ) | const [inline] |
bool osg::ref_ptr::operator!= | ( | const ref_ptr & | rp | ) | const [inline] |
bool osg::ref_ptr::operator!= | ( | const T * | ptr | ) | const [inline] |
T& osg::ref_ptr::operator* | ( | ) | const [inline] |
T* osg::ref_ptr::operator-> | ( | ) | const [inline] |
bool osg::ref_ptr::operator< | ( | const ref_ptr & | rp | ) | const [inline] |
ref_ptr& osg::ref_ptr::operator= | ( | T * | ptr | ) | [inline] |
bool osg::ref_ptr::operator== | ( | const ref_ptr & | rp | ) | const [inline] |
bool osg::ref_ptr::operator== | ( | const T * | ptr | ) | const [inline] |
T* osg::ref_ptr::release | ( | ) | [inline] |
Referenced by osg::clone(), and osg::cloneType().
void osg::ref_ptr::swap | ( | ref_ptr & | rp | ) | [inline] |
Referenced by osg::swap().
bool osg::ref_ptr::valid | ( | ) | const [inline] |
Referenced by osg::Drawable::draw(), osg::observer_ptr< Skeleton >::observer_ptr(), osg::observer_ptr< Skeleton >::operator=(), osg::observer_ptr< Skeleton >::lock(), osg::observer_ptr< Skeleton >::get(), osg::ref_ptr< osg::Sphere >::operator unspecified_bool_type(), osg::RenderInfo::getContextID(), osg::State::applyAttribute(), osg::State::applyAttributeOnTexUnit(), osg::State::applyGlobalDefaultAttribute(), osg::State::applyGlobalDefaultAttributeOnTexUnit(), osgAnimation::TemplateChannel::createKeyframeContainerFromTargetValue(), osgAnimation::TemplateChannel::getOrCreateSampler(), osgAnimation::RigGeometry::UpdateVertex::update(), and osgSim::BlinkSequence::localTime().
bool operator!= | ( | const T * | ptr, |
const ref_ptr & | rp | ||
) | [friend] |
bool operator== | ( | const T * | ptr, |
const ref_ptr & | rp | ||
) | [friend] |
friend class ref_ptr [friend] |
![]() | Generated at Mon Oct 3 2011 12:39:43 for the OpenSceneGraph by doxygen 1.7.5. |