42 [[nodiscard]] std::string
type()
const override;
62 constexpr static size_t OUTPUT_PORT_INDEX_NMEA_POS_OBS = 0;
65 bool initialize()
override;
68 void deinitialize()
override;
72 [[nodiscard]] std::shared_ptr<const NodeData> pollData();
76 [[nodiscard]]
FileType determineFileType()
override;
79 void readHeader()
override;
82 bool _hasValidDate =
false;
85 double _oldSoD = -1.0;
98 bool setDateFromZDA(
const std::string& line);
103 bool setDateFromRMC(
const std::string& line);
Abstract File Reader class.
nlohmann::json json
json namespace
Definition FlowManager.hpp:21
Abstract File Reader class.
Definition FileReader.hpp:31
FileType
File Type Enumeration.
Definition FileReader.hpp:35
File Reader for NMEA log files.
Definition NmeaFile.hpp:23
NmeaFile & operator=(NmeaFile &&)=delete
Move assignment operator.
static std::string category()
String representation of the Class Category.
void restore(const json &j) override
Restores the node from a json object.
NmeaFile(const NmeaFile &)=delete
Copy constructor.
int month
Month 01 to 12.
Definition NmeaFile.hpp:91
NmeaFile()
Default constructor.
json save() const override
Saves the node into a json object.
~NmeaFile() override
Destructor.
static std::string typeStatic()
String representation of the Class Type.
int year
Year.
Definition NmeaFile.hpp:90
void guiConfig() override
ImGui config window which is shown on double click.
bool resetNode() override
Resets the node. Moves the read cursor to the start.
std::string type() const override
String representation of the Class Type.
int day
Day 01 to 31.
Definition NmeaFile.hpp:92
NmeaFile & operator=(const NmeaFile &)=delete
Copy assignment operator.
NmeaFile(NmeaFile &&)=delete
Move constructor.
Abstract parent class for all nodes.
Definition Node.hpp:86