Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

IntegerCounter Class Reference

#include <IntegerCounter.h>

List of all members.


Detailed Description

An int, protected by a mutex.

You're supposed to hold the mutex whenever you access the int.


Public Member Functions

 IntegerCounter () throw (std::exception)
virtual ~IntegerCounter ()
bool incrementWithTest (int maxValue) throw (std::exception)
void decrement () throw (std::exception)
int getValue () throw (std::exception)


Constructor & Destructor Documentation

IntegerCounter::IntegerCounter  )  throw (std::exception)
 

IntegerCounter::~IntegerCounter  )  [virtual]
 


Member Function Documentation

void IntegerCounter::decrement  )  throw (std::exception)
 

int IntegerCounter::getValue  )  throw (std::exception)
 

bool IntegerCounter::incrementWithTest int  maxValue  )  throw (std::exception)
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8