SCENE C++ API  2.0.22
Public Member Functions | List of all members
ref_ptr< T > Class Template Reference

Provides a lifetime managing pointer for all LSRefType derived classes. More...

#include <ref_ptr.h>

Public Member Functions

void swap (ref_ptr< T > &other)
 Swap the pointers.
 

Detailed Description

template<class T>
class SCENE_API::ref_ptr< T >

Provides a lifetime managing pointer for all LSRefType derived classes.

Instances managed by ref_ptrs are kept alive as long as a ref_ptr exists to the object instance and are automatically destroyed once the last ref_pointer pointing to the instance is destroyed.

Version
SCENE API Version 2.0.0.