Abstract base class for connection to a GPS device.  
 More...
#include <qgsgpsconnection.h>
Abstract base class for connection to a GPS device. 
Definition at line 65 of file qgsgpsconnection.h.
 
◆ Status
| Enumerator | 
|---|
| NotConnected  |  | 
| Connected  |  | 
| DataReceived  |  | 
| GPSDataReceived  |  | 
Definition at line 87 of file qgsgpsconnection.h.
 
 
◆ QgsGpsConnection()
      
        
          | QgsGpsConnection::QgsGpsConnection  | 
          ( | 
          QIODevice *  | 
          dev | ) | 
           | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | dev | input device for the connection (e.g. serial device). The class takes ownership of the object  | 
  
   
Definition at line 29 of file qgsgpsconnection.cpp.
 
 
◆ ~QgsGpsConnection()
  
  
      
        
          | QgsGpsConnection::~QgsGpsConnection  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ close()
      
        
          | bool QgsGpsConnection::close  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ connect()
      
        
          | bool QgsGpsConnection::connect  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ currentGPSInformation()
◆ nmeaSentenceReceived
  
  
      
        
          | void QgsGpsConnection::nmeaSentenceReceived  | 
          ( | 
          const QString &  | 
          substring | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
◆ parseData
  
  
      
        
          | virtual void QgsGpsConnection::parseData  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtualslot   | 
  
 
Parse available data source content. 
 
 
◆ setSource()
      
        
          | void QgsGpsConnection::setSource  | 
          ( | 
          QIODevice *  | 
          source | ) | 
           | 
        
      
 
Sets the GPS source. The class takes ownership of the device class. 
Definition at line 76 of file qgsgpsconnection.cpp.
 
 
◆ stateChanged
◆ status()
  
  
      
        
          | Status QgsGpsConnection::status  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returns the status. Possible state are not connected, connected, data received. 
Definition at line 110 of file qgsgpsconnection.h.
 
 
◆ mLastGPSInformation
Last state of the gps related variables (e.g. position, time, ...) 
Definition at line 123 of file qgsgpsconnection.h.
 
 
◆ mSource
  
  
      
        
          | QIODevice* QgsGpsConnection::mSource = nullptr | 
         
       
   | 
  
protected   | 
  
 
 
◆ mStatus
  
  
      
        
          | Status QgsGpsConnection::mStatus | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: