NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
INMEAParser Class Referenceabstract

NMEA parser for NMEA sentences parsing. More...

#include <nmea_parser_interface.h>

Inherits ISDKProperties.

Public Member Functions

virtual SDKResult SDK_CALLTYPE ParseNMEASentence (const SDKString &nmea_sentence, IParsedNMEASentenceDataSP &parsed_nmea_sentence_data)=0 throw ()
 Parses single NMEA sentence.
 
virtual SDKResult SDK_CALLTYPE AddSentenceFilter (const SDKString &talker_id_filter, const SDKString &mnemonic_code_filter)=0 throw ()
 Adds new filter by TalkerID/Mnemonic Code for NMEA sentences
Filtering can be performed by Talker ID, by Mnemonic Code or by both Talker ID and Mnemonic Code. In case filtering by one of parameters is not required, appropriate string value should be empty A sentence will not be parsed, if it does not satisfy a filtering condition.
 
virtual SDKResult SDK_CALLTYPE RemoveSentenceFilter (const SDKString &talker_id_filter, const SDKString &mnemonic_code_filter)=0 throw ()
 Removes currently existing NMEA sentences filter.
 
virtual SDKResult SDK_CALLTYPE GetSentenceFilters (IFiltersEnumSP &filters_enum) const =0 throw ()
 Returns filters enumerator for NMEA sentences.
 
virtual SDKResult SDK_CALLTYPE AddChecksumFilter (const SDKString &talker_id_filter, const SDKString &mnemonic_code_filter)=0 throw ()
 Add a checksum filter for the specified combinations of TalkerIDs and Mnemonics.
Filtering can be performed by Talker ID, by Mnemonic Code or by both Talker ID and Mnemonic Code. In case filtering by one of parameters is not required, appropriate string value should be empty The checksum is not checked if a sentence does not satisfy a filter condition.
 
virtual SDKResult SDK_CALLTYPE RemoveChecksumFilter (const SDKString &talker_id_filter, const SDKString &mnemonic_code_filter)=0 throw ()
 Removes currently existing sentence checksum filter.
 
virtual SDKResult SDK_CALLTYPE GetChecksumFilters (IFiltersEnumSP &filters_enum) const =0 throw ()
 Returns filters enumerator for sentences checksums.
 

Detailed Description

NMEA parser for NMEA sentences parsing.

Supported by G-ECDIS NMEAParser implementation NMEA sentence types: GLL, VTG, RMC, GGA, ZDA, DTM, GNS, HDG, HDT, HDM, VHW, THS, ROT, VDR, VBW DBT, DPT, MWV, MWD, ALR, ACK, TXT, NRX, ABK, TLL, TTM, TLB, TTD, VDO, VDM RTE, WPL, HCR, EVE, HBT, ACM, ALC, ALF, ARC, NRM, NSR, RRT For VDO/VDM following messages are supported:
Messages 1, 2, 3: Position reports
Message 4: Base station report
Message 5: Ship static and voyage related data
Message 6: Addressed binary message
Message 8: Binary broadcast message
Message 9: Standard SAR aircraft position report
Message 11: UTC and date response
Message 12: Addressed safety related message
Message 14: Safety related broadcast message
Message 18: Standard Class B equipment position report
Message 19: Extended Class B equipment position report
Message 21: Aids-to-navigation report (AtoN)
Message 24 A/B: Static data report, Part A and B
Message 27: Long-range automatic identification system broadcast message
For message 6/8 following DAC/FI are supported
DAC - 1, FI = 0: Addressed binary message/Broadcast binary message
DAC - 1, FI = 16: Number of persons on board
DAC - 1, FI = 17: VTS-generated/synthetic targets
DAC - 1, FI = 18: Clearance time to enter port
DAC - 1, FI = 19: Marine traffic signal (Signal station)
DAC - 1, FI = 20: Berthing data
DAC - 1, FI = 22/23: Area notice
DAC - 1, FI = 26: Environmental
DAC - 1, FI = 27/28: Route information broadcast
DAC - 1, FI = 31: Meteorological and Hydrographic data


The documentation for this class was generated from the following file: