cmlabs::StopWatch Class Reference

#include <JTime.h>

Inheritance diagram for cmlabs::StopWatch:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::StopWatch:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StopWatch ()
virtual ~StopWatch ()
Objectclone () const
bool reset ()
bool start ()
bool stop ()
bool setMark ()
bool setMark (const JString &label)
JString print ()
JString printNoLabels ()
JString printDetails ()
long getTotalTime ()
long getMarkCount ()
long getAverageDistance ()
long getStandardDeviationDistance ()
StatSample getStatSample ()

Public Attributes

ObjectDictionary marks
JTime timeStarted
JTime timeStopped


Detailed Description

Definition at line 185 of file JTime.h.


Constructor & Destructor Documentation

cmlabs::StopWatch::StopWatch (  ) 

Definition at line 1382 of file JTime.cpp.

cmlabs::StopWatch::~StopWatch (  )  [virtual]

Definition at line 1386 of file JTime.cpp.


Member Function Documentation

Object * cmlabs::StopWatch::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 1389 of file JTime.cpp.

bool cmlabs::StopWatch::reset (  ) 

Definition at line 1397 of file JTime.cpp.

bool cmlabs::StopWatch::start (  ) 

Definition at line 1403 of file JTime.cpp.

bool cmlabs::StopWatch::stop (  ) 

Definition at line 1408 of file JTime.cpp.

bool cmlabs::StopWatch::setMark (  ) 

Definition at line 1415 of file JTime.cpp.

bool cmlabs::StopWatch::setMark ( const JString label  ) 

Definition at line 1419 of file JTime.cpp.

JString cmlabs::StopWatch::print (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 1433 of file JTime.cpp.

JString cmlabs::StopWatch::printNoLabels (  ) 

Definition at line 1467 of file JTime.cpp.

JString cmlabs::StopWatch::printDetails (  ) 

Definition at line 1488 of file JTime.cpp.

long cmlabs::StopWatch::getTotalTime (  ) 

Definition at line 1524 of file JTime.cpp.

long cmlabs::StopWatch::getMarkCount (  ) 

Definition at line 1532 of file JTime.cpp.

long cmlabs::StopWatch::getAverageDistance (  ) 

Definition at line 1536 of file JTime.cpp.

long cmlabs::StopWatch::getStandardDeviationDistance (  ) 

Definition at line 1541 of file JTime.cpp.

StatSample cmlabs::StopWatch::getStatSample (  ) 

Definition at line 1546 of file JTime.cpp.


Member Data Documentation

Definition at line 208 of file JTime.h.

Definition at line 209 of file JTime.h.

Definition at line 210 of file JTime.h.


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

Generated on Tue Jul 7 16:22:59 2009 for CoreLibrary by  doxygen 1.5.6