#include <atomic_counter.h>
Definition at line 31 of file atomic_counter.h.
◆ atomic_counter() [1/2]
Prevent copying and assignment
◆ atomic_counter() [2/2]
PBD::atomic_counter::atomic_counter |
( |
gint |
value = 0 | ) |
|
|
inline |
◆ cas()
bool PBD::atomic_counter::cas |
( |
gint |
old_value, |
|
|
gint |
new_value |
|
) |
| |
|
inline |
◆ compare_and_exchange()
bool PBD::atomic_counter::compare_and_exchange |
( |
gint |
old_value, |
|
|
gint |
new_value |
|
) |
| |
|
inline |
◆ decrement_and_test()
bool PBD::atomic_counter::decrement_and_test |
( |
| ) |
|
|
inline |
◆ get()
gint PBD::atomic_counter::get |
( |
| ) |
const |
|
inline |
◆ increment()
void PBD::atomic_counter::increment |
( |
| ) |
|
|
inline |
◆ operator++()
void PBD::atomic_counter::operator++ |
( |
| ) |
|
|
inline |
◆ operator--()
bool PBD::atomic_counter::operator-- |
( |
| ) |
|
|
inline |
◆ operator=()
◆ set()
void PBD::atomic_counter::set |
( |
gint |
new_value | ) |
|
|
inline |
◆ m_value
std::atomic<int> PBD::atomic_counter::m_value |
|
mutableprivate |
The documentation for this class was generated from the following file: