mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	reverting 3fb0f66 (followup #45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes #45331 too
		
			
				
	
	
		
			89 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/gps/qgsnmeaconnection.h                                     *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsNmeaConnection: QgsGpsConnection
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Evaluates NMEA sentences coming from a GPS device
 | 
						|
 | 
						|
.. versionadded:: 1.4
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsnmeaconnection.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsNmeaConnection( QIODevice *device /Transfer/ );
 | 
						|
%Docstring
 | 
						|
Constructs a QgsNmeaConnection with given ``device``.
 | 
						|
 | 
						|
Ownership of ``device`` is transferred to the connection.
 | 
						|
%End
 | 
						|
 | 
						|
  protected slots:
 | 
						|
    virtual void parseData();
 | 
						|
 | 
						|
%Docstring
 | 
						|
Parse available data source content
 | 
						|
%End
 | 
						|
 | 
						|
  protected:
 | 
						|
    void processStringBuffer();
 | 
						|
%Docstring
 | 
						|
Splits mStringBuffer into sentences and calls libnmea
 | 
						|
%End
 | 
						|
    void processGgaSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process GGA sentence
 | 
						|
%End
 | 
						|
    void processRmcSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process RMC sentence
 | 
						|
%End
 | 
						|
    void processGsvSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process GSV sentence
 | 
						|
%End
 | 
						|
    void processVtgSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process VTG sentence
 | 
						|
%End
 | 
						|
    void processGsaSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process GSA sentence
 | 
						|
%End
 | 
						|
    void processGstSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process GST sentence
 | 
						|
%End
 | 
						|
    void processHdtSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process HDT sentence
 | 
						|
%End
 | 
						|
    void processHchdgSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process HCHDG sentence
 | 
						|
%End
 | 
						|
    void processHchdtSentence( const char *data, int len );
 | 
						|
%Docstring
 | 
						|
process HCHDT sentence
 | 
						|
%End
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/gps/qgsnmeaconnection.h                                     *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |