HOG2
Public Member Functions | Private Attributes | List of all members
Timer Class Reference

#include <Timer.h>

Public Member Functions

 Timer ()
 
void StartTimer ()
 
double EndTimer ()
 
double GetElapsedTime ()
 

Private Attributes

std::chrono::high_resolution_clock::time_point startTime
 
double elapsedTime
 

Detailed Description

Definition at line 19 of file Timer.h.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( )

Definition at line 3 of file Timer.cpp.

References elapsedTime.

Member Function Documentation

◆ EndTimer()

double Timer::EndTimer ( )

◆ GetElapsedTime()

double Timer::GetElapsedTime ( )

Definition at line 25 of file Timer.cpp.

References elapsedTime.

Referenced by MyPathfindingKeyHandler().

◆ StartTimer()

void Timer::StartTimer ( )

Member Data Documentation

◆ elapsedTime

double Timer::elapsedTime
private

Definition at line 28 of file Timer.h.

Referenced by EndTimer(), GetElapsedTime(), and Timer().

◆ startTime

std::chrono::high_resolution_clock::time_point Timer::startTime
private

Definition at line 27 of file Timer.h.

Referenced by EndTimer(), and StartTimer().


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