 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_SENC_BUILDER_INTERFACE_H_
12 #define SDK_SENC_BUILDER_INTERFACE_H_
17 #include <base/inc/forward_declarations.h>
25 #include <datalayer/inc/s63_base/s63_products_file_interface.h>
28 #include <datalayer/inc/senc/senc_exchange_set.h>
31 SDK_GDB_BEGIN_NAMESPACE
62 0xFC, 0xA6, 0x82, 0xCE, 0x8E, 0x12, 0xCA, 0xBA,
63 0x26, 0xEF, 0xCC, 0xF7, 0x11, 0x0E, 0x52, 0x6D,
64 0xB0, 0x78, 0xB0, 0x5E, 0xDE, 0xCB, 0xCD, 0x1E,
65 0xB4, 0xA2, 0x08, 0xF3, 0xAE, 0x16, 0x17, 0xAE,
66 0x01, 0xF3, 0x5B, 0x91, 0xA4, 0x7E, 0x6D, 0xF6,
67 0x34, 0x13, 0xC5, 0xE1, 0x2E, 0xD0, 0x89, 0x9B,
68 0xCD, 0x13, 0x2A, 0xCD, 0x50, 0xD9, 0x91, 0x51,
69 0xBD, 0xC4, 0x3E, 0xE7, 0x37, 0x59, 0x2E, 0x17
71 static const SDKUInt8 kIHOPublicKeyQData[] =
73 0x96, 0x2E, 0xDD, 0xCC, 0x36, 0x9C, 0xBA, 0x8E,
74 0xBB, 0x26, 0x0E, 0xE6, 0xB6, 0xA1, 0x26, 0xD9,
75 0x34, 0x6E, 0x38, 0xC5
77 static const SDKUInt8 kIHOPublicKeyGData[] =
79 0x67, 0x84, 0x71, 0xB2, 0x7A, 0x9C, 0xF4, 0x4E,
80 0xE9, 0x1A, 0x49, 0xC5, 0x14, 0x7D, 0xB1, 0xA9,
81 0xAA, 0xF2, 0x44, 0xF0, 0x5A, 0x43, 0x4D, 0x64,
82 0x86, 0x93, 0x1D, 0x2D, 0x14, 0x27, 0x1B, 0x9E,
83 0x35, 0x03, 0x0B, 0x71, 0xFD, 0x73, 0xDA, 0x17,
84 0x90, 0x69, 0xB3, 0x2E, 0x29, 0x35, 0x63, 0x0E,
85 0x1C, 0x20, 0x62, 0x35, 0x4D, 0x0D, 0xA2, 0x0A,
86 0x6C, 0x41, 0x6E, 0x50, 0xBE, 0x79, 0x4C, 0xA4
88 static const SDKUInt8 kIHOPublicKeyYData[] =
90 0x96, 0x3F, 0x14, 0xE3, 0x2B, 0xA5, 0x37, 0x29,
91 0x28, 0xF2, 0x4F, 0x15, 0xB0, 0x73, 0x0C, 0x49,
92 0xD3, 0x1B, 0x28, 0xE5, 0xC7, 0x64, 0x10, 0x02,
93 0x56, 0x4D, 0xB9, 0x59, 0x95, 0xB1, 0x5C, 0xF8,
94 0x80, 0x0E, 0xD5, 0x4E, 0x35, 0x48, 0x67, 0xB8,
95 0x2B, 0xB9, 0x59, 0x7B, 0x15, 0x82, 0x69, 0xE0,
96 0x79, 0xF0, 0xC4, 0xF4, 0x92, 0x6B, 0x17, 0x76,
97 0x1C, 0xC8, 0x9E, 0xB7, 0x7C, 0x9B, 0x7E, 0xF8
102 0xFC, 0xA6, 0x82, 0xCE, 0x8E, 0x12, 0xCA, 0xBA,
103 0x26, 0xEF, 0xCC, 0xF7, 0x11, 0x0E, 0x52, 0x6D,
104 0xB0, 0x78, 0xB0, 0x5E, 0xDE, 0xCB, 0xCD, 0x1E,
105 0xB4, 0xA2, 0x08, 0xF3, 0xAE, 0x16, 0x17, 0xAE,
106 0x01, 0xF3, 0x5B, 0x91, 0xA4, 0x7E, 0x6D, 0xF6,
107 0x34, 0x13, 0xC5, 0xE1, 0x2E, 0xD0, 0x89, 0x9B,
108 0xCD, 0x13, 0x2A, 0xCD, 0x50, 0xD9, 0x91, 0x51,
109 0xBD, 0xC4, 0x3E, 0xE7, 0x37, 0x59, 0x2E, 0x17
111 static const SDKUInt8 kPRIMARPublicKeyQData[] =
113 0x96, 0x2E, 0xDD, 0xCC, 0x36, 0x9C, 0xBA, 0x8E,
114 0xBB, 0x26, 0x0E, 0xE6, 0xB6, 0xA1, 0x26, 0xD9,
115 0x34, 0x6E, 0x38, 0xC5
117 static const SDKUInt8 kPRIMARPublicKeyGData[] =
119 0x67, 0x84, 0x71, 0xB2, 0x7A, 0x9C, 0xF4, 0x4E,
120 0xE9, 0x1A, 0x49, 0xC5, 0x14, 0x7D, 0xB1, 0xA9,
121 0xAA, 0xF2, 0x44, 0xF0, 0x5A, 0x43, 0x4D, 0x64,
122 0x86, 0x93, 0x1D, 0x2D, 0x14, 0x27, 0x1B, 0x9E,
123 0x35, 0x03, 0x0B, 0x71, 0xFD, 0x73, 0xDA, 0x17,
124 0x90, 0x69, 0xB3, 0x2E, 0x29, 0x35, 0x63, 0x0E,
125 0x1C, 0x20, 0x62, 0x35, 0x4D, 0x0D, 0xA2, 0x0A,
126 0x6C, 0x41, 0x6E, 0x50, 0xBE, 0x79, 0x4C, 0xA4
128 static const SDKUInt8 kPRIMARPublicKeyYData[] =
130 0xAA, 0x25, 0xDF, 0x9E, 0xC3, 0xCA, 0x96, 0xB7,
131 0x9D, 0x01, 0x3E, 0xD8, 0xD5, 0x72, 0xD4, 0x7C,
132 0xB3, 0xF3, 0x80, 0xD0, 0x73, 0x1D, 0xEA, 0x47,
133 0xB1, 0x06, 0x26, 0xBA, 0xC3, 0x87, 0xC1, 0xFA,
134 0x3C, 0x33, 0xEC, 0x55, 0x68, 0x45, 0x37, 0x44,
135 0x76, 0xBE, 0x58, 0x25, 0x6E, 0x07, 0xA7, 0x4D,
136 0x60, 0x7F, 0x7A, 0x5E, 0x7B, 0x7E, 0x34, 0x55,
137 0x71, 0xD8, 0x21, 0x10, 0x4C, 0x8A, 0xC4, 0xBF
208 kSENCBuilderPropertyID_SENCMinSizeForDefragmentation = 9,
358 const SDKAny& sa_certificate_path,
359 sdk::crypt::DSAPublicCryptoKeySP& public_key,
360 SDKTime& certificate_start_date,
361 SDKTime& certificate_expiration_date,
362 bool& is_iho_certificate)
const throw() = 0;
372 bool& is_enc_database, SDKUInt64& flags)
const throw() = 0;
384 const SDKAny& path_to_navstick,
bool& is_navstick,
385 SDKUInt64& flags)
const throw() = 0;
397 const SDKAny& path_to_navstick,
const SDKString& system_id,
398 SDKAny& permits_file_on_navstick)
const throw() = 0;
408 const SDKAny& path_to_enc,
418 const SDKString& navstick_root,
419 const SDKString& dest_senc_root)
const throw() = 0;
439 const SDKString& enc_path,
440 const SDKString& senc_path,
441 const SDKString& enc_storage_path,
442 const SDKString& sa_certificate_path,
443 const SDKString& permits_path,
444 const sdk::s63::HW_ID& hw_id)
const throw() = 0;
455 const SDKString& senc_path,
const SDKString& enc_storage_path,
456 const SDKString& dataset_names_to_remove)
const throw() = 0;
473 const SDKString& senc_path,
474 const SDKString& enc_storage_path,
475 const SDKString& permits_path,
476 const sdk::s63::HW_ID& hw_id,
477 const SDKString& update_cell_names_to_remove)
const throw() = 0;
486 const SDKString& senc_database_name,
487 const SDKString& enc_storage_path)
const throw() = 0;
493 const SDKString& dest_senc_path)
const throw() = 0;
501 IENCInfoSP& enc_info)
const throw() = 0;
523 const SDKString& senc_path,
524 const SDKString& enc_storage_path,
525 const SDKString& dest_senc_path,
526 const SDKString& permits_path,
527 const sdk::s63::HW_ID& hw_id,
528 const SDKString& cell_name,
529 const SDKUInt32& first_updn,
530 const SDKUInt32& last_updn)
const throw() = 0;
540 bool& is_aml_database, SDKUInt64& flags)
const throw() = 0;
598 const SDKUInt32& curr_stage,
599 const SDKUInt32& total_stages,
600 const SDKUInt32& percentage_completed,
601 bool& abort_operation)
throw() = 0;
608 const SDKString& cell_name)
throw() = 0;
616 kMessageLevel_Info = 0,
617 kMessageLevel_Warning = 2,
618 kMessageLevel_Error = 1,
620 virtual SDKResult SDK_CALLTYPE OnS57ToSENCConverterMessage(
621 const SDKUInt8& message_level,
const SDKString& message)
throw() = 0;
628 const bool& is_error,
const SDKString& message)
throw() = 0;
633 SDK_DECLARE_IID(ISENCBuilderCallback)
646 const SDKString& cell_name)
throw() = 0;
652 const SDKString& cell_name)
throw() = 0;
658 const SDKString& cell_name)
throw() = 0;
660 SDK_IMPLEMENT_IID(ISENCBuildReport)
661 SDK_END_INTERFACE(ISENCBuildReport)
663 SDK_DECLARE_IID(ISENCBuildReport)
831 virtual s63::IS63SerialFileSP
GetSerialFile()
const throw() = 0;
835 virtual s63::IS63MediaFileSP
GetMediaFile()
const throw() = 0;
837 virtual s63::IS63StatusFileSP
GetStatusFile()
const throw() = 0;
850 SDK_GDB_END_NAMESPACE
852 #endif // SDK_SENC_BUILDER_INTERFACE_H_
virtual SDKResult SDK_CALLTYPE CellPartiallyCompiled(const SDKString &cell_name)=0
Will be called in case given ENC cell is not fully updated due of source ENC data is corrupted (updat...
@ kFindNavStickFlag_SENCPresent
Compiled SENC presents.
Definition: senc_builder_interface.h:323
virtual SDKResult GetDataserverID(s63::DataServerID &ds_id) const =0
Returns dataserver ID.
virtual SDKResult SDK_CALLTYPE CellNotCompiled(const SDKString &cell_name)=0
Will be called in case given ENC cell is not compiled at all due of source ENC data is corrupted (bas...
EncryptionType
Set of possible encryption types Defined in datalayer/inc/senc_builder/senc_builder_interface....
Definition: senc_builder_interface.h:734
@ kEncryptionType_ENCEncryption
Default ENC encryption in use.
Definition: senc_builder_interface.h:743
@ kMediaType_AMLV3Media
AML V3 media.
Definition: senc_builder_interface.h:725
FindAMLFlags
Returns flags for details of FindAML call result. Defined in datalayer/inc/senc_builder/senc_builder_...
Definition: senc_builder_interface.h:329
virtual SDKResult SDK_CALLTYPE BuildSENC(const SDKString &senc_database_name, const SDKString &enc_path, const SDKString &senc_path, const SDKString &enc_storage_path, const SDKString &sa_certificate_path, const SDKString &permits_path, const sdk::s63::HW_ID &hw_id) const =0
Creates or updates a SENC from an ENC. In case an old SENC exists in the folder, it will be updated; ...
virtual SDKResult SDK_CALLTYPE BuildSENCFromNavStick(const SDKString &navstick_root, const SDKString &dest_senc_root) const =0
Creates or updates a SENC from the NavStick ENC. In case an old SENC exists in the folder,...
@ kCDType_Update
Update CD.
Definition: senc_builder_interface.h:791
virtual EncryptionType GetEncryptionType() const =0
Returns encryption type.
@ kSENCBuilderPropertyID_SencConverterUnknownFeatureWarning
S-57 to SENC converter Unknown Feature Warning property. (Same as -unknown-feature-warning key for SD...
Definition: senc_builder_interface.h:256
@ kSENCBuilderStage_FormingCellsListToDelete
Forming a list of cells to delete from SENC stage.
Definition: senc_builder_interface.h:572
@ kSENCBuilderStage_ProcessingSourceAIODatabaseCatalog
AIO ENC database catalog parsing stage.
Definition: senc_builder_interface.h:577
SDKUInt8 DataServerID[2]
Dataserver ID.
Definition: s63_cell_permits_interface.h:29
virtual SDKResult GetMediaID(SDKString &media_id) const =0
Returns media ID.
Container to store S-63 STATUS.LST file data.
@ kSENCBuilderStage_StoreInternalENCDatabaseCatalog
Saving internal ENC database catalog stage.
Definition: senc_builder_interface.h:562
@ kFindAMLFlag_AmlV2
AML V2 database.
Definition: senc_builder_interface.h:332
@ kSENCBuilderUserEventAction_AllowAction
Allows given action.
Definition: senc_builder_interface.h:679
@ kSENCBuilderPropertyID_SENCFragmentationThreshold
Following two parameters controls the criteria to regenerate SENC database due of high fragmentation....
Definition: senc_builder_interface.h:207
@ kSENCBuilderStage_UpdatingInternalENCDatabaseCatalog
Updating internal ENC database catalog stage.
Definition: senc_builder_interface.h:561
@ kENCDataType_ENC_SENC
ENC + SENC.
Definition: senc_builder_interface.h:772
virtual SDKResult SDK_CALLTYPE CopySENC(const SDKString &source_senc_path, const SDKString &dest_senc_path) const =0
Copies or updates an existing SENC by a new one.
virtual SDKResult SDK_CALLTYPE OnUserEvent(const SENCBuilderUserEventTypes &event_type, const SDKAny &event_params, SENCBuilderUserEventActions &user_action)=0
User event notifier.
@ kSENCBuilderPropertyID_SencConverterNoPrintObjectNames
S-57 to SENC converter No Print Object Names property. (Same as -no-print-object-names key for SDK S-...
Definition: senc_builder_interface.h:284
@ kSENCBuilderPropertyID_SencConverterToolName
The S-57 to SENC converter tool name.
Definition: senc_builder_interface.h:152
@ kSENCBuilderStage_ReadingInternalENCDatabaseCatalog
Internal ENC database catalog reading stage.
Definition: senc_builder_interface.h:558
static const wchar_t *const kSENCDatabaseOnNavStickPath
Path to SENC database on NavStick.
Definition: senc_builder_interface.h:57
Generic data resource interfaces.
SENCBuilderPropertyIDs
Generic SENC builder properties. Defined in datalayer/inc/senc_builder/senc_builder_interface....
Definition: senc_builder_interface.h:144
@ kSENCBuilderStage_ProcessingOldSENCDatabase
Old SENC database processing stage.
Definition: senc_builder_interface.h:556
@ kSENCBuilderUserEventType_RebuildSENC
SENC should be fully regenerated to perform given operation event.
Definition: senc_builder_interface.h:671
@ kSENCBuilderStage_RunningConverterTool
Running S-57 to SENC converter tool stage.
Definition: senc_builder_interface.h:570
@ kENCDataType_AIO_SENC
AIO + SENC
Definition: senc_builder_interface.h:774
virtual s63::IS63SerialFileSP GetSerialFile() const =0
Returns SERIAL.ENC file container.
Set of interfaces for S-63 cell permits description.
@ kSENCBuilderPropertyID_MakeSencUseDisplayScaleTable
Make SENC tool Use Display Scale Table property. (Same as -use_display_scale_table key for Make SENC ...
Definition: senc_builder_interface.h:301
@ kMediaType_ENCMedia
Ordinary ENC database media.
Definition: senc_builder_interface.h:716
virtual ENCDataType GetDataType() const =0
Returns ENC data type.
@ kSENCBuilderStage_ProcessingSourceENCDatabase
Source ENC database processing stage.
Definition: senc_builder_interface.h:555
static const SDKUInt8 kIHOPublicKeyPData[]
IHO DSA public key.
Definition: senc_builder_interface.h:60
@ kSENCBuilderUserEventAction_AbortOperation
Aborts given operation.
Definition: senc_builder_interface.h:681
virtual CDType GetCDType() const =0
Returns CD type.
@ kENCDataType_ENC_AIO_SENC
ENC + AIO + SENC.
Definition: senc_builder_interface.h:776
@ kCDType_Unknown
Unknown CD type.
Definition: senc_builder_interface.h:785
Object generic properties interface.
static const wchar_t *const kENCDatabaseOnNavStickPath
Path to the ENC on the NavStick.
Definition: senc_builder_interface.h:53
@ kFindNavStickFlag_AIOPresent
S-63 AIO database presents.
Definition: senc_builder_interface.h:322
SENCBuilderUserEventTypes
Set of available SENC builder user events Defined in datalayer/inc/senc_builder/senc_builder_interfac...
Definition: senc_builder_interface.h:668
@ kSENCBuilderStage_UpdatingInternalENCDatabase
Updating internal ENC database stage.
Definition: senc_builder_interface.h:560
@ kFindENCFlag_ClosingCorrection
ENC database is a closing correction (empty ENC update)
Definition: senc_builder_interface.h:312
@ kSENCBuilderStage_ProcessingNavStickDatabase
NavStick database processing stage.
Definition: senc_builder_interface.h:554
SDKUInt8 SerialFileWeekOfIssue
SERIAL file week of issue.
Definition: s63_serial_file_interface.h:45
@ kMediaType_Unknown
Unknown ENC media type.
Definition: senc_builder_interface.h:710
The SENC builder component is intended to build and update a SENC database from the S57/S-63 data....
Definition: senc_builder_interface.h:342
@ kFindENCFlag_AIODatabase
ENC database is AIO database.
Definition: senc_builder_interface.h:310
virtual SDKResult SDK_CALLTYPE CellSuccessfullyCompiled(const SDKString &cell_name)=0
Will be called in case given ENC cell successfully converted.
@ kENCDataType_AIO
AIO database.
Definition: senc_builder_interface.h:758
@ kSENCBuilderPropertyID_OverrideSdkConfigParamsForSencConverter
Given option allows to override default sdk_config.xml parameters with user-defined params for S-57 t...
Definition: senc_builder_interface.h:237
@ kSENCBuilderStage_FormingUpdatesListToDelete
Forming a list of updates to delete from SENC stage.
Definition: senc_builder_interface.h:573
@ kSENCBuilderPropertyID_BuildSencCellsList
Cells filter for BuildSENC operation, only listed cells will be compiled into SENC,...
Definition: senc_builder_interface.h:220
@ kMediaType_AMLV2Media
AML V2 media.
Definition: senc_builder_interface.h:722
@ kENCDataType_AML_V3
AML V3 database.
Definition: senc_builder_interface.h:767
MessageLevel
The S-57 to SENC converter message notifier.
Definition: senc_builder_interface.h:614
MediaType
Set of possible ENC media types Defined in datalayer/inc/senc_builder/senc_builder_interface....
Definition: senc_builder_interface.h:707
@ kSENCBuilderStage_ReadingSourceENCDatabaseCatalog
Source ENC database catalog reading stage.
Definition: senc_builder_interface.h:552
Set of interfaces for asymmetric cryptographic key implementation for DSA which provides specific to ...
virtual SDKResult SDK_CALLTYPE GetSACertificateInfo(const SDKAny &sa_certificate_path, sdk::crypt::DSAPublicCryptoKeySP &public_key, SDKTime &certificate_start_date, SDKTime &certificate_expiration_date, bool &is_iho_certificate) const =0
Returns the SA certificate or SA public key details.
@ kSENCBuilderPropertyID_SencConverterBackRefsOn
S-57 to SENC converter Back References On property. (Same as -backrefs_on key for SDK S-57 to SENC co...
Definition: senc_builder_interface.h:280
@ kENCDataType_Unknown
Unknown data type.
Definition: senc_builder_interface.h:752
@ kSENCBuilderStage_CopySENC
Copying SENC to new location.
Definition: senc_builder_interface.h:575
The SENC Builder callback interface. This interface is used to get the SENC builder processing report...
Definition: senc_builder_interface.h:586
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
virtual SDKResult SDK_CALLTYPE FindNavStick(const SDKAny &path_to_navstick, bool &is_navstick, SDKUInt64 &flags) const =0
Identifies the NavStick on the specified path.
@ kSENCBuilderPropertyID_MakeSencToolPath
Make SENC tool path.
Definition: senc_builder_interface.h:176
@ kSENCBuilderStage_StoreTemporaryENCCatalog
Saving temporary ENC catalog stage.
Definition: senc_builder_interface.h:565
@ kSENCBuilderStage_StoreMakeSENCDeleteList
Saving Make SENC delete cells list file stage.
Definition: senc_builder_interface.h:569
virtual SDKResult SDK_CALLTYPE OnMakeSENCToolMessage(const bool &is_error, const SDKString &message)=0
The Make SENC tool message notifier.
Geo database constants and structures.
static const wchar_t kIHOPublicKeyFileName[]
The official IHO SA public key file name.
Definition: senc_builder_interface.h:50
@ kSENCBuilderStage_ProcessingInternalENCDatabaseCatalog
Internal ENC database catalog parsing stage.
Definition: senc_builder_interface.h:559
static const wchar_t kIHOCertificateFileName[]
The official IHO SA certificate file name.
Definition: senc_builder_interface.h:48
virtual SDKTime GetIssueDate() const =0
Returns media issue date.
@ kSENCBuilderPropertyID_S01FolderName
Common folder name to store *.S01 files, if empty - cell name will be used instead (separate folders ...
Definition: senc_builder_interface.h:230
virtual SDKResult SDK_CALLTYPE GetENCInfo(const SDKAny &path, IENCInfoSP &enc_info) const =0
Returns information about source ENC database on the specified path.
@ kFindAMLFlag_NoDataPresent
No data presents.
Definition: senc_builder_interface.h:331
@ kFindENCFlag_NoFlags
No flags.
Definition: senc_builder_interface.h:309
virtual SDKResult SDK_CALLTYPE FindPermitsOnNavStick(const SDKAny &path_to_navstick, const SDKString &system_id, SDKAny &permits_file_on_navstick) const =0
Finds appropriate permits file on NavStick.
@ kSENCBuilderStage_ProcessingSourceENCDatabaseCatalog
Source ENC database catalog parsing stage.
Definition: senc_builder_interface.h:553
static const SDKUInt8 kPRIMARPublicKeyPData[]
PRIMAR DSA public key.
Definition: senc_builder_interface.h:100
Common base SDK interfaces.
virtual SDKResult SDK_CALLTYPE RemoveDatasetsFromSENC(const SDKString &senc_path, const SDKString &enc_storage_path, const SDKString &dataset_names_to_remove) const =0
Removes a set of datasets from the SENC.
@ kSENCBuilderStage_ReadingSourceAIODatabaseCatalog
AIO ENC database catalog reading stage.
Definition: senc_builder_interface.h:576
@ kENCDataType_SENC
SENC database.
Definition: senc_builder_interface.h:761
@ kSENCBuilderStage_CreateMakeSENCDeleteList
Generating Make SENC delete cells list file stage.
Definition: senc_builder_interface.h:568
virtual SDKResult SDK_CALLTYPE RemoveUpdatesFromSENC(const SDKString &senc_path, const SDKString &enc_storage_path, const SDKString &permits_path, const sdk::s63::HW_ID &hw_id, const SDKString &update_cell_names_to_remove) const =0
Removes a set of updates for from the SENC.
@ kSENCBuilderPropertyID_MakeSencToolName
Make SENC tool name.
Definition: senc_builder_interface.h:168
static const wchar_t *const kAIODatabaseOnNavStickPath
Path to AIO database on NavStick.
Definition: senc_builder_interface.h:55
@ kFindENCFlag_NavStick
ENC database is on NavStick.
Definition: senc_builder_interface.h:311
Container to store S-63 SERIAL.ENC/SERIAL.AIO file data.
virtual SDKResult GetMediaName(SDKString &name) const =0
Returns Media name.
virtual SDKResult SDK_CALLTYPE FindENC(const SDKAny &path, bool &is_enc_database, SDKUInt64 &flags) const =0
Finds an ENC on the specified path.
virtual SDKResult SDK_CALLTYPE BuildAppliedUpdatesInfo(const SDKString &senc_path, const SDKString &enc_storage_path, const SDKString &dest_senc_path, const SDKString &permits_path, const sdk::s63::HW_ID &hw_id, const SDKString &cell_name, const SDKUInt32 &first_updn, const SDKUInt32 &last_updn) const =0
Builds new SENC database with information about updates applied to given cell.
@ kENCDataType_AML_V2
AML V2 database.
Definition: senc_builder_interface.h:764
@ kSENCBuilderPropertyID_OverrideSdkConfigParamsForMakeSenc
Given option allows to override default sdk_config.xml parameters with user-defined params for Make S...
Definition: senc_builder_interface.h:244
@ kMediaType_SENCMedia
Pre-built SENC database media (folder with root.cat)
Definition: senc_builder_interface.h:728
@ kFindNavStickFlag_NoDataPresent
No data presents.
Definition: senc_builder_interface.h:320
@ kSENCBuilderStage_UpdatingUpdateSENCActions
Updating update SENC actions list stage.
Definition: senc_builder_interface.h:563
virtual SDKResult SDK_CALLTYPE OnProgress(const SENCBuilderStage &stage, const SDKUInt32 &curr_stage, const SDKUInt32 &total_stages, const SDKUInt32 &percentage_completed, bool &abort_operation)=0
Notifies a client about the SENC builder processing progress.
SENCBuilderStage
Set of available SENC builder progress stages Defined in datalayer/inc/senc_builder/senc_builder_inte...
Definition: senc_builder_interface.h:550
@ kSENCBuilderPropertyID_SencConverterUnknownAttributeWarning
S-57 to SENC converter Unknown Attribute Warning property. (Same as -unknown-attribute-warning key fo...
Definition: senc_builder_interface.h:260
static const wchar_t kSAPublicKeyFileExtension[]
The SA public key file extension.
Definition: senc_builder_interface.h:45
static const wchar_t kSACertificateFileExtension[]
The SA certificate file extension.
Definition: senc_builder_interface.h:43
@ kSENCBuilderPropertyID_SencConverterHazardsOff
S-57 to SENC converter Hazards Off property. (Same as -haz_off key for SDK S-57 to SENC converter).
Definition: senc_builder_interface.h:276
An interface, which allows to perform conversions on HW_ID, M_ID, M_KEY i.e. allows to get/parse the ...
@ kENCDataType_ENC_AIO
ENC + AIO.
Definition: senc_builder_interface.h:770
@ kSENCBuilderUserEventAction_DeclineAction
Declines given action.
Definition: senc_builder_interface.h:680
@ kENCDataType_ENC
Ordinary ENC database.
Definition: senc_builder_interface.h:755
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
@ kSENCBuilderPropertyID_SencConverterToolPath
S-57 to SENC converter path.
Definition: senc_builder_interface.h:160
@ kSENCBuilderPropertyID_SencConverterEncryptSENC
S-57 to SENC converter Encrypt SENC property. (Same as -encrypt key for SDK S-57 to SENC converter).
Definition: senc_builder_interface.h:268
@ kSENCBuilderStage_StoreSENCCellsCRCList
Saving a list of CRCs for SENC cells.
Definition: senc_builder_interface.h:574
@ kSENCBuilderPropertyID_TempFolderPath
Temporary folder path.
Definition: senc_builder_interface.h:183
virtual SDKResult SDK_CALLTYPE GetDataserverID(const SDKAny &path_to_enc, sdk::s63::DataServerID &dataserver_id) const =0
Returns the dataserver ID produced the ENC. Path should point to the directory containing CATALOG....
@ kSENCBuilderPropertyID_MakeSencPortrayalCatalog
Make SENC tool Portrayal Catalog path name property. (Same as -portrayal key for Make SENC tool).
Definition: senc_builder_interface.h:292
@ kSENCBuilderStage_RunningMakeSencTool
Running Make SENC tool stage.
Definition: senc_builder_interface.h:571
@ kSENCBuilderStage_StoreTemporaryPermits
Saving temporary PERMIT.TXT file stage.
Definition: senc_builder_interface.h:567
@ kSENCBuilderStage_CreateTemporaryPermits
Generating temporary PERMIT.TXT file stage.
Definition: senc_builder_interface.h:566
@ kSENCBuilderStage_UpdatingProductsTxtData
Updating SENC PRODUCTS.TXT data.
Definition: senc_builder_interface.h:578
The SENC Builder user event callback interface. This interface is used to get the SENC builder user e...
Definition: senc_builder_interface.h:688
FindNavStickFlags
Returns flags for details of FindNavStick call result. Defined in datalayer/inc/senc_builder/senc_bui...
Definition: senc_builder_interface.h:318
@ kSENCBuilderStage_CheckingDestinationSENCDatabase
Check destination SENC database processing stage.
Definition: senc_builder_interface.h:579
@ kSENCBuilderStage_FormingUpdateSENCActions
Forming update SENC actions list stage.
Definition: senc_builder_interface.h:557
virtual bool IsClosingCorrection() const =0
Checks, if given info is about a closing correction (empty ENC update without CATALOG....
@ kSENCBuilderPropertyID_DontPackSerialEncIntoSenc
Don't pack information from SERIAL.ENC/MEDIA.TXT file into SENC.
Definition: senc_builder_interface.h:226
CDType
Set of possible CD types Defined in datalayer/inc/senc_builder/senc_builder_interface....
Definition: senc_builder_interface.h:782
@ kFindAMLFlag_AmlV3
AML V3 database.
Definition: senc_builder_interface.h:333
SDK_END_NAMESPACE typedef SDKInt64 SDKTime
Milliseconds from Unix epoch.
Definition: base_types.h:56
@ kSENCBuilderPropertyID_DetermineIHOCertificateByPublicKey
Determine IHO certificate by public key also, not only by file name.
Definition: senc_builder_interface.h:195
SENCBuilderUserEventActions
Set of available SENC builder user event actions Defined in datalayer/inc/senc_builder/senc_builder_i...
Definition: senc_builder_interface.h:677
virtual s63::IS63StatusFileSP GetStatusFile() const =0
Returns STATUS.LST file container.
FindENCFlags
Returns flags for details of FindENC call result. Defined in datalayer/inc/senc_builder/senc_builder_...
Definition: senc_builder_interface.h:307
virtual s63::SerialFileWeekOfIssue GetWeekOfIssue() const =0
Returns Week of Issue.
SDKUInt32 SerialFileYearOfIssue
SERIAL file year of issue.
Definition: s63_serial_file_interface.h:50
@ kEncryptionType_Unknown
Unknown encryption type.
Definition: senc_builder_interface.h:737
@ kSENCBuilderPropertyID_CatalogFileName
Catalog file name In case a user-defined source ENC database catalog file name should be used,...
Definition: senc_builder_interface.h:189
virtual s63::SerialFileYearOfIssue GetYearOfIssue() const =0
Returns Year of Issue.
@ kSENCBuilderPropertyID_SencConverterDictionaryPath
S-57 to SENC converter dictionary path. (Same as -dic key for SDK S-57 to SENC converter).
Definition: senc_builder_interface.h:248
@ kSENCBuilderPropertyID_MakeSencBlobMaxSize
Make SENC tool Blob Max Size (in MB) property. (Same as -blob_max_size key for Make SENC tool)....
Definition: senc_builder_interface.h:297
virtual SDKResult SDK_CALLTYPE FindAML(const SDKAny &path, bool &is_aml_database, SDKUInt64 &flags) const =0
Finds an AML database on the specified path.
virtual SDKResult SDK_CALLTYPE RemoveENCStorage(const SDKString &senc_database_name, const SDKString &enc_storage_path) const =0
Removes the ENC storage. The ENC storage holds all ENCs used for producing the SENC.
@ kSENCBuilderPropertyID_CheckFilesSignature
Check ENC database binary files signature flag.
Definition: senc_builder_interface.h:211
virtual s63::IS63ProductsFileSP GetProductsFile() const =0
Returns PRODUCTS.TXT file container.
The source ENC database info This interface is used to get information about source ENC database Defi...
Definition: senc_builder_interface.h:798
@ kSENCBuilderPropertyID_MakeSencFeatureCatalog
Make SENC tool Feature Catalog path name property. (Same as -fct key for Make SENC tool).
Definition: senc_builder_interface.h:288
@ kSENCBuilderPropertyID_DontPackProductsTxtIntoSenc
Don't pack information from PRODUCTS.TXT file into SENC.
Definition: senc_builder_interface.h:223
virtual s63::IS63MediaFileSP GetMediaFile() const =0
Returns MEDIA.TXT file container.
@ kSENCBuilderPropertyID_SencConverterDictionaryProfile
S-57 to SENC converter dictionary profile name. (Same as -dic_profile key for SDK S-57 to SENC conver...
Definition: senc_builder_interface.h:252
@ kFindNavStickFlag_ENCPresent
S-63 ENC database presents.
Definition: senc_builder_interface.h:321
virtual SDKResult GetMediaRegionalInfo(SDKString ®_info) const =0
Returns Media regional info.
@ kSENCBuilderPropertyID_SencConverterCoverageOff
S-57 to SENC converter Coverage Off property. (Same as -cov_off key for SDK S-57 to SENC converter).
Definition: senc_builder_interface.h:272
@ kSENCBuilderPropertyID_CheckSENCCellsCRCForNavStick
Check SENC cells CRC for NavStick.
Definition: senc_builder_interface.h:192
@ kSENCBuilderStage_CreateTemporaryENCCatalog
Generating temporary ENC catalog stage.
Definition: senc_builder_interface.h:564
@ kMediaType_NavStick
NavStick.
Definition: senc_builder_interface.h:713
virtual SDKResult SDK_CALLTYPE OnSENCBuilderMessage(const SDKResult &sse_result, const SDKString &cell_name)=0
The SENC Builder message notifier.
ENCDataType
Set of possible data types on given ENC media Defined in datalayer/inc/senc_builder/senc_builder_inte...
Definition: senc_builder_interface.h:749
@ kSENCBuilderPropertyID_SencConverterProhibitedAttributeWarning
S-57 to SENC converter Prohibited Attribute Warning property. (Same as -prohibited-attribute-warning ...
Definition: senc_builder_interface.h:264
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
@ kMediaType_LargeMedia
ENC large media.
Definition: senc_builder_interface.h:719
@ kCDType_Base
Base CD.
Definition: senc_builder_interface.h:788
@ kSENCBuilderPropertyID_UseLowerPriorityForExecutables
Run external applications (converter/make senc) with lower process priority
Definition: senc_builder_interface.h:215
@ kEncryptionType_NotEncrypted
No encryption in use.
Definition: senc_builder_interface.h:740
virtual MediaType GetMediaType() const =0
Returns ENC media type.