A simple reference counter that is not thread-safe. More...
A simple reference counter that is not thread-safe.
Note: in Debug mode, it checks that it is either called on the main thread, or always called on another thread.
Constructor and Destructor Details
In debug mode, this checks that the object is being created on the main thread.
AddRef() increments the reference counter.
- An int32_t with the incremented reference counter.
Release() decrements the reference counter.
- An int32_t with the decremeneted reference counter.
The documentation for this class was generated from the following file: