0.2.0
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.
 

Public Attributes

ScrollingBuffer< doublebuffer
 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.

Constructor & Destructor Documentation

◆ PlotData()

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

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