|
IBR-DTNSuite 0.6
|
#include <AtomicCounter.h>

Classes | |
| class | Lock |
Public Member Functions | |
| AtomicCounter (int init=0) | |
| virtual | ~AtomicCounter () |
| int | value () |
| void | wait (int until=0) |
| void | unblockAll () |
| AtomicCounter & | operator++ () |
| AtomicCounter | operator++ (int) |
| AtomicCounter & | operator-- () |
| AtomicCounter | operator-- (int) |
Definition at line 15 of file AtomicCounter.h.
| ibrcommon::AtomicCounter::AtomicCounter | ( | int | init = 0 | ) |
Definition at line 13 of file AtomicCounter.cpp.
Referenced by operator++(), and operator--().
| ibrcommon::AtomicCounter::~AtomicCounter | ( | ) | [virtual] |
Definition at line 19 of file AtomicCounter.cpp.
References unblockAll().

| AtomicCounter & ibrcommon::AtomicCounter::operator++ | ( | ) |
Definition at line 46 of file AtomicCounter.cpp.
References ibrcommon::Conditional::signal().

| AtomicCounter ibrcommon::AtomicCounter::operator++ | ( | int | ) |
Definition at line 54 of file AtomicCounter.cpp.
References AtomicCounter(), and ibrcommon::Conditional::signal().

| AtomicCounter ibrcommon::AtomicCounter::operator-- | ( | int | ) |
Definition at line 70 of file AtomicCounter.cpp.
References AtomicCounter(), and ibrcommon::Conditional::signal().

| AtomicCounter & ibrcommon::AtomicCounter::operator-- | ( | ) |
Definition at line 62 of file AtomicCounter.cpp.
References ibrcommon::Conditional::signal().

| void ibrcommon::AtomicCounter::unblockAll | ( | ) |
Definition at line 30 of file AtomicCounter.cpp.
References ibrcommon::Conditional::signal().
Referenced by ~AtomicCounter().

| int ibrcommon::AtomicCounter::value | ( | ) |
Definition at line 24 of file AtomicCounter.cpp.
| void ibrcommon::AtomicCounter::wait | ( | int | until = 0 | ) |
Definition at line 37 of file AtomicCounter.cpp.
References ibrcommon::Conditional::wait().
