DUNE: Uniform Navigational Environment
2017.01.0
|
This class maintains a list of estimated state messages and allows searching for the message that is closest to a given timestamp.
Public Member Functions | |
EstimatedStateList (void) | |
~EstimatedStateList (void) | |
void | clear (void) |
void | push_back (const IMC::EstimatedState &estate) |
bool | empty (void) const |
const IMC::EstimatedState * | find (int64_t time, int64_t &delta) |
|
inline |
Constructor.
|
inline |
Destructor.
References clear().
|
inline |
Clear list contents.
Referenced by Sensors::Edgetech2205::SubsystemData::clear(), and ~EstimatedStateList().
|
inline |
Test if list is empty.
|
inline |
Find closest estimated state message to a given time.
[in] | time | time in millisecond since Unix Epoch. |
[in] | delta | difference between requested time and message time. |
References Sensors::Edgetech2205::EstimatedStateEntry::getTime().
Referenced by Sensors::Edgetech2205::Task::updateSubsystemData().
|
inline |
Add estimated state message to end of the list.
[in] | estate | estimated state message. |
Referenced by Sensors::Edgetech2205::Task::consume().