2#include "Base/Headers/Time.h"
3#include "Base/Headers/TimeSpan.h"
5#include "NMEAParserPacket.h"
84 Time m_last_connection_attemt_time =
Time(0);
85 TimeSpan m_gps_file_offset = Constant<TimeSpan>::Invalid;
86 bool m_auto_connect =
false;
87 bool m_request_disconnect =
false;
void onRXReadySlot()
Slot called when data is available to read from the connection.
void positionUpdateSignal()
Emitted when a new position fix is parsed.
bool connectUsingFile(File file)
Connects using an NMEA file as input.
fltp08 filePercent() const
Returns the file read progress as a percentage (0.0 to 1.0).
void reset()
Resets the parser and connection state.
void readNMEAScan()
Reads NMEA data from the file scanner.
NMEAUpdateInfo & lastInfo()
Returns the most recent update info.
void update()
Processes pending data from the connection or file.
void satelliteUpdateSignal()
Emitted when satellite information is updated.
Connection * connection()
Returns the underlying connection object.
void setAutoConnect(bool auto_connect)
Sets whether the parser should auto-connect.
void onConnectionChangedSignal(bool connected)
Emitted when the connection state changes.
bool tryOpen()
Attempts to open the configured connection.
File file() const
Returns the file currently being read.
void requestClose()
Requests that the connection be closed.
virtual NMEAUpdateInfo processRxCommand(const StringView &command, const StringView &data) override
Processes a received NMEA command and emits appropriate signals.
void orientationUpdateSignal()
Emitted when orientation data is updated.
CNMEAParserQt(InfoPipe *raw_data_log, QObject *parent=nullptr)
Constructs the Qt NMEA parser.
void setConnection(ConnectionInfo connection)
Sets the connection parameters for the NMEA data source.
~CNMEAParserQt()
Destructor.
void closeNMEAReadFile()
Closes the current NMEA file reader.
A standard interface for all types of connections that allow transmitting and receiving of data betwe...
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
A light-weight base class for Log that allows processes to update, without the need for additional in...
NMEAReader()
Constructs the NMEA reader.
Contains methods for easily reading objects in an ascii stream using set deliminators and line logic.
The core String View class for the NDEVR API.
Stores a time span, or difference between two times, with an optional start time.
Represents a timestamp with utilities for manipulation and conversion.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.
A structure designed to store information about a specific Connection.
Describes what was updated after processing an NMEA sentence, including which data categories changed...