 |
F´ Flight Software - C/C++ Documentation
NASA-v2.1.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
16 +
sizeof(U32) +
sizeof(U32)
21 Time(U32 seconds, U32 useconds);
25 void set(U32 seconds, U32 useconds);
26 void set(
TimeBase timeBase, U32 seconds, U32 useconds);
74 const Time& subtrahend
78 void add(U32 seconds, U32 mseconds);
80 #ifdef BUILD_UT // Stream operators to support Googletest
81 friend std::ostream& operator<<(std::ostream& os,
const Time& val);
SerializeStatus
forward declaration for string
TimeBase getTimeBase(void) const
const static Time ZERO_TIME
U32 getUSeconds(void) const
bool operator!=(const Time &other) const
const Time & operator=(const Time &other)
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialize to contents
static Time zero(TimeBase timeBase=TB_NONE)
#define FwTimeContextStoreType
Storage conversion for time context in scripts/ground interface.
bool operator<(const Time &other) const
void set(U32 seconds, U32 useconds)
static Time sub(const Time &minuend, const Time &subtrahend)
bool operator>=(const Time &other) const
Comparison
The type of a comparison result.
void setTimeBase(TimeBase timeBase)
static Comparison compare(const Time &time1, const Time &time2)
FwTimeContextStoreType getContext(void) const
bool operator<=(const Time &other) const
U32 getSeconds(void) const
#define FwTimeBaseStoreType
Storage conversion for time base in scripts/ground interface.
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
bool operator==(const Time &other) const
static Time add(const Time &a, const Time &b)
Declares ISF basic types.
void setTimeContext(FwTimeContextStoreType context)
bool operator>(const Time &other) const
@ TB_NONE
No time base has been established.