libqi-api
2.0.6.8
|
#include <atomic.hpp>
Public Member Functions | |
T | operator++ () |
T | operator-- () |
AtomicBase< T > & | operator= (T value) |
bool | setIfEquals (T testValue, T setValue) |
T | swap (T value) |
T | operator* () const |
BOOST_STATIC_ASSERT_MSG (sizeof(T)==sizeof(int),"qi::Atomic is only supprted for int-like types") | |
Public Attributes | |
volatile T | _value |
Definition at line 54 of file atomic.hpp.
qi::AtomicBase< T >::BOOST_STATIC_ASSERT_MSG | ( | sizeof(T) | = =sizeof(int) , |
"qi::Atomic is only supprted for int-like types" | |||
) |
T qi::AtomicBase< T >::operator* | ( | ) | const [inline] |
Definition at line 70 of file atomic.hpp.
T qi::AtomicBase< T >::operator++ | ( | ) | [inline] |
T qi::AtomicBase< T >::operator-- | ( | ) | [inline] |
AtomicBase<T>& qi::AtomicBase< T >::operator= | ( | T | value | ) | [inline] |
bool qi::AtomicBase< T >::setIfEquals | ( | T | testValue, |
T | setValue | ||
) | [inline] |
If value is testValue
, replace it with setValue
.
T qi::AtomicBase< T >::swap | ( | T | value | ) | [inline] |
volatile T qi::AtomicBase< T >::_value |
Definition at line 84 of file atomic.hpp.