Formats and compares system-clock timestamps.
Definition at line 24 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
Public Member Functions | |
| Time () | |
| Initialize the timestamp to the current system time. More... | |
| Time (std::chrono::system_clock::time_point time) | |
| Initialize from a system-clock time point. More... | |
| ~Time () | |
| Release the timestamp wrapper. More... | |
| TimeStamp | getUnixTimestampNanoSeconds () |
| Return nanoseconds elapsed since the Unix epoch. More... | |
| std::chrono::system_clock::time_point | getTimePoint () |
| Return the stored system-clock time point. More... | |
| std::string | getStrTimeRelativeTo (std::chrono::system_clock::time_point time) |
| Format the stored timestamp relative to another time point. More... | |
| std::string | getStrSystemTime () |
| Format the stored timestamp as a system date and time. More... | |
| Time () | |
| Initialize the timestamp to the current system time. More... | |
| Time (std::chrono::system_clock::time_point time) | |
| Initialize from a system-clock time point. More... | |
| ~Time () | |
| Release the timestamp wrapper. More... | |
| TimeStamp | getUnixTimestampNanoSeconds () |
| Return nanoseconds elapsed since the Unix epoch. More... | |
| std::chrono::system_clock::time_point | getTimePoint () |
| Return the stored system-clock time point. More... | |
| std::string | getStrTimeRelativeTo (std::chrono::system_clock::time_point time) |
| Format the stored timestamp relative to another time point. More... | |
| std::string | getStrSystemTime () |
| Format the stored timestamp as a system date and time. More... | |
|
inline |
Initialize the timestamp to the current system time.
Definition at line 32 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Initialize from a system-clock time point.
| [in] | time | System-clock time point to store. |
Definition at line 39 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Release the timestamp wrapper.
Definition at line 42 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Initialize the timestamp to the current system time.
Definition at line 32 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Initialize from a system-clock time point.
| [in] | time | System-clock time point to store. |
Definition at line 39 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Release the timestamp wrapper.
Definition at line 42 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Format the stored timestamp as a system date and time.
Definition at line 67 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
References getUnixTimestampNanoSeconds().
|
inline |
Format the stored timestamp as a system date and time.
Definition at line 67 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
References getUnixTimestampNanoSeconds().
|
inline |
Format the stored timestamp relative to another time point.
| [in] | time | Reference time point subtracted from the stored timestamp. |
Definition at line 60 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Format the stored timestamp relative to another time point.
| [in] | time | Reference time point subtracted from the stored timestamp. |
Definition at line 60 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Return the stored system-clock time point.
Definition at line 51 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Return the stored system-clock time point.
Definition at line 51 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
|
inline |
Return nanoseconds elapsed since the Unix epoch.
Definition at line 45 of file sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.
Referenced by DsLowLevelTracker::generateMotInputParams(), and getStrSystemTime().
|
inline |
Return nanoseconds elapsed since the Unix epoch.
Definition at line 45 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/timeStamp.hpp.