OpenSceneGraph  3.5.1
Classes | Namespaces | Macros | Functions
ref_ptr File Reference
#include <osg/Config>

Classes

class  osg::observer_ptr< T >
 Smart pointer for observed objects, that automatically set pointers to them to null when they are deleted. More...
 
class  osg::ref_ptr< T >
 Smart pointer for handling referenced counted objects. More...
 

Namespaces

 osg
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
 

Macros

#define OSG_REF_PTR   1
 

Functions

template<class T >
void osg::swap (ref_ptr< T > &rp1, ref_ptr< T > &rp2)
 
template<class T >
T * osg::get_pointer (const ref_ptr< T > &rp)
 
template<class T , class Y >
ref_ptr< T > osg::static_pointer_cast (const ref_ptr< Y > &rp)
 
template<class T , class Y >
ref_ptr< T > osg::dynamic_pointer_cast (const ref_ptr< Y > &rp)
 
template<class T , class Y >
ref_ptr< T > osg::const_pointer_cast (const ref_ptr< Y > &rp)
 

Macro Definition Documentation

#define OSG_REF_PTR   1

osg logo
Generated at Wed Nov 11 2015 22:14:22 for the OpenSceneGraph by doxygen 1.8.10.