![]() |
RigsofRods
2023.09
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 |
Definition at line 39 of file RefCountingObject.h.
|
inlinestatic |
Definition at line 67 of file RefCountingObject.h.
|
inline |
Definition at line 48 of file RefCountingObject.h.
| int RefCountingObject< T >::m_refcount = 0 |
Definition at line 83 of file RefCountingObject.h.
| std::mutex RefCountingObject< T >::m_refcount_mtx |
Definition at line 84 of file RefCountingObject.h.
1.8.17