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
9
class
ControlClock
10
{
11
private
:
12
bool
running =
false
;
13
double
startTime = 0.0;
14
double
elapsedTime = 0.0;
15
public
:
16
double
getElapsedTime
();
17
void
startTimer
();
18
void
pauseTimer
();
19
void
resetTimer
();
20
};
21
22
#endif
ControlClock
Definition
controlClock.h:10
ControlClock::resetTimer
void resetTimer()
Definition
controlClock.cpp:35
ControlClock::getElapsedTime
double getElapsedTime()
Definition
controlClock.cpp:9
ControlClock::pauseTimer
void pauseTimer()
Definition
controlClock.cpp:27
ControlClock::startTimer
void startTimer()
Definition
controlClock.cpp:18
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
commands
yarpActionsPlayer
controlClock.h
Generated on Wed Jun 4 2025 02:39:56 for YARP by
1.9.8