library of assembled shared sources |
http://lass.cocamware.com |
#include <stop_watch.h>

Public Types | |
| typedef Clock::TTime | TTime |
Public Member Functions | |
| StopWatch (Clock &iClock, TTime iInitialTime=0) | |
| void | reset (TTime iInitialTime=0) |
| void | start () |
| void | restart (TTime iInitialTime=0) |
| const TTime | stop () |
| const TTime | time () const |
Private Attributes | |
| TTime | timeBuffer_ |
| TTime | startTime_ |
| Clock * | clock_ |
| bool | isRunning_ |
Definition at line 56 of file stop_watch.h.
Definition at line 60 of file stop_watch.h.
| void lass::util::StopWatch::reset | ( | TTime | iInitialTime = 0 |
) | [inline] |
Definition at line 68 of file stop_watch.h.
References isRunning_, and timeBuffer_.
Referenced by restart(), and StopWatch().
| void lass::util::StopWatch::start | ( | ) | [inline] |
Definition at line 74 of file stop_watch.h.
References clock_, isRunning_, startTime_, and lass::util::Clock::time().
Referenced by restart().
| void lass::util::StopWatch::restart | ( | TTime | iInitialTime = 0 |
) | [inline] |
| const TTime lass::util::StopWatch::stop | ( | ) | [inline] |
Definition at line 86 of file stop_watch.h.
References clock_, isRunning_, startTime_, lass::util::Clock::time(), and timeBuffer_.
| const TTime lass::util::StopWatch::time | ( | ) | const [inline] |
Definition at line 97 of file stop_watch.h.
References clock_, isRunning_, startTime_, lass::util::Clock::time(), and timeBuffer_.
TTime lass::util::StopWatch::timeBuffer_ [private] |
TTime lass::util::StopWatch::startTime_ [private] |
Clock* lass::util::StopWatch::clock_ [private] |
bool lass::util::StopWatch::isRunning_ [private] |
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |