![]() |
Fixposition SDK 0.0.0-heads/main-0-gb93ddb4
Collection of c++ libraries and apps for use with Fixposition products on Linux
|
Fixposition SDK: Time utilities. More...
#include <chrono>#include <cstdint>#include <ctime>#include <string>Go to the source code of this file.
Classes | |
| class | fpsdk::common::time::TicToc |
| Helper to measure wallclock time. More... | |
| struct | fpsdk::common::time::RosTime |
| Minimal ros::Time() / rplcpp::Time implementation (that doesn't throw) More... | |
| class | fpsdk::common::time::Duration |
| Time duration. More... | |
| struct | fpsdk::common::time::WnoTow |
| GNSS atomic time representation: week number (wno) and time of week (tow) used by GPS, Galileo and BeiDou. More... | |
| struct | fpsdk::common::time::GloTime |
| GLONASS time. More... | |
| struct | fpsdk::common::time::UtcTime |
| UTC time representation. More... | |
| class | fpsdk::common::time::Time |
| Time. More... | |
Namespaces | |
| namespace | fpsdk |
| Fixposition SDK. | |
| namespace | fpsdk::common |
| Fixposition SDK: Common library. | |
| namespace | fpsdk::common::time |
| Time utilities. | |
Functions | |
| uint64_t | fpsdk::common::time::GetMillis () |
| Get milliseconds [ms]. | |
| double | fpsdk::common::time::GetSecs () |
| Get seconds [s]. | |
| static constexpr int | fpsdk::common::time::SEC_IN_MIN_I = 60 |
| Constants. | |
| static constexpr int | fpsdk::common::time::SEC_IN_HOUR_I = 60 * SEC_IN_MIN_I |
| Number of seconds in an hour (integer) = 3600. | |
| static constexpr int | fpsdk::common::time::SEC_IN_DAY_I = 24 * SEC_IN_HOUR_I |
| Number of seconds in a day (integer) = 86400. | |
| static constexpr int | fpsdk::common::time::SEC_IN_WEEK_I = 7 * SEC_IN_DAY_I |
| Number of seconds in a week (integer) = 604800. | |
| static constexpr double | fpsdk::common::time::SEC_IN_MIN_D = static_cast<double>(SEC_IN_MIN_I) |
| Number of seconds in a minute (double) = 60.0. | |
| static constexpr double | fpsdk::common::time::SEC_IN_HOUR_D = static_cast<double>(SEC_IN_HOUR_I) |
| Number of seconds in an hour (double) = 3600.0. | |
| static constexpr double | fpsdk::common::time::SEC_IN_DAY_D = static_cast<double>(SEC_IN_DAY_I) |
| Number of seconds in a day (double) = 86400.0. | |
| static constexpr double | fpsdk::common::time::SEC_IN_WEEK_D = static_cast<double>(SEC_IN_WEEK_I) |
| Number of seconds in a week (double) = 604800.0. | |
| static constexpr double | fpsdk::common::time::NsecToSec (const uint64_t ns) |
| Convert seconds to nanoseconds. | |
| static constexpr uint64_t | fpsdk::common::time::SecToNsec (const double sec) |
| Convert nanoseconds to seconds. | |
Fixposition SDK: Time utilities.
* ___ ___ * \ \ / / * \ \/ / Copyright (c) Fixposition AG (www.fixposition.com) and contributors * / /\ \ License: see the LICENSE file * /__/ \__\ * * Parts copyright (c) 2008, Willow Garage, Inc., see time.cpp and the LICENSE file for details * Written by flipflip (https://github.com/phkehl) *
Definition in file time.hpp.