Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
|
extension of std::chrono::time_point for chhetah clocks More...
#include <cheetah/utils/detail/TimePoint.h>
Public Member Functions | |
TimePoint (const Duration &d=typename ClockType::duration()) | |
TimePoint (const std::chrono::system_clock::time_point &tp) | |
TimePoint (const std::chrono::time_point< ClockType, Duration > &tp) | |
TimePoint (std::chrono::time_point< ClockType, Duration > &&) | |
operator typename std::chrono::system_clock::time_point () const | |
TimePoint< ClockType, Duration > & | operator+= (Duration const &) |
TimePoint< ClockType, Duration > & | operator-= (Duration const &) |
std::time_t | to_time_t () const |
convert to a C style time struct. very useful if you want to output the time as a string with e.g. std::put_time | |
extension of std::chrono::time_point for chhetah clocks
ClockType | must support the std::Clock conecpt as as weel as defining a duration type diff_from_system_epoch |
Definition at line 40 of file TimePoint.h.