TimerCPU Class Reference

#include <additional/timers/TimerCPU.h>

Inherits TimerBase.

Inheritance diagram for TimerCPU:

Inheritance graph
[legend]
Collaboration diagram for TimerCPU:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimerCPU ()
virtual ~TimerCPU ()
virtual void Reset ()
virtual void Start ()
virtual double ElapsedTime ()
virtual void Stop ()

Protected Attributes

LARGE_INTEGER totalSoFar
LARGE_INTEGER startTime
LARGE_INTEGER m_Frequency

Detailed Description

Definition at line 38 of file TimerCPU.h.


Constructor & Destructor Documentation

TimerCPU::TimerCPU  ) 
 

Definition at line 30 of file TimerCPU.cpp.

References m_Frequency, and totalSoFar.

TimerCPU::~TimerCPU  )  [virtual]
 

Definition at line 45 of file TimerCPU.cpp.


Member Function Documentation

double TimerCPU::ElapsedTime  )  [virtual]
 

Implements TimerBase.

Definition at line 72 of file TimerCPU.cpp.

References m_Frequency, startTime, and TRUE.

Referenced by PlannerBase::GetTimeElapsedInSeconds(), and PlannerBase::HasTimeLimitExpired().

void TimerCPU::Reset  )  [virtual]
 

Implements TimerBase.

Definition at line 54 of file TimerCPU.cpp.

References totalSoFar.

void TimerCPU::Start  )  [virtual]
 

Reimplemented from TimerBase.

Definition at line 61 of file TimerCPU.cpp.

References TimerBase::Start(), startTime, and TRUE.

Referenced by PlannerBase::StartTimer().

Here is the call graph for this function:

void TimerCPU::Stop  )  [virtual]
 

Reimplemented from TimerBase.

Definition at line 86 of file TimerCPU.cpp.

References startTime, totalSoFar, and TRUE.


Member Data Documentation

LARGE_INTEGER TimerCPU::m_Frequency [protected]
 

Definition at line 84 of file TimerCPU.h.

Referenced by ElapsedTime(), and TimerCPU().

LARGE_INTEGER TimerCPU::startTime [protected]
 

Definition at line 79 of file TimerCPU.h.

Referenced by ElapsedTime(), Start(), and Stop().

LARGE_INTEGER TimerCPU::totalSoFar [protected]
 

Definition at line 74 of file TimerCPU.h.

Referenced by Reset(), Stop(), and TimerCPU().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 22:05:14 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO