15 +
sizeof(U32) +
sizeof(U32)
20 Time(U32 seconds, U32 useconds);
24 void set(U32 seconds, U32 useconds);
25 void set(
TimeBase timeBase, U32 seconds, U32 useconds);
73 const Time& subtrahend
77 void add(U32 seconds, U32 mseconds);
80 friend std::ostream& operator<<(std::ostream& os,
const Time& val);
@ TB_NONE
No time base has been established.
U8 FwTimeContextStoreType
C++-compatible configuration header for fprime configuration.
bool operator<(const Time &other) const
static Time add(const Time &a, const Time &b)
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
FwTimeContextStoreType getContext() const
void set(U32 seconds, U32 useconds)
Time & operator=(const Time &other)
bool operator>=(const Time &other) const
bool operator!=(const Time &other) const
void setTimeContext(FwTimeContextStoreType context)
TimeBase getTimeBase() const
Comparison
The type of a comparison result.
bool operator<=(const Time &other) const
bool operator>(const Time &other) const
static Time sub(const Time &minuend, const Time &subtrahend)
void setTimeBase(TimeBase timeBase)
bool operator==(const Time &other) const
static Time zero(TimeBase timeBase=TB_NONE)
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
static Comparison compare(const Time &time1, const Time &time2)
SerializeStatus
forward declaration for string