YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
controlClock.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef CONTROL_CLOCK
7#define CONTROL_CLOCK
8
10{
11private:
12 bool running = false;
13 double startTime = 0.0;
14 double elapsedTime = 0.0;
15public:
16 double getElapsedTime();
17 void startTimer();
18 void pauseTimer();
19 void resetTimer();
20};
21
22#endif
double getElapsedTime()