CPUnit 0.95 (beta)
The REAL C++ port of JUnit.
cpunit::StopWatch Class Reference

#include <cpunit_StopWatch.hpp>

List of all members.

Public Member Functions

 StopWatch ()
virtual ~StopWatch ()
void start ()
double stop ()
double time () const

Private Attributes

double duration

Detailed Description

Definition at line 36 of file cpunit_StopWatch.hpp.


Constructor & Destructor Documentation

cpunit::StopWatch::StopWatch ( )

Definition at line 39 of file cpunit_StopWatch.cpp.

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

Definition at line 43 of file cpunit_StopWatch.cpp.


Member Function Documentation

void cpunit::StopWatch::start ( )

Definition at line 71 of file cpunit_StopWatch.cpp.

double cpunit::StopWatch::stop ( )

Definition at line 76 of file cpunit_StopWatch.cpp.

double cpunit::StopWatch::time ( ) const

Definition at line 47 of file cpunit_StopWatch.cpp.


Member Data Documentation

double cpunit::StopWatch::duration [private]

Definition at line 37 of file cpunit_StopWatch.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines