Internal tool for reference counting.
Public Functions
-
AtomicCounter
()
-
int
value
()
-
std::shared_ptr<AtomicCounter::Increment>
increment
()
-
int
doIncValue
()
-
int
doDecValue
()
Private Members
-
int
_value
= 0
-
QMutex
_mutex
-
class
Increment
-
Friends
-
friend class AtomicCounter