OpenSceneGraph 2.8.3
|
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 () | |
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< T >::element_type |
osg::ref_ptr< T >::ref_ptr | ( | ) | [inline] |
osg::ref_ptr< T >::ref_ptr | ( | T * | ptr | ) | [inline] |
osg::ref_ptr< T >::ref_ptr | ( | const ref_ptr< T > & | rp | ) | [inline] |
osg::ref_ptr< T >::ref_ptr | ( | const ref_ptr< Other > & | rp | ) | [inline] |
osg::ref_ptr< T >::~ref_ptr | ( | ) | [inline] |
T* osg::ref_ptr< T >::get | ( | ) | const [inline] |
Referenced by osg::State::applyGlobalDefaultAttribute(), osg::const_pointer_cast(), osg::dynamic_pointer_cast(), osg::get_pointer(), osgParticle::Particle::getAlphaInterpolator(), osgParticle::Particle::getColorInterpolator(), osgParticle::ModularEmitter::getCounter(), osg::DrawElements::getElementBufferObject(), osg::State::getGlobalDefaultAttribute(), osg::State::getGlobalDefaultTextureAttribute(), osgUtil::DelaunayTriangulator::getInputPointArray(), osgAnimation::TemplateSampler< F >::getKeyframeContainer(), osgAnimation::TemplateSampler< F >::getKeyframeContainerTyped(), osg::CullStack::getModelViewMatrix(), osg::CullStack::getMVPW(), osgAnimation::TemplateSampler< F >::getOrCreateKeyframeContainer(), osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osgUtil::DelaunayTriangulator::getOutputNormalArray(), osgFX::BumpMapping::getOverrideDiffuseTexture(), osgFX::BumpMapping::getOverrideNormalMapTexture(), osgParticle::ParticleProcessor::getParticleSystem(), osgParticle::ModularEmitter::getPlacer(), osg::CullStack::getProjectionMatrix(), osgAnimation::TemplateChannel< SamplerType >::getSampler(), osgAnimation::TemplateChannel< SamplerType >::getSamplerTyped(), osgParticle::ModularEmitter::getShooter(), osgParticle::Particle::getSizeInterpolator(), osg::RenderInfo::getState(), osgAnimation::TemplateChannel< SamplerType >::getTarget(), osgAnimation::TemplateChannel< SamplerType >::getTargetTyped(), osgUtil::DelaunayConstraint::getTriangles(), osgUtil::DelaunayTriangulator::getTriangles(), osg::RenderInfo::getUserData(), osg::CullStack::getViewport(), osg::CullStack::getWindowMatrix(), osgDB::RegisterDotOsgWrapperProxy::RegisterDotOsgWrapperProxy(), osgUtil::RegisterRenderBinProxy::RegisterRenderBinProxy(), osgAnimation::TemplateChannel< SamplerType >::setTarget(), osg::static_pointer_cast(), osgAnimation::RigGeometry::UpdateVertex::update(), osgDB::RegisterDotOsgWrapperProxy::~RegisterDotOsgWrapperProxy(), and osgUtil::RegisterRenderBinProxy::~RegisterRenderBinProxy().
osg::ref_ptr< T >::operator unspecified_bool_type | ( | ) | const [inline] |
bool osg::ref_ptr< T >::operator! | ( | ) | const [inline] |
bool osg::ref_ptr< T >::operator!= | ( | const ref_ptr< T > & | rp | ) | const [inline] |
bool osg::ref_ptr< T >::operator!= | ( | const T * | ptr | ) | const [inline] |
T& osg::ref_ptr< T >::operator* | ( | ) | const [inline] |
T* osg::ref_ptr< T >::operator-> | ( | ) | const [inline] |
bool osg::ref_ptr< T >::operator< | ( | const ref_ptr< T > & | rp | ) | const [inline] |
ref_ptr& osg::ref_ptr< T >::operator= | ( | const ref_ptr< Other > & | rp | ) | [inline] |
ref_ptr& osg::ref_ptr< T >::operator= | ( | T * | ptr | ) | [inline] |
ref_ptr& osg::ref_ptr< T >::operator= | ( | const ref_ptr< T > & | rp | ) | [inline] |
bool osg::ref_ptr< T >::operator== | ( | const ref_ptr< T > & | rp | ) | const [inline] |
bool osg::ref_ptr< T >::operator== | ( | const T * | ptr | ) | const [inline] |
T* osg::ref_ptr< T >::release | ( | ) | [inline] |
void osg::ref_ptr< T >::swap | ( | ref_ptr< T > & | rp | ) | [inline] |
Referenced by osg::swap().
bool osg::ref_ptr< T >::valid | ( | ) | const [inline] |
Referenced by osg::State::applyAttribute(), osg::State::applyGlobalDefaultAttribute(), osgAnimation::TemplateChannel< SamplerType >::createKeyframeContainerFromTargetValue(), osg::DrawElements::dirty(), osg::Drawable::draw(), osg::RenderInfo::getContextID(), osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osgSim::BlinkSequence::localTime(), osg::ref_ptr< osg::Sphere >::operator unspecified_bool_type(), osg::DrawElements::releaseGLObjects(), osg::DrawElements::resizeGLObjectBuffers(), osg::DrawElements::setElementBufferObject(), osgAnimation::RigGeometry::UpdateVertex::update(), and osg::DrawElements::~DrawElements().
bool operator!= | ( | const T * | ptr, |
const ref_ptr< T > & | rp | ||
) | [friend] |
bool operator== | ( | const T * | ptr, |
const ref_ptr< T > & | rp | ||
) | [friend] |
friend class ref_ptr [friend] |
![]() | Generated at Tue Mar 22 2011 13:20:23 for the OpenSceneGraph by doxygen 1.7.3. |