Arageli::CCounter Class Reference

#include <counter.hpp>

List of all members.

Public Member Functions

void add (counter_t a)
counter_t getMax ()
counter_t getMin ()
counter_t getSum ()
counter_t getAverage ()
std::string getName ()
void reset ()
void suspend ()
void resume ()
CCounteroperator+= (counter_t a)
CCounteroperator++ ()
 CCounter ()
 CCounter (std::string _name)
 CCounter (const CCounter &c)

Protected Attributes

std::string name
counter_t max
counter_t min
counter_t sum
counter_t counter
bool suspended


Detailed Description

Definition at line 21 of file counter.hpp.


Constructor & Destructor Documentation

Arageli::CCounter::CCounter (  )  [inline]

Definition at line 58 of file counter.hpp.

Arageli::CCounter::CCounter ( std::string  _name  )  [inline]

Definition at line 66 of file counter.hpp.

Arageli::CCounter::CCounter ( const CCounter c  )  [inline]

Definition at line 75 of file counter.hpp.


Member Function Documentation

void Arageli::CCounter::add ( counter_t  a  )  [inline]

Definition at line 24 of file counter.hpp.

counter_t Arageli::CCounter::getAverage (  )  [inline]

Definition at line 36 of file counter.hpp.

counter_t Arageli::CCounter::getMax (  )  [inline]

Definition at line 33 of file counter.hpp.

counter_t Arageli::CCounter::getMin (  )  [inline]

Definition at line 34 of file counter.hpp.

std::string Arageli::CCounter::getName (  )  [inline]

Definition at line 37 of file counter.hpp.

counter_t Arageli::CCounter::getSum (  )  [inline]

Definition at line 35 of file counter.hpp.

CCounter& Arageli::CCounter::operator++ (  )  [inline]

Definition at line 53 of file counter.hpp.

CCounter& Arageli::CCounter::operator+= ( counter_t  a  )  [inline]

Definition at line 48 of file counter.hpp.

void Arageli::CCounter::reset (  )  [inline]

Definition at line 38 of file counter.hpp.

void Arageli::CCounter::resume (  )  [inline]

Definition at line 46 of file counter.hpp.

void Arageli::CCounter::suspend (  )  [inline]

Definition at line 45 of file counter.hpp.


Member Data Documentation

counter_t Arageli::CCounter::counter [protected]

Definition at line 89 of file counter.hpp.

counter_t Arageli::CCounter::max [protected]

Definition at line 86 of file counter.hpp.

counter_t Arageli::CCounter::min [protected]

Definition at line 87 of file counter.hpp.

std::string Arageli::CCounter::name [protected]

Definition at line 85 of file counter.hpp.

counter_t Arageli::CCounter::sum [protected]

Definition at line 88 of file counter.hpp.

bool Arageli::CCounter::suspended [protected]

Definition at line 90 of file counter.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Aug 31 17:38:23 2006 for Arageli by  doxygen 1.4.7