![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Main configuration functions. More...
#include <base/inc/platform.h>#include <base/inc/base_types.h>#include <base/inc/sdk_results.h>#include <base/inc/interfaces/configuration/generic_configuration_interface.h>Go to the source code of this file.
Enumerations | |
| enum | SDKConfigurationFlags { SDKConfigurationFlag_Default = 0x0000, SDKConfigurationFlag_ReadOnly = 0x0001, SDKConfigurationFlag_Sequential = 0x0002, SDKConfigurationFlag_CreateConfigInMemory = 0x1000 } |
| Flags which controls configuration implementation. More... | |
Functions | |
| SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE | SDKSetDefaultConfigPath (const SDKString *path) |
| Sets default path for configuration. | |
| SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE | SDKGetConfig (const SDKString *file_path, const SDKString *config_path, SDKUInt64 flags, sdk::base::ISDKConfiguration **config) |
| Retrieves reference to configuration component. | |
| SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE | SDKReadConfigExtension (const SDKString &configuration_content) |
| Reads configuration extension from the specified content. | |
Variables | |
| static const char * | kConfigName_Logging = "logging" |
| Logging section. | |
| static const char * | kConfig_Logging_On = "on" |
| Logging on/off. | |
| static const char * | kConfig_Logging_Level = "level" |
| Logging level. | |
| static const char * | kConfig_Logging_Root = "root" |
| Logging root path. | |
| static const char * | kConfig_Logging_MaxSize = "max-size" |
| Log file max size. | |
| static const char * | kConfig_Logging_RootPath = "root_path" |
| Logging root path. | |
| static const char * | kConfig_Logging_BufLevel = "buf-level" |
| Logging buffered level (all logs with level <= buf-level are buffered) | |
| static const char * | kConfig_Logging_BufTimeout = "buf-timeout" |
| Logging buffering timeout (in seconds) | |
| static const char * | kConfig_Logging_DebugInfoOn = "debug-info-on" |
| Turn on memory consumption logging. | |
Main configuration functions.
Main configuration interfaces.
Copyright (c) 2011 The NAVTOR SDK. All Rights Reserved.