#include <atomicCounter.h>
Public 型 | |
typedef IncrementLock < AtomicCounter > | IncLock |
Public メソッド | |
AtomicCounter (int count_=0) | |
void | inc () |
void | inc (int value) |
int | valueAndinc () |
void | dec () |
void | max (int val) |
int | value () const |
void | setValue (int value) |
Private 変数 | |
std::atomic< int > | count |
atomicCounter.h の 29 行で定義されています。
atomicCounter.h の 61 行で定義されています。
osl::misc::AtomicCounter::AtomicCounter | ( | int | count_ = 0 |
) | [inline, explicit] |
atomicCounter.h の 33 行で定義されています。
参照先 count.
void osl::misc::AtomicCounter::dec | ( | ) | [inline] |
atomicCounter.h の 45 行で定義されています。
参照先 count.
void osl::misc::AtomicCounter::inc | ( | ) | [inline] |
atomicCounter.h の 36 行で定義されています。
参照先 count.
void osl::misc::AtomicCounter::inc | ( | int | value | ) | [inline] |
atomicCounter.h の 39 行で定義されています。
参照先 count.
void osl::misc::AtomicCounter::max | ( | int | val | ) | [inline] |
atomicCounter.h の 48 行で定義されています。
参照先 count.
void osl::misc::AtomicCounter::setValue | ( | int | value | ) | [inline] |
atomicCounter.h の 58 行で定義されています。
参照先 count.
int osl::misc::AtomicCounter::value | ( | ) | const [inline] |
atomicCounter.h の 55 行で定義されています。
参照先 count.
int osl::misc::AtomicCounter::valueAndinc | ( | ) | [inline] |
atomicCounter.h の 42 行で定義されています。
参照先 count.
std::atomic<int> osl::misc::AtomicCounter::count [private] |
atomicCounter.h の 31 行で定義されています。
参照元 AtomicCounter(), dec(), inc(), max(), setValue(), value(), と valueAndinc().