NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
s63_serial_reader_interface.h
Go to the documentation of this file.
1 
11 #ifndef SDK_S63_SERIAL_READER_INTERFACE_H_
12 #define SDK_S63_SERIAL_READER_INTERFACE_H_
13 #pragma once
14 
15 #include <base/inc/platform.h>
16 #include <base/inc/sdk_component_base.h>
19 
20 namespace sdk {
21 namespace s63 {
22 
23 FWD_DECL_INTERFACE(IS63SerialReader);
24 
28 static const wchar_t kS63EncSerialFileName[] = L"SERIAL.ENC";
30 static const wchar_t kS63AioSerialFileName[] = L"SERIAL.AIO";
32 
36 {
37  public:
40  virtual SDKResult SDK_CALLTYPE LoadSerialFile(
41  const sdk::base::SDKResourceSP& serial_file_resource,
42  sdk::s63::IS63SerialFileSP& serial_file) const throw() = 0;
43 
45  SDK_IMPLEMENT_IID(IS63SerialReader)
46  SDK_END_INTERFACE(IS63SerialReader)
47 };
48 SDK_DECLARE_IID(IS63SerialReader)
49 
50 } // namespace s63
51 } // namespace sdk
52 
53 #endif // SDK_S63_SERIAL_READER_INTERFACE_H_
sdk::s63::kS63EncSerialFileName
static const wchar_t kS63EncSerialFileName[]
Reserved name for ordinary ENC database SERIAL file.
Definition: s63_serial_reader_interface.h:28
generic_resource_interface.h
Generic data resource interfaces.
sdk::s63::IS63SerialReader
S-63 SERIAL.ENC/SERIAL.AIO files reader.
Definition: s63_serial_reader_interface.h:35
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk::ISDKProperties
Provides access to members that control the properties.
Definition: properties_interface.h:32
SDKRefPtr
A smart pointer class for managing SDK components interface pointers.
Definition: sdk_ref_ptr.h:23
sdk::s63::kS63AioSerialFileName
static const wchar_t kS63AioSerialFileName[]
Reserved name for AIO ENC database SERIAL file.
Definition: s63_serial_reader_interface.h:30
s63_serial_file_interface.h
Container to store S-63 SERIAL.ENC/SERIAL.AIO file data.
platform.h
Describes the platform constants.
sdk::s63::IS63SerialReader::LoadSerialFile
virtual SDKResult SDK_CALLTYPE LoadSerialFile(const sdk::base::SDKResourceSP &serial_file_resource, sdk::s63::IS63SerialFileSP &serial_file) const =0
Loads appropriate data from the SERIAL file and creates an IS63SerialFileSP instance.
FWD_DECL_INTERFACE
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.