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

#include <unittest_StopWatch.hpp>

List of all members.

Public Member Functions

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

Private Attributes

float duration

Detailed Description

Definition at line 36 of file unittest_StopWatch.hpp.


Constructor & Destructor Documentation

unittest::StopWatch::StopWatch ( )

Definition at line 39 of file unittest_StopWatch.cpp.

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

Definition at line 43 of file unittest_StopWatch.cpp.


Member Function Documentation

void unittest::StopWatch::start ( )

Definition at line 71 of file unittest_StopWatch.cpp.

float unittest::StopWatch::stop ( )

Definition at line 76 of file unittest_StopWatch.cpp.

float unittest::StopWatch::time ( ) const

Definition at line 47 of file unittest_StopWatch.cpp.


Member Data Documentation

Definition at line 37 of file unittest_StopWatch.hpp.


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