Orocos Real-Time Toolkit  2.6.0
Public Member Functions
RTT::os::AtomicInt Class Reference

C++ abstraction of atomic integer operations. More...

#include <rtt/os/Atomic.hpp>

List of all members.

Public Member Functions

 AtomicInt (int value=0)
 AtomicInt (const AtomicInt &orig)
const AtomicIntoperator= (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 ()

Detailed Description

C++ abstraction of atomic integer operations.

Definition at line 49 of file Atomic.hpp.


The documentation for this class was generated from the following file: