top
logo

Home Software NMEA Parser Architecture
NMEA Parser Architecture

See also: NMEA parser classes documentation.

Class diagrams

NMEA parser enums

NMEA Parser interfaces

This schema shows main interfaces in NMEA parser.

NMEA Messages classes

This diagram displays a hierarchy of NMEA messages.

NMEA Messages parsers

This diagram displays a hierarchy of NMEA message parsers. Each type of NMEA message has its own parser. All supported types of parsers are registered in NmeaParser (see below).

NMEA Parser

NmeaParser class contains collection of parsers for each NMEA message. It decides what parser to use for specific NMEA string. GenericNmeaMessage class represents parsed NMEA string regardless of message type. It contains information about whether string is valid (checks CRC), components of NMEA message, message type, prefix. See sequence diagrams below for details.

Sequence diagrams

Initializing

This sequence diagram describes the initialization process. As an example of parsers registration it shows RMC message parser creation and registration.

Parsing RMC Mesage

This sequence diagram describes the process of parsing of RMC NMEA string. The string, provided to NmeaParser goes to GenericNmeaMessage. It breaks it into components. After that NmeaParser checks type of NMEA message and calls corresponding parser.

 

bottom

Copyright (c) 2006-2010 Avangardo All Rights Reserved