IBR-DTNSuite  0.8
ibrcommon::AtomicCounter Class Reference

#include <AtomicCounter.h>

List of all members.

Classes

class  Lock

Public Member Functions

 AtomicCounter (int init=0)
virtual ~AtomicCounter ()
int value ()
void wait (int until=0)
void unblockAll ()
AtomicCounteroperator++ ()
AtomicCounter operator++ (int)
AtomicCounteroperator-- ()
AtomicCounter operator-- (int)

Detailed Description

Definition at line 15 of file AtomicCounter.h.


Constructor & Destructor Documentation

Definition at line 13 of file AtomicCounter.cpp.

Referenced by operator++(), and operator--().

Definition at line 19 of file AtomicCounter.cpp.

References unblockAll().

Here is the call graph for this function:


Member Function Documentation

AtomicCounter & ibrcommon::AtomicCounter::operator++ ( )

Definition at line 46 of file AtomicCounter.cpp.

References ibrcommon::Conditional::signal().

Here is the call graph for this function:

AtomicCounter ibrcommon::AtomicCounter::operator++ ( int  )

Definition at line 54 of file AtomicCounter.cpp.

References AtomicCounter(), and ibrcommon::Conditional::signal().

Here is the call graph for this function:

AtomicCounter & ibrcommon::AtomicCounter::operator-- ( )

Definition at line 62 of file AtomicCounter.cpp.

References ibrcommon::Conditional::signal().

Here is the call graph for this function:

AtomicCounter ibrcommon::AtomicCounter::operator-- ( int  )

Definition at line 70 of file AtomicCounter.cpp.

References AtomicCounter(), and ibrcommon::Conditional::signal().

Here is the call graph for this function:

Definition at line 30 of file AtomicCounter.cpp.

References ibrcommon::Conditional::signal().

Referenced by ~AtomicCounter().

Here is the call graph for this function:

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().

Here is the call graph for this function:


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