Manager for connecting to GNSS Service More...

Inheritance diagram for GnssDeepsyService:

Public Member Functions

 GnssDeepsyService (string ip)
 
 GnssDeepsyService (int routePort, int publishPort)
 
 GnssDeepsyService (GnssDeepsyClientDealerConfiguration dealer, GnssDeepsyClientSubscriberConfiguration subscriber)
 
IGnssPosition GetLastPosition ()
 Queries the last position that has been obtained by the module More...
 
IGnssPosition GetCurrentPosition ()
 Return curren position More...
 
override void Dispose ()
 
IGnssManager GetGnss ()
 Get Gnss Manager More...
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

EventHandler< IGnssPositionGnssPosition
 
EventHandler< QualityIndicator.Quality > GnssQualityChanged
 

Additional Inherited Members

- Public Attributes inherited from DeepsyDisposable
bool IsDiposed => Disposed
 
- Protected Attributes inherited from DeepsyDisposable
bool Disposed = false
 
- Events inherited from IGnssNotifier
EventHandler< IGnssPositionGnssPosition
 New position event More...
 
EventHandler< QualityIndicator.Quality > GnssQualityChanged
 Position changed its quality More...
 

Detailed Description

Member Function Documentation

IGnssPosition GetCurrentPosition ( )
Returns
Return current position if it is from the last 5 seconds. Return null instead.

Implements IBasicGnssManager.

IGnssManager GetGnss ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IGnssDeepsyManagerService.

IGnssPosition GetLastPosition ( )
Returns
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IBasicGnssManager.