5 #ifndef OS_POSIX_RAWTIME_HPP 6 #define OS_POSIX_RAWTIME_HPP 102 #endif // OS_POSIX_RAWTIME_HPP clockid_t m_clock_id
Clock read by now()
PosixRawTime()=default
constructor using RAWTIME_DEFAULT as the clock source
Status getTimeInterval(const Os::RawTime &other, Fw::TimeInterval &interval) const override
Calculate the time interval between this and another raw time.
SerializeStatus
forward declaration for string
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) override
Deserialize the contents of the RawTimeInterface object from a buffer.
~PosixRawTime() override=default
destructor
RawTimeSource
Timer source selection for RawTime.
Status now() override
Get the current time.
Platform's default timer.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const override
Serialize the contents of the RawTimeInterface object into a buffer.
RawTimeHandle * getHandle() override
return the underlying RawTime handle (implementation specific)
Posix implementation of Os::RawTime.
Big endian serialization.