SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
Timer Class Referenceabstract

#include <Timer.h>

Inheritance diagram for Timer:
CPUTimer WallClockTimer TimeThrottle

Public Types

enum  timer_state_e { Stopped, Running }
 

Public Member Functions

 Timer ()
 
virtual ~Timer ()
 
void start ()
 
void stop ()
 
void clear ()
 
double time ()
 
void add (double t)
 
timer_state_e state ()
 

Protected Member Functions

virtual double get_time ()=0
 

Member Enumeration Documentation

Enumerator
Stopped 
Running 

Constructor & Destructor Documentation

Timer ( )
virtual ~Timer ( )
virtual

Member Function Documentation

void add ( double  t)
void clear ( )
virtual double get_time ( )
protectedpure virtual

Implemented in WallClockTimer, and CPUTimer.

void start ( )
timer_state_e state ( )
inline
void stop ( )
double time ( )

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