#include <Fw/Time/Time.hpp>
|
| Time () |
|
| Time (const Time &other) |
|
| Time (U32 seconds, U32 useconds) |
|
| Time (TimeBase timeBase, U32 seconds, U32 useconds) |
|
| Time (TimeBase timeBase, FwTimeContextStoreType context, U32 seconds, U32 useconds) |
|
virtual | ~Time () |
|
void | set (U32 seconds, U32 useconds) |
|
void | set (TimeBase timeBase, U32 seconds, U32 useconds) |
|
void | set (TimeBase timeBase, FwTimeContextStoreType context, U32 seconds, U32 useconds) |
|
void | setTimeBase (TimeBase timeBase) |
|
void | setTimeContext (FwTimeContextStoreType context) |
|
U32 | getSeconds () const |
|
U32 | getUSeconds () const |
|
TimeBase | getTimeBase () const |
|
FwTimeContextStoreType | getContext () const |
|
SerializeStatus | serialize (SerializeBufferBase &buffer) const |
| serialize contents More...
|
|
SerializeStatus | deserialize (SerializeBufferBase &buffer) |
| deserialize to contents More...
|
|
bool | operator== (const Time &other) const |
|
bool | operator!= (const Time &other) const |
|
bool | operator> (const Time &other) const |
|
bool | operator< (const Time &other) const |
|
bool | operator>= (const Time &other) const |
|
bool | operator<= (const Time &other) const |
|
Time & | operator= (const Time &other) |
|
void | add (U32 seconds, U32 mseconds) |
|
Definition at line 9 of file Time.hpp.
◆ anonymous enum
Enumerator |
---|
SERIALIZED_SIZE | |
Definition at line 12 of file Time.hpp.
◆ Comparison
The type of a comparison result.
Enumerator |
---|
LT | |
EQ | |
GT | |
INCOMPARABLE | |
Definition at line 45 of file Time.hpp.
◆ Time() [1/5]
◆ Time() [2/5]
Fw::Time::Time |
( |
const Time & |
other | ) |
|
◆ Time() [3/5]
Fw::Time::Time |
( |
U32 |
seconds, |
|
|
U32 |
useconds |
|
) |
| |
◆ Time() [4/5]
Fw::Time::Time |
( |
TimeBase |
timeBase, |
|
|
U32 |
seconds, |
|
|
U32 |
useconds |
|
) |
| |
◆ Time() [5/5]
◆ ~Time()
◆ add() [1/2]
Add two times
- Returns
- The result
- Parameters
-
Definition at line 192 of file Time.cpp.
◆ add() [2/2]
void Fw::Time::add |
( |
U32 |
seconds, |
|
|
U32 |
mseconds |
|
) |
| |
◆ compare()
Compare two times
- Returns
- The result
- Parameters
-
Definition at line 158 of file Time.cpp.
◆ deserialize()
◆ getContext()
◆ getSeconds()
U32 Fw::Time::getSeconds |
( |
| ) |
const |
◆ getTimeBase()
TimeBase Fw::Time::getTimeBase |
( |
| ) |
const |
◆ getUSeconds()
U32 Fw::Time::getUSeconds |
( |
| ) |
const |
◆ operator!=()
bool Fw::Time::operator!= |
( |
const Time & |
other | ) |
const |
◆ operator<()
bool Fw::Time::operator< |
( |
const Time & |
other | ) |
const |
◆ operator<=()
bool Fw::Time::operator<= |
( |
const Time & |
other | ) |
const |
◆ operator=()
Time & Fw::Time::operator= |
( |
const Time & |
other | ) |
|
◆ operator==()
bool Fw::Time::operator== |
( |
const Time & |
other | ) |
const |
◆ operator>()
bool Fw::Time::operator> |
( |
const Time & |
other | ) |
const |
◆ operator>=()
bool Fw::Time::operator>= |
( |
const Time & |
other | ) |
const |
◆ serialize()
◆ set() [1/3]
◆ set() [2/3]
void Fw::Time::set |
( |
TimeBase |
timeBase, |
|
|
U32 |
seconds, |
|
|
U32 |
useconds |
|
) |
| |
◆ set() [3/3]
void Fw::Time::set |
( |
U32 |
seconds, |
|
|
U32 |
useconds |
|
) |
| |
◆ setTimeBase()
void Fw::Time::setTimeBase |
( |
TimeBase |
timeBase | ) |
|
◆ setTimeContext()
◆ sub()
Time Fw::Time::sub |
( |
const Time & |
minuend, |
|
|
const Time & |
subtrahend |
|
) |
| |
|
static |
Subtract subtrahend from minuend
- Returns
- The result
- Parameters
-
minuend | Value being subtracted from |
subtrahend | Value being subtracted |
Definition at line 215 of file Time.cpp.
◆ zero()
- Returns
- time zero
Definition at line 151 of file Time.cpp.
The documentation for this class was generated from the following files: