RigsofRods
Soft-body Physics Simulation
|
Self reference-counting objects, as requred by AngelScript garbage collector. More...
#include <RefCountingObject.h>
Public Member Functions | |
RefCountingObject () | |
virtual | ~RefCountingObject () |
void | AddRef () |
void | Release () |
Static Public Member Functions | |
static void | RegisterRefCountingObject (AS_NAMESPACE_QUALIFIER asIScriptEngine *engine, const char *name) |
Data Fields | |
int | m_refcount = 0 |
std::mutex | m_refcount_mtx |
Self reference-counting objects, as requred by AngelScript garbage collector.
Definition at line 26 of file RefCountingObject.h.
|
inline |
Definition at line 29 of file RefCountingObject.h.
|
inlinevirtual |
Definition at line 34 of file RefCountingObject.h.
|
inline |
|
inlinestatic |
Definition at line 65 of file RefCountingObject.h.
|
inline |
int RefCountingObject< T >::m_refcount = 0 |
Definition at line 81 of file RefCountingObject.h.
std::mutex RefCountingObject< T >::m_refcount_mtx |
Definition at line 82 of file RefCountingObject.h.