![]() |
0.4.1
|
Barometric height storage class. More...
Public Member Functions | |
std::string | getType () const override |
Returns the type of the data class. | |
std::optional< double > | getValueAt (size_t idx) const override |
Get the value at the index. | |
bool | setValueAt (size_t idx, double value) override |
Set the value at the index. | |
std::vector< std::string > | staticDataDescriptors () const override |
Returns a vector of data descriptors. | |
size_t | staticDescriptorCount () const override |
Get the amount of descriptors. | |
![]() | |
void | addEvent (const std::string &text) |
Adds the event to the list. | |
virtual std::vector< std::string > | dynamicDataDescriptors () const |
Returns a vector of data descriptors for the dynamic data. | |
const std::vector< std::string > & | events () const |
Returns a vector of string events associated with this data. | |
virtual std::vector< std::pair< std::string, double > > | getDynamicData () const |
Returns a vector of data descriptors and values for the dynamic data. | |
virtual std::optional< double > | getDynamicDataAt (const std::string &) const |
Get the value for the descriptor. | |
double | getValueAtOrNaN (size_t idx) const |
Get the value at the index or NaN if not in the observation. | |
virtual void | guiTooltip (bool detailView, bool firstOpen, const char *displayName, const char *id, int *rootWindow) const |
Shows a GUI tooltip to look into details of the observation. | |
virtual bool | hasTooltip () const |
Return whether this data has a tooltip. | |
NodeData ()=default | |
Default constructor. | |
NodeData (const NodeData &)=default | |
Copy constructor. | |
NodeData (NodeData &&)=default | |
Move constructor. | |
NodeData & | operator= (const NodeData &)=default |
Copy assignment operator. | |
NodeData & | operator= (NodeData &&)=default |
Move assignment operator. | |
virtual bool | setDynamicDataAt (const std::string &, double) |
Set the value for the descriptor. | |
virtual | ~NodeData ()=default |
Destructor. | |
Static Public Member Functions | |
static std::vector< std::string > | GetStaticDataDescriptors () |
Returns a vector of data descriptors. | |
static constexpr size_t | GetStaticDescriptorCount () |
Get the amount of descriptors. | |
static std::vector< std::string > | parentTypes () |
Returns the parent types of the data class. | |
static std::string | type () |
Returns the type of the data class. | |
![]() | |
static std::vector< std::string > | GetStaticDataDescriptors () |
Returns a vector of data descriptors. | |
static constexpr size_t | GetStaticDescriptorCount () |
Get the amount of descriptors. | |
static std::vector< std::string > | parentTypes () |
Returns the parent types of the data class. | |
static std::string | type () |
Returns the type of the data class. | |
Data Fields | |
double | baro_height |
Barometric height [m]. | |
std::optional< double > | baro_heightStdev |
Standard deviation of barometric height [m]. | |
![]() | |
InsTime | insTime |
Time at which the message was received. | |
Additional Inherited Members | |
![]() | |
std::vector< std::string > | _events |
List of events. | |
Barometric height storage class.
Definition at line 23 of file BaroHgt.hpp.
|
inlinestaticnodiscard |
Returns a vector of data descriptors.
Definition at line 45 of file BaroHgt.hpp.
|
inlinestaticnodiscardconstexpr |
Get the amount of descriptors.
Definition at line 54 of file BaroHgt.hpp.
|
inlinenodiscardoverridevirtual |
Returns the type of the data class.
Reimplemented from NAV::NodeData.
Definition at line 35 of file BaroHgt.hpp.
|
inlinenodiscardoverridevirtual |
Get the value at the index.
idx | Index corresponding to data descriptor order |
Reimplemented from NAV::NodeData.
Definition at line 65 of file BaroHgt.hpp.
|
inlinestaticnodiscard |
Returns the parent types of the data class.
Definition at line 39 of file BaroHgt.hpp.
|
inlinenodiscardoverridevirtual |
Set the value at the index.
idx | Index corresponding to data descriptor order |
value | Value to set |
Reimplemented from NAV::NodeData.
Definition at line 84 of file BaroHgt.hpp.
|
inlinenodiscardoverridevirtual |
Returns a vector of data descriptors.
Reimplemented from NAV::NodeData.
Definition at line 57 of file BaroHgt.hpp.
|
inlinenodiscardoverridevirtual |
Get the amount of descriptors.
Reimplemented from NAV::NodeData.
Definition at line 60 of file BaroHgt.hpp.
|
inlinestaticnodiscard |
double NAV::BaroHgt::baro_height |
Barometric height [m].
Definition at line 103 of file BaroHgt.hpp.
std::optional<double> NAV::BaroHgt::baro_heightStdev |
Standard deviation of barometric height [m].
Definition at line 106 of file BaroHgt.hpp.