|
GL Studio C++ Runtime API
|
#include <gls_resource_file_mgr.h>
Public Member Functions | |
| AutoRelease (T *obj) | |
| AutoRelease (const AutoRelease &other) | |
| T * | get () |
Protected Attributes | |
| T * | _ptr |
| Pointer to an object with a refernce counting interface. | |
Automatically release a resource when no more AutoRelease instances reference it.
|
inline |
Constructor
| obj | The object to wrap. |
|
inline |
Copy constructor
| other | The object to copy. |
|
inline |