0.2.0
|
Parent class for all data transmitted over Flow pins. More...
Public Member Functions | |
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. | |
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 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 > | 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. | |
Public Attributes | |
InsTime | insTime |
Time at which the message was received. | |
Protected Attributes | |
std::vector< std::string > | _events |
List of events. | |
Parent class for all data transmitted over Flow pins.
|
inline |
Adds the event to the list.
[in] | text | Event text |
|
inlinevirtual |
Get the value for the descriptor.
Reimplemented in NAV::DynamicData, NAV::GnssCombination, NAV::GnssObs, and NAV::SppSolution.
|
inlinevirtual |
Get the value at the index.
Reimplemented in NAV::RtklibPosObs, NAV::SppSolution, NAV::ImuObs, NAV::ImuObsSimulated, NAV::ImuObsWDelta, NAV::KvhObs, NAV::VectorNavBinaryOutput, NAV::InsGnssLCKFSolution, NAV::InsGnssTCKFSolution, NAV::Pos, NAV::PosVel, and NAV::PosVelAtt.
|
inline |
Get the value at the index or NaN if not in the observation.
idx | Index corresponding to data descriptor order |
|
inlinestatic |
Returns the parent types of the data class.
|
inlinestatic |
Returns the type of the data class.