NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
parsed_nmea_sentence_data_enumerator_interface.h
Go to the documentation of this file.
1 #ifndef SDK_ECDIS_NMEA_PARSER_PARSED_NMEA_SENTENCE_DATA_ENUMERATOR_INTERFACE_H_
11 #define SDK_ECDIS_NMEA_PARSER_PARSED_NMEA_SENTENCE_DATA_ENUMERATOR_INTERFACE_H_
12 #pragma once
13 
14 #include <base/inc/platform.h>
15 #include <base/inc/sdk_results.h>
16 #include <base/inc/base_types.h>
17 #include <base/inc/forward_declarations.h>
21 
22 SDK_ECDISLAYER_BEGIN_NAMESPACE
23 
24 namespace nmea {
25 
26 FWD_DECL_INTERFACE(IParsedNMEASentenceDataEnum);
27 
31 {
32  public:
34  virtual SDKResult SDK_CALLTYPE Next(
35  IParsedNMEASentenceDataSP& parsed_nmea_sentence_data) const throw() = 0;
36 
38  virtual SDKResult SDK_CALLTYPE Reset() throw() = 0;
39 
40  SDK_IMPLEMENT_IID(IParsedNMEASentenceDataEnum)
41  SDK_END_INTERFACE(IParsedNMEASentenceDataEnum)
42 };
43 SDK_DECLARE_IID(IParsedNMEASentenceDataEnum)
44 
45 } // namespace nmea
46 
47 SDK_ECDISLAYER_END_NAMESPACE
48 
49 #endif // SDK_ECDIS_NMEA_PARSER_PARSED_NMEA_SENTENCE_DATA_ENUMERATOR_INTERFACE_H_
parsed_nmea_sentence_data_interface.h
A container for parsed NMEA sentence(s) data fields.
nmea::IParsedNMEASentenceDataEnum::Reset
virtual SDKResult SDK_CALLTYPE Reset()=0
Resets the enumeration sequence to the beginning.
sdk_results.h
A list of SDK error/return results.
base_types.h
SDK base types.
nmea::IParsedNMEASentenceDataEnum::Next
virtual SDKResult SDK_CALLTYPE Next(IParsedNMEASentenceDataSP &parsed_nmea_sentence_data) const =0
Retrieves the next parsed NMEA sentence data object in the enumeration sequence.
nmea::IParsedNMEASentenceDataEnum
Enumerator for IParsedNMEASentenceData components.
Definition: parsed_nmea_sentence_data_enumerator_interface.h:30
ecdislayer_const.h
The ecdislayer constants.
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk_component_interface.h
Common base SDK interfaces.
platform.h
Describes the platform constants.
ISDKComponent
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
FWD_DECL_INTERFACE
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.