YARP
Yet Another Robot Platform
ControlBoardWrapperPreciselyTimed.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
#include "
ControlBoardWrapperPreciselyTimed.h
"
7
8
#include "
ControlBoardLogComponent.h
"
9
10
#include <
yarp/os/Stamp.h
>
11
12
13
yarp::os::Stamp
ControlBoardWrapperPreciselyTimed::getLastInputStamp
()
14
{
15
timeMutex
.lock();
16
yarp::os::Stamp
ret
=
time
;
17
timeMutex
.unlock();
18
return
ret
;
19
}
ControlBoardLogComponent.h
ControlBoardWrapperPreciselyTimed.h
ret
bool ret
Definition:
ImplementAxisInfo.cpp:70
Stamp.h
ControlBoardWrapperCommon::time
yarp::os::Stamp time
Definition:
ControlBoardWrapperCommon.h:28
ControlBoardWrapperCommon::timeMutex
std::mutex timeMutex
Definition:
ControlBoardWrapperCommon.h:27
ControlBoardWrapperPreciselyTimed::getLastInputStamp
yarp::os::Stamp getLastInputStamp() override
Return the time stamp relative to the last acquisition.
Definition:
ControlBoardWrapperPreciselyTimed.cpp:13
yarp::os::Stamp
An abstraction for a time stamp and/or sequence number.
Definition:
Stamp.h:22
YARP
3.5.1
src
devices
ControlBoardWrapper
ControlBoardWrapperPreciselyTimed.cpp
Generated on Sat Dec 25 2021 02:23:01 for YARP by
1.9.1