0.4.1
Loading...
Searching...
No Matches
NAV::Plot::PinData::PlotData Struct Reference

Stores the actual data coming from a pin. More...

Public Member Functions

 PlotData ()=default
 Default constructor (needed to make serialization with json working)
 
 PlotData (std::string displayName, size_t size)
 Constructor.
 

Data Fields

ScrollingBuffer< double > buffer
 Buffer for the data.
 
std::string displayName
 Display name of the contained data.
 
bool hasData
 Flag if data was received, as the buffer contains std::nan("") otherwise.
 
bool isDynamic
 Bool to show if dynamic data.
 
bool markedForDelete
 When connecting a new link. All data is flagged for delete and only those who are also present in the new link are kept.
 

Detailed Description

Stores the actual data coming from a pin.

Definition at line 102 of file Plot.hpp.

Constructor & Destructor Documentation

◆ PlotData() [1/2]

NAV::Plot::PinData::PlotData::PlotData ( )
default

Default constructor (needed to make serialization with json working)

◆ PlotData() [2/2]

NAV::Plot::PinData::PlotData::PlotData ( std::string displayName,
size_t size )

Constructor.

Parameters
[in]displayNameDisplay name of the contained data
[in]sizeSize of the buffer

Definition at line 203 of file Plot.cpp.

Field Documentation

◆ buffer

ScrollingBuffer<double> NAV::Plot::PinData::PlotData::buffer

Buffer for the data.

Definition at line 115 of file Plot.hpp.

◆ displayName

std::string NAV::Plot::PinData::PlotData::displayName

Display name of the contained data.

Definition at line 113 of file Plot.hpp.

◆ hasData

bool NAV::Plot::PinData::PlotData::hasData

Flag if data was received, as the buffer contains std::nan("") otherwise.

Definition at line 117 of file Plot.hpp.

◆ isDynamic

bool NAV::Plot::PinData::PlotData::isDynamic

Bool to show if dynamic data.

Definition at line 122 of file Plot.hpp.

◆ markedForDelete

bool NAV::Plot::PinData::PlotData::markedForDelete

When connecting a new link. All data is flagged for delete and only those who are also present in the new link are kept.

Definition at line 120 of file Plot.hpp.


The documentation for this struct was generated from the following files: