Physics-Simulator  v1.4.0-beta.2
clsTick Class Reference

This class will hold functions related to time. More...

#include "source/tick.h"

Public Member Functions

 clsTick ()
 
void startTimer (void)
 
double getTimeDifference (void)
 
void startHolding (void)
 
double stopHolding (void)
 

Detailed Description

This class will hold functions related to time.

Constructor & Destructor Documentation

◆ clsTick()

clsTick::clsTick ( )

Default constructor, just sets lngTimerStart to now

Member Function Documentation

◆ getTimeDifference()

double clsTick::getTimeDifference ( void  )

Returns the difference (in seconds) from now to when lngTimerStart

Returns
Time in Seconds
Here is the call graph for this function:

◆ startHolding()

void clsTick::startHolding ( void  )

Sets lngTimerStart to now.

◆ startTimer()

void clsTick::startTimer ( void  )

Sets lngTimerStart to now.

◆ stopHolding()

double clsTick::stopHolding ( void  )

Returns the difference (in seconds) from now to when lngHoldingStart

Returns
Time in Seconds

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