Physics-Simulator
v1.4.0-beta.2
tick.h
Go to the documentation of this file.
1
#ifndef __MY_TICK_HEADER__
2
#define __MY_TICK_HEADER__
3
/*****************************************************************************/
4
#include <time.h>
5
#include <cmath>
6
/*****************************************************************************/
11
/*****************************************************************************/
12
class
clsTick
{
13
public
:
14
clsTick
();
15
16
void
startTimer
(
void
);
17
double
getTimeDifference
(
void
);
18
void
startHolding
(
void
);
19
double
stopHolding
(
void
);
20
21
private
:
22
23
clock_t lngTimerStart;
24
clock_t lngHoldingStart;
25
};
26
/*****************************************************************************/
27
#endif
clsTick::stopHolding
double stopHolding(void)
Definition:
tick.cpp:47
clsTick::getTimeDifference
double getTimeDifference(void)
Definition:
tick.cpp:28
clsTick::clsTick
clsTick()
Definition:
tick.cpp:12
clsTick
This class will hold functions related to time.
Definition:
tick.h:12
clsTick::startHolding
void startHolding(void)
Definition:
tick.cpp:40
clsTick::startTimer
void startTimer(void)
Definition:
tick.cpp:20
src
tick.h
Generated on Tue Mar 27 2018 16:57:03 for Physics-Simulator by
1.8.13