Monado OpenXR Runtime
|
A base class for reference counted objects. More...
#include <xrt/xrt_defines.h>
Static Public Member Functions | |
static void | xrt_reference_inc (struct xrt_reference *xref) |
Increment the reference, probably want xrt_reference_inc_and_was_zero. More... | |
static void | xrt_reference_dec (struct xrt_reference *xref) |
Decrement the reference, probably want xrt_reference_dec_and_is_zero. More... | |
static XRT_CHECK_RESULT bool | xrt_reference_inc_and_was_zero (struct xrt_reference *xref) |
Increment the reference and return true if the value was zero. More... | |
static XRT_CHECK_RESULT bool | xrt_reference_dec_and_is_zero (struct xrt_reference *xref) |
Decrement the reference and return true if the value is now zero. More... | |
Data Fields | |
xrt_atomic_s32_t | count |
A base class for reference counted objects.