13 this->
set(other.m_timeBase,other.m_timeContext,other.m_seconds,other.m_useconds);
21 this->
set(timeBase,0,seconds,useconds);
29 this->
set(timeBase,0,seconds,useconds);
33 this->
set(timeBase,context,seconds,useconds);
37 this->m_timeBase = timeBase;
38 this->m_timeContext = context;
39 this->m_useconds = useconds;
40 this->m_seconds = seconds;
44 this->m_timeBase = other.m_timeBase;
45 this->m_timeContext = other.m_timeContext;
46 this->m_useconds = other.m_useconds;
47 this->m_seconds = other.m_seconds;
70 return ((
GT == c) or (
EQ == c));
75 return ((
LT == c) or (
EQ == c));
88 #if FW_USE_TIME_CONTEXT
89 stat = buffer.
serialize(this->m_timeContext);
100 return buffer.
serialize(this->m_useconds);
114 this->m_timeBase =
static_cast<TimeBase>(deSer);
118 #if FW_USE_TIME_CONTEXT
124 this->m_timeContext = 0;
135 return this->m_seconds;
139 return this->m_useconds;
143 return this->m_timeBase;
147 return this->m_timeContext;
153 Time time(timeBase,0, 0, 0);
166 #if FW_USE_TIME_CONTEXT
176 }
else if (s1 > s2) {
178 }
else if (us1 < us2) {
180 }
else if (us1 > us2) {
196 #if FW_USE_TIME_CONTEXT
202 if (uSeconds >= 1000000) {
219 #if FW_USE_TIME_CONTEXT
237 this->m_seconds += seconds;
238 this->m_useconds += useconds;
239 FW_ASSERT(this->m_useconds < 1999999,this->m_useconds);
240 if (this->m_useconds >= 1000000) {
242 this->m_useconds -= 1000000;
247 this->m_timeBase = timeBase;
251 this->m_timeContext = context;
255 std::ostream& operator<<(std::ostream& os,
const Time& val) {