![]() |
0.4.1
|
ublox Observation Class More...
Public Member Functions | |
std::string | getType () const override |
Returns the type of the data class. | |
![]() | |
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. | |
virtual std::optional< double > | getValueAt (size_t) const |
Get the value at the index. | |
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 bool | setValueAt (size_t, double) |
Set the value at the index. | |
virtual std::vector< std::string > | staticDataDescriptors () const |
Returns a vector of data descriptors. | |
virtual size_t | staticDescriptorCount () const |
Get the amount of descriptors. | |
virtual | ~NodeData ()=default |
Destructor. | |
Static Public Member Functions | |
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 | |
std::variant< vendor::ublox::UbxAckAck, vendor::ublox::UbxAckNak, vendor::ublox::UbxEsfIns, vendor::ublox::UbxEsfMeas, vendor::ublox::UbxEsfRaw, vendor::ublox::UbxEsfStatus, vendor::ublox::UbxNavAtt, vendor::ublox::UbxNavPosecef, vendor::ublox::UbxNavPosllh, vendor::ublox::UbxNavVelned, vendor::ublox::UbxRxmRawx, vendor::ublox::UbxRxmSfrbx > | data |
Decoded data. | |
vendor::ublox::UbxClass | msgClass |
Ubx Message Class (NONE if NMEA message) | |
uint8_t | msgId |
Ubx Message ID. | |
uint16_t | payloadLength |
Payload length in bytes. | |
![]() | |
InsTime | insTime |
Time at which the message was received. | |
Additional Inherited Members | |
![]() | |
std::vector< std::string > | _events |
List of events. | |
ublox Observation Class
Definition at line 25 of file UbloxObs.hpp.
|
inlinenodiscardoverridevirtual |
Returns the type of the data class.
Reimplemented from NAV::NodeData.
Definition at line 37 of file UbloxObs.hpp.
|
inlinestaticnodiscard |
Returns the parent types of the data class.
Definition at line 41 of file UbloxObs.hpp.
|
inlinestaticnodiscard |
Returns the type of the data class.
Definition at line 30 of file UbloxObs.hpp.
Decoded data.
Definition at line 80 of file UbloxObs.hpp.
vendor::ublox::UbxClass NAV::UbloxObs::msgClass |
Ubx Message Class (NONE if NMEA message)
Definition at line 47 of file UbloxObs.hpp.
uint8_t NAV::UbloxObs::msgId |
Ubx Message ID.
Definition at line 49 of file UbloxObs.hpp.
uint16_t NAV::UbloxObs::payloadLength |
Payload length in bytes.
Definition at line 51 of file UbloxObs.hpp.