HLCC Documentation 3.0.0
Loading...
Searching...
No Matches
fromTaiDouble.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2020-2025 European Southern Observatory (ESO)
2//
3// SPDX-License-Identifier: LGPL-3.0-only
4
13
14#ifndef HLCC_CPPUTIL_FROMTAIDOUBLE_HPP
15#define HLCC_CPPUTIL_FROMTAIDOUBLE_HPP
16
17#include <taiclock/taiClock.hpp>
18
19
20namespace hlcc::cpputil {
21
22/*
23 * Converts a TAI timestamp encoded as a double value to a TaiClock time point.
24 * In th ELT CS, this encoding is used to send timestamps across applications (e.g. via request-reply or DDS user data).
25 */
26::taiclock::TaiClock::time_point FromTaiDouble(double tai_time);
27
28} // namespace hlcc::cpputil
29
30#endif // HLCC_CPPUTIL_FROMTAIDOUBLE_HPP
Definition ciiTypesToString.cpp:7
::taiclock::TaiClock::time_point FromTaiDouble(double tai_time)
Definition fromTaiDouble.cpp:14