|
Orocos Real-Time Toolkit
2.5.0
|
C++ abstraction of atomic integer operations. More...
#include <rtt/os/Atomic.hpp>
Public Member Functions | |
| AtomicInt (int value=0) | |
| AtomicInt (const AtomicInt &orig) | |
| const AtomicInt & | operator= (const AtomicInt &orig) |
| int | read () |
| Read the current value of the integer. | |
| void | set (int i) |
| Set the integer to a new value. | |
| void | add (int i) |
| void | sub (int i) |
| bool | sub_and_test (int i) |
| void | inc () |
| void | dec () |
| bool | dec_and_test () |
| bool | inc_and_test () |
C++ abstraction of atomic integer operations.
Definition at line 49 of file Atomic.hpp.
1.7.6.1