RTT::os::AtomicInt Class Reference

#include <Atomic.hpp>

List of all members.

Public Member Functions

void add (int i)
void add (int i)
 AtomicInt (const AtomicInt &orig)
 AtomicInt (int value=0)
 AtomicInt (const AtomicInt &orig)
 AtomicInt (int value=0)
void dec ()
void dec ()
bool dec_and_test ()
bool dec_and_test ()
void inc ()
void inc ()
bool inc_and_test ()
bool inc_and_test ()
const AtomicIntoperator= (const AtomicInt &orig)
const AtomicIntoperator= (const AtomicInt &orig)
int read ()
int read ()
void set (int i)
void set (int i)
void sub (int i)
void sub (int i)
bool sub_and_test (int i)
bool sub_and_test (int i)
 ~AtomicInt ()
 ~AtomicInt ()

Private Attributes

oro_atomic_t _val

Detailed Description

C++ abstraction of atomic integer operations.

Definition at line 49 of file install/include/rtt/os/Atomic.hpp.


Constructor & Destructor Documentation

RTT::os::AtomicInt::AtomicInt ( int  value = 0  )  [inline]

Definition at line 53 of file install/include/rtt/os/Atomic.hpp.

RTT::os::AtomicInt::AtomicInt ( const AtomicInt orig  )  [inline]

Definition at line 58 of file install/include/rtt/os/Atomic.hpp.

RTT::os::AtomicInt::~AtomicInt (  )  [inline]

Definition at line 63 of file install/include/rtt/os/Atomic.hpp.

RTT::os::AtomicInt::AtomicInt ( int  value = 0  )  [inline]

Definition at line 53 of file rtt/os/Atomic.hpp.

RTT::os::AtomicInt::AtomicInt ( const AtomicInt orig  )  [inline]

Definition at line 58 of file rtt/os/Atomic.hpp.

RTT::os::AtomicInt::~AtomicInt (  )  [inline]

Definition at line 63 of file rtt/os/Atomic.hpp.


Member Function Documentation

void RTT::os::AtomicInt::add ( int  i  )  [inline]

Definition at line 84 of file rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::add ( int  i  )  [inline]

Definition at line 84 of file install/include/rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::dec (  )  [inline]

Definition at line 92 of file rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::dec (  )  [inline]

Definition at line 92 of file install/include/rtt/os/Atomic.hpp.

bool RTT::os::AtomicInt::dec_and_test (  )  [inline]

Definition at line 94 of file rtt/os/Atomic.hpp.

bool RTT::os::AtomicInt::dec_and_test (  )  [inline]

Definition at line 94 of file install/include/rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::inc (  )  [inline]

Definition at line 90 of file rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::inc (  )  [inline]

Definition at line 90 of file install/include/rtt/os/Atomic.hpp.

bool RTT::os::AtomicInt::inc_and_test (  )  [inline]

Definition at line 96 of file rtt/os/Atomic.hpp.

bool RTT::os::AtomicInt::inc_and_test (  )  [inline]

Definition at line 96 of file install/include/rtt/os/Atomic.hpp.

const AtomicInt& RTT::os::AtomicInt::operator= ( const AtomicInt orig  )  [inline]

Definition at line 68 of file rtt/os/Atomic.hpp.

const AtomicInt& RTT::os::AtomicInt::operator= ( const AtomicInt orig  )  [inline]

Definition at line 68 of file install/include/rtt/os/Atomic.hpp.

int RTT::os::AtomicInt::read (  )  [inline]

Read the current value of the integer.

Definition at line 77 of file rtt/os/Atomic.hpp.

int RTT::os::AtomicInt::read (  )  [inline]

Read the current value of the integer.

Definition at line 77 of file install/include/rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::set ( int  i  )  [inline]

Set the integer to a new value.

Definition at line 82 of file rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::set ( int  i  )  [inline]

Set the integer to a new value.

Definition at line 82 of file install/include/rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::sub ( int  i  )  [inline]

Definition at line 86 of file rtt/os/Atomic.hpp.

void RTT::os::AtomicInt::sub ( int  i  )  [inline]

Definition at line 86 of file install/include/rtt/os/Atomic.hpp.

bool RTT::os::AtomicInt::sub_and_test ( int  i  )  [inline]

Definition at line 88 of file rtt/os/Atomic.hpp.

bool RTT::os::AtomicInt::sub_and_test ( int  i  )  [inline]

Definition at line 88 of file install/include/rtt/os/Atomic.hpp.


Member Data Documentation

Definition at line 51 of file install/include/rtt/os/Atomic.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:09 2013