 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
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);
77 void add(U32 seconds, U32 mseconds);
79 #ifdef BUILD_UT // Stream operators to support Googletest
80 friend std::ostream& operator<<(std::ostream& os,
const Time& val);
SerializeStatus
forward declaration for string
static Time sub(Time &minuend, Time &subtrahend)
TimeBase getTimeBase(void) const
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)
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
Declares ISF basic types.
void setTimeContext(FwTimeContextStoreType context)
static Time add(Time &a, Time &b)
bool operator>(const Time &other) const
@ TB_NONE
No time base has been established.