#include <ml_atomic_guard.h>
Public Member Functions | |
MLAtomicGuard (bool val) | |
bool | operator!= (bool v) const |
MLAtomicGuard & | operator= (bool v) |
bool | operator== (bool v) const |
~MLAtomicGuard () | |
Private Attributes | |
bool | _guard |
QReadWriteLock | _lock |
Definition at line 4 of file ml_atomic_guard.h.
MLAtomicGuard::MLAtomicGuard | ( | bool | val | ) | [inline] |
Definition at line 7 of file ml_atomic_guard.h.
MLAtomicGuard::~MLAtomicGuard | ( | ) | [inline] |
Definition at line 10 of file ml_atomic_guard.h.
bool MLAtomicGuard::operator!= | ( | bool | v | ) | const [inline] |
Definition at line 25 of file ml_atomic_guard.h.
MLAtomicGuard& MLAtomicGuard::operator= | ( | bool | v | ) | [inline] |
Definition at line 12 of file ml_atomic_guard.h.
bool MLAtomicGuard::operator== | ( | bool | v | ) | const [inline] |
Definition at line 19 of file ml_atomic_guard.h.
bool MLAtomicGuard::_guard [private] |
Definition at line 32 of file ml_atomic_guard.h.
QReadWriteLock MLAtomicGuard::_lock [mutable, private] |
Definition at line 33 of file ml_atomic_guard.h.