Vanetza
Loading...
Searching...
No Matches
clock_tm.hpp
1
#
pragma
once
2
#
include
<
vanetza
/
common
/
clock
.
hpp
>
3
#
include
<
ctime
>
4
5
namespace
vanetza
6
{
7
8
/**
9
* Convert a Clock::time_point to std::tm
10
*
11
* This function is intended as helper for printing time points.
12
* You should stick with Clock::time_point for calculations.
13
*
14
*
15
*
16
* \param tp time point
17
* \return representation of time point as tm structure
18
*/
19
std::tm its_time(
Clock
::time_point tp);
20
21
}
// namespace vanetza
vanetza::Clock
Definition
clock.hpp:16
vanetza
common
clock_tm.hpp
Generated on
for Vanetza by
1.16.1