DUNE: Uniform Navigational Environment
2020.01.0
|
This class is used to store samples locally until they are forwarded to other node.
Public Member Functions | |
DataStore (Task *task) | |
~DataStore (void) | |
void | addSample (DataSample *sample) |
void | addData (const IMC::HistoricData *data) |
IMC::HistoricData * | pollCommands (int destination, int size) |
IMC::HistoricData * | pollSamples (int size) |
|
inline |
|
inline |
|
inline |
Add a series of historic samples packed as an HistoricData message.
References Transports::DataStore::parse().
|
inline |
Add sample to this store.
References Transports::DataStore::DataSample::sample, and Transports::DataStore::DataSample::timestamp.
|
inline |
Retrieve a series of commands that take up to 'size'.
|
inline |
Retrieve a series of sample that take up to 'size'.
References Transports::DataStore::parse(), Transports::DataStore::DataSample::sample, and Transports::DataStore::DataSample::serializationSize().