OpenSceneGraph
3.2.0
|
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 | |
template<class Other > | |
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osgUtil::CullVisitor::addDrawable(), osgUtil::CullVisitor::addDrawableAndDepth(), osg::clone(), osg::cloneType(), osg::const_pointer_cast(), osg::dynamic_pointer_cast(), osg::get_pointer(), osg::CullStack::getModelViewMatrix(), osg::CullStack::getMVPW(), osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osgFX::BumpMapping::getOverrideDiffuseTexture(), osgFX::BumpMapping::getOverrideNormalMapTexture(), osg::CullStack::getProjectionMatrix(), osgAnimation::TemplateChannel< SamplerType >::getSampler(), osgAnimation::TemplateChannel< SamplerType >::getSamplerTyped(), osg::CullStack::getViewport(), osg::CullStack::getWindowMatrix(), osg::observer_ptr< osgWidget::Widget >::observer_ptr(), osg::observer_ptr< osgWidget::Widget >::operator=(), and osg::static_pointer_cast().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by osg::clone(), osg::cloneType(), and osgDB::readFile().
|
inline |
Referenced by osg::swap().
|
inline |
Referenced by osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osg::observer_ptr< osgWidget::Widget >::lock(), osg::observer_ptr< osgWidget::Widget >::observer_ptr(), osg::ref_ptr< osgDB::FileCache >::operator unspecified_bool_type(), and osg::observer_ptr< osgWidget::Widget >::operator=().
|
friend |
![]() | Generated at Wed Aug 14 2013 12:59:30 for the OpenSceneGraph by doxygen 1.8.4. |