SHOGUN
6.0.0
|
brief This class implements a thread-safe counter used for reference counting.
Definition at line 13 of file RefCount.h.
Public Member Functions | |
RefCount (int32_t ref_start=0) | |
SG_FORCED_INLINE int32_t | ref () |
SG_FORCED_INLINE int32_t | unref () |
SG_FORCED_INLINE int32_t | ref_count () |
RefCount | ( | int32_t | ref_start = 0 | ) |
Constructor
ref_start | starting value for counter |
Definition at line 20 of file RefCount.h.
SG_FORCED_INLINE int32_t ref | ( | ) |
SG_FORCED_INLINE int32_t ref_count | ( | ) |
SG_FORCED_INLINE int32_t unref | ( | ) |