12 #ifndef ECL_TIME_STAMP_POS_HPP_ 13 #define ECL_TIME_STAMP_POS_HPP_ 20 #if defined(ECL_IS_POSIX) 21 #define ECL_HAS_TIMESTAMP 104 TimeStamp() ecl_debug_throw_decl(StandardException);
115 TimeStamp (const
double& decimal_time_value) ecl_assert_throw_decl(StandardException);
126 TimeStamp (const time_t &seconds, const
long &nanoseconds) ecl_assert_throw_decl(StandardException);
136 TimeStamp (const TimeStampBase& base);
138 virtual ~TimeStamp() {}
150 const TimeStamp& stamp() ecl_debug_throw_decl(StandardException);
151 #if defined(ECL_HAS_RT_TIMERS) 159 static TimeStamp realtime_now() ecl_debug_throw_decl(StandardException);
167 #ifdef ECL_HAS_EXCEPTIONS Embedded control libraries.
Base class with common functionality across platforms for timestamps.
const TimeStampBase & stamp(const double &decimal_time_value) ecl_assert_throw_decl(StandardException)
Manually set the timestamp.