HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StopWatch Class Reference

#include <UT_StopWatch.h>

Public Member Functions

 UT_StopWatch ()
 
void clear ()
 
void start ()
 
fpreal64 lap () const
 
fpreal64 stop ()
 
void resume ()
 
fpreal64 restart ()
 
fpreal64 getTime () const
 
bool isRunning () const
 
fpreal64 operator- (const UT_StopWatch &)
 
UT_TIMERVAL getStartTime () const
 

Static Public Member Functions

static fpreal64 _timeDiff (const UT_TIMERVAL &later, const UT_TIMERVAL &sooner)
 

Protected Attributes

bool _running
 
fpreal64 _elapsedTime
 
UT_TIMERVAL _startTime
 

Detailed Description

Definition at line 23 of file UT_StopWatch.h.

Constructor & Destructor Documentation

UT_StopWatch::UT_StopWatch ( )

Member Function Documentation

static fpreal64 UT_StopWatch::_timeDiff ( const UT_TIMERVAL later,
const UT_TIMERVAL sooner 
)
static
void UT_StopWatch::clear ( )
UT_TIMERVAL UT_StopWatch::getStartTime ( ) const
fpreal64 UT_StopWatch::getTime ( ) const
bool UT_StopWatch::isRunning ( ) const
fpreal64 UT_StopWatch::lap ( ) const
fpreal64 UT_StopWatch::operator- ( const UT_StopWatch )
fpreal64 UT_StopWatch::restart ( )
inline

Definition at line 33 of file UT_StopWatch.h.

void UT_StopWatch::resume ( )
void UT_StopWatch::start ( )
fpreal64 UT_StopWatch::stop ( )

Member Data Documentation

fpreal64 UT_StopWatch::_elapsedTime
protected

Definition at line 45 of file UT_StopWatch.h.

bool UT_StopWatch::_running
protected

Definition at line 44 of file UT_StopWatch.h.

UT_TIMERVAL UT_StopWatch::_startTime
protected

Definition at line 47 of file UT_StopWatch.h.


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