DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
AtomicInteger (void) | |
AtomicInteger (long val) | |
AtomicInteger (const AtomicInteger &other) | |
AtomicInteger & | operator= (long val) |
AtomicInteger & | operator= (const AtomicInteger &other) |
long | value (void) |
long | increment (void) |
long | decrement (void) |
bool | incrementAndCompare (long val=0) |
bool | decrementAndCompare (long val=0) |
long | swap (long val) |
bool | compareAndSwap (long expected, long val) |
|
inline |
Initialize the internal value with 0.
|
inline |
Initialize the internal value of the object.
val | initialization value. |
|
inline |
References value().
|
inline |
Exchange the internal value with a new one if it matches an expected value.
expected | expected value. |
val | exchange value. |
|
inline |
Decrement the internal value by 1.
Referenced by decrementAndCompare().
|
inline |
Decrement the internal value by 1 and compare with a value.
val | comparison value. |
References decrement().
|
inline |
Increment the internal value by 1.
Referenced by incrementAndCompare().
|
inline |
Increment the internal value by 1 and compare with a value.
val | comparison value. |
References increment().
|
inline |
|
inline |
References value().
|
inline |
Exchange the internal value with a new one.
val | exchange value. |
|
inline |