Za'atar Digital

eServices for the rest of us

User Tools

Site Tools


gpskit:docs:zdgpskit:nmea:parser

Parser

Type Class
Super Class Thread
Namespace zdGPSKit.NMEA

Methods


ClearSentenceDictionary

Syntax
ClearSentenceDictionary()

Clear all the NMEA sentence cache.

DataFlowError

Syntax
DataFlowError( inErrorCode As Integer )
Parameter
inErrorCode The code of the error.

Part of the implementation of the zdGPSKit.DataListener interface.

GetLatestGPSFix

Syntax
GetLatestGPSFix() As zdGPSKit.Fix

Part of the implementation of the zdGPSKit.FixProvider interface.

Returns the latest GPS fix provided by the GPS device

GetSentence

Syntax
GetSentence( inSentenceType As String ) As zdGPSKit.NMEA.Sentence
Parameter
inSentenceType The type of the NMEA sentence to return.

Returns the most recent zdGPSKit.NMEA.Sentence of the passed type. If the parser hasn't seen this type yet, it returns Nil.

HasSentence

Syntax
HasSentence( inSentenceType As String ) As Boolean
Parameter
inSentenceType The type of the NMEA sentence to look for.

Returns True if the parser has this type of sentence in its dictionary, and False otherwise.

NewData

Syntax
NewData( inData As String )
Parameter
inData The new data sent by the data provider.

Part of the implementation of the zdGPSKit.DataListener interface.

Shutdown

Syntax
HasSentence( inSentenceType As String ) As Boolean

Raise a flag to signal the thread loop that a full stop is required.

gpskit/docs/zdgpskit/nmea/parser.txt · Last modified: 2016/02/08 14:25 (external edit)