5 #ifndef OS_POSIX_RAWTIME_HPP 6 #define OS_POSIX_RAWTIME_HPP 96 #endif // OS_POSIX_RAWTIME_HPP
PosixRawTime()=default
constructor
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
Status now() override
Get the current time.
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.