FastUIDraw
|
Reference counter that is NOT thread safe. More...
#include <reference_count_non_concurrent.hpp>
Public Member Functions | |
reference_count_non_concurrent (void) | |
void | add_reference (void) |
bool | remove_reference (void) |
Reference counter that is NOT thread safe.
Definition at line 35 of file reference_count_non_concurrent.hpp.
|
inline |
Initializes the counter as zero.
Definition at line 41 of file reference_count_non_concurrent.hpp.
|
inline |
Increment reference counter by 1.
Definition at line 54 of file reference_count_non_concurrent.hpp.
|
inline |
Decrements the counter by 1 and returns status of if the counter is 0 after the decrement operation.
Definition at line 64 of file reference_count_non_concurrent.hpp.