|
| Atomic () |
| Initialize <m_value> to 0. More...
|
|
| Atomic (T c) |
| Initialize <m_value> to c. More...
|
|
| Atomic (const Atomic &_c) |
| Manage copying... More...
|
|
void | operator= (T rhs) |
| Atomically assign rhs to <m_value>. More...
|
|
void | operator= (const Atomic &rhs) |
| Atomically assign <rhs> to <m_value>. More...
|
|
| operator T () |
| Implicitly return <m_value>. More...
|
|
T | value (void) const |
| Explicitly return <m_value>. More...
|
|
T | get (void) const |
| Explicitly return <m_value>. More...
|
|
T | operator! () |
| Atomically negate <m_value>. More...
|
|
T | operator++ (void) |
| Atomically pre-increment <m_value>. More...
|
|
T | operator++ (int) |
| Atomically post-increment <m_value>. More...
|
|
T | operator+= (T rhs) |
| Atomically increment <m_value> by rhs. More...
|
|
T | operator-- (void) |
| Atomically pre-decrement <m_value>. More...
|
|
T | operator-- (int) |
| Atomically post-decrement <m_value>. More...
|
|
T | operator-= (T rhs) |
| Atomically decrement <m_value> by rhs. More...
|
|
int | operator== (T rhs) const |
| Atomically compare <m_value> with rhs. More...
|
|
int | operator!= (T rhs) const |
| Atomically compare <m_value> with rhs. More...
|
|
int | operator>= (T rhs) const |
| Atomically check if <m_value> greater than or equal to rhs. More...
|
|
int | operator> (T rhs) const |
| Atomically check if <m_value> greater than rhs. More...
|
|
int | operator<= (T rhs) const |
| Atomically check if <m_value> less than or equal to rhs. More...
|
|
int | operator< (T rhs) const |
| Atomically check if <m_value> less than rhs. More...
|
|
template<typename TypeMemFn > |
void | change (TypeMemFn _memfun) |
|
template<typename TypeMemFn , typename TypeVal1 > |
void | change (TypeMemFn _memfun, const TypeVal1 &_val1) |
|
template<typename TypeMemFn , typename TypeVal1 , typename TypeVal2 > |
void | change (TypeMemFn _memfun, const TypeVal1 &_val1, const TypeVal2 _val2) |
|
| Atomic () |
| Initialize <m_value> to 0. More...
|
|
| Atomic (T c) |
| Initialize <m_value> to c. More...
|
|
| Atomic (const Atomic &_c) |
| Manage copying... More...
|
|
void | operator= (T rhs) |
| Atomically assign rhs to <m_value>. More...
|
|
void | operator= (const Atomic &rhs) |
| Atomically assign <rhs> to <m_value>. More...
|
|
| operator T () |
| Implicitly return <m_value>. More...
|
|
T | value (void) const |
| Explicitly return <m_value>. More...
|
|
T | get (void) const |
| Explicitly return <m_value>. More...
|
|
T | operator! () |
| Atomically negate <m_value>. More...
|
|
T | operator++ (void) |
| Atomically pre-increment <m_value>. More...
|
|
T | operator++ (int) |
| Atomically post-increment <m_value>. More...
|
|
T | operator+= (T rhs) |
| Atomically increment <m_value> by rhs. More...
|
|
T | operator-- (void) |
| Atomically pre-decrement <m_value>. More...
|
|
T | operator-- (int) |
| Atomically post-decrement <m_value>. More...
|
|
T | operator-= (T rhs) |
| Atomically decrement <m_value> by rhs. More...
|
|
int | operator== (T rhs) const |
| Atomically compare <m_value> with rhs. More...
|
|
int | operator!= (T rhs) const |
| Atomically compare <m_value> with rhs. More...
|
|
int | operator>= (T rhs) const |
| Atomically check if <m_value> greater than or equal to rhs. More...
|
|
int | operator> (T rhs) const |
| Atomically check if <m_value> greater than rhs. More...
|
|
int | operator<= (T rhs) const |
| Atomically check if <m_value> less than or equal to rhs. More...
|
|
int | operator< (T rhs) const |
| Atomically check if <m_value> less than rhs. More...
|
|
template<typename TypeMemFn > |
void | change (TypeMemFn _memfun) |
|
template<typename TypeMemFn , typename TypeVal1 > |
void | change (TypeMemFn _memfun, const TypeVal1 &_val1) |
|
template<typename TypeMemFn , typename TypeVal1 , typename TypeVal2 > |
void | change (TypeMemFn _memfun, const TypeVal1 &_val1, const TypeVal2 _val2) |
|
template<class T>
class Nice::Atomic< T >
Class to make a integer type variable or a class thread save.
- Author
- Florian Briegel
- Version
- 11.02.04
- Date
- 2012-08-10 11:04:58 AM