9 #ifndef mrpt_synch_atomicincr_H
10 #define mrpt_synch_atomicincr_H
12 #include <mrpt/config.h>
29 #ifdef MRPT_OS_WINDOWS
This class acts exactly as an int (or long) variable, but with atomic increment and decrement operato...
CAtomicCounter(CAtomicCounter const &)
Forbidden method.
CAtomicCounter & operator=(CAtomicCounter const &)
Forbidden method.
void operator++()
Atomic increment of value.
atomic_num_t operator--()
Atomic decrement of value and return new value.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.