DUNE: Uniform Navigational Environment
2019.02.0
|
Class used to store a single sample.
All samples have a location, timestamp, priority and a message (IMC).
Public Member Functions | |
DataSample (void) | |
~DataSample (void) | |
int | serializationSize (void) |
Public Attributes | |
double | latDegs |
double | lonDegs |
double | zMeters |
double | timestamp |
int | priority |
int | source |
IMC::Message * | sample |
|
inline |
|
inline |
References sample.
|
inline |
References sample.
Referenced by Transports::DataStore::Task::consume(), and Transports::DataStore::DataStore::pollSamples().
double Transports::DataStore::DataSample::latDegs |
Sample global coordinates.
Referenced by Transports::DataStore::Task::consume(), DataSample(), and Transports::DataStore::parse().
double Transports::DataStore::DataSample::lonDegs |
Referenced by Transports::DataStore::Task::consume(), DataSample(), and Transports::DataStore::parse().
int Transports::DataStore::DataSample::priority |
Priority of the sample (higher priority samples are transmitted first)
Referenced by Transports::DataStore::Task::consume(), DataSample(), Transports::DataStore::CompareSamples::operator()(), and Transports::DataStore::parse().
IMC::Message* Transports::DataStore::DataSample::sample |
Actual data gathered at these coords.
Referenced by Transports::DataStore::DataStore::addSample(), Transports::DataStore::Task::consume(), DataSample(), Transports::DataStore::parse(), serializationSize(), and ~DataSample().
int Transports::DataStore::DataSample::source |
The system that generated this sample.
Referenced by Transports::DataStore::Task::consume(), DataSample(), and Transports::DataStore::parse().
double Transports::DataStore::DataSample::timestamp |
double Transports::DataStore::DataSample::zMeters |
Referenced by Transports::DataStore::Task::consume(), DataSample(), and Transports::DataStore::parse().