![]() |
0.4.1
|
Emlid 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::emlid::ErbVer, vendor::emlid::ErbPos, vendor::emlid::ErbStat, vendor::emlid::ErbDops, vendor::emlid::ErbVel, vendor::emlid::ErbSvi, vendor::emlid::ErbRtk > | data |
Decoded data. | |
uint8_t | msgId |
Erb 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. | |
Emlid Observation Class.
Definition at line 25 of file EmlidObs.hpp.
|
inlinenodiscardoverridevirtual |
Returns the type of the data class.
Reimplemented from NAV::NodeData.
Definition at line 37 of file EmlidObs.hpp.
|
inlinestaticnodiscard |
Returns the parent types of the data class.
Definition at line 41 of file EmlidObs.hpp.
|
inlinestaticnodiscard |
Returns the type of the data class.
Definition at line 30 of file EmlidObs.hpp.
std::variant< vendor::emlid::ErbVer, vendor::emlid::ErbPos, vendor::emlid::ErbStat, vendor::emlid::ErbDops, vendor::emlid::ErbVel, vendor::emlid::ErbSvi, vendor::emlid::ErbRtk > NAV::EmlidObs::data |
Decoded data.
Definition at line 61 of file EmlidObs.hpp.
uint8_t NAV::EmlidObs::msgId |
Erb Message ID.
Definition at line 47 of file EmlidObs.hpp.
uint16_t NAV::EmlidObs::payloadLength |
Payload length in bytes.
Definition at line 49 of file EmlidObs.hpp.