YARP
Yet Another Robot Platform
ControlBoardWrapperPreciselyTimed.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* All rights reserved.
4
*
5
* This software may be modified and distributed under the terms of the
6
* BSD-3-Clause license. See the accompanying LICENSE file for details.
7
*/
8
9
#include "
ControlBoardWrapperPreciselyTimed.h
"
10
11
#include "
ControlBoardWrapperLogComponent.h
"
12
13
#include <
yarp/os/Stamp.h
>
14
15
16
yarp::os::Stamp
ControlBoardWrapperPreciselyTimed::getLastInputStamp
()
17
{
18
timeMutex
.lock();
19
yarp::os::Stamp
ret
=
time
;
20
timeMutex
.unlock();
21
return
ret
;
22
}
ControlBoardWrapperCommon::time
yarp::os::Stamp time
Definition:
ControlBoardWrapperCommon.h:31
ControlBoardWrapperLogComponent.h
ControlBoardWrapperCommon::timeMutex
std::mutex timeMutex
Definition:
ControlBoardWrapperCommon.h:30
ret
bool ret
Definition:
ImplementAxisInfo.cpp:72
Stamp.h
ControlBoardWrapperPreciselyTimed.h
yarp::os::Stamp
An abstraction for a time stamp and/or sequence number.
Definition:
Stamp.h:25
ControlBoardWrapperPreciselyTimed::getLastInputStamp
yarp::os::Stamp getLastInputStamp() override
Return the time stamp relative to the last acquisition.
Definition:
ControlBoardWrapperPreciselyTimed.cpp:16
YARP
3.4.100+20201223.2+gitb8ea4d712
src
devices
ControlBoardWrapper
ControlBoardWrapperPreciselyTimed.cpp
Generated on Sun Jan 3 2021 02:46:22 for YARP by
1.8.20