NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
framework_interface.h
Go to the documentation of this file.
1 #ifndef SDK_BASE_LIBRARY_FRAMEWORK_INTERFACE_H_
11 #define SDK_BASE_LIBRARY_FRAMEWORK_INTERFACE_H_
12 
13 #include <base/inc/platform.h>
14 #include <base/inc/base_types.h>
15 #include <base/inc/sdk_results.h>
18 
21 SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE
22 SDKGetClassFactory(const SDKString* path_to_module,
23  const sdk::ComponentId& id, sdk::ISDKClassFactory** factory);
24 
27 SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE
28 SDKCreateComponentInstance(const SDKString* path_to_module,
29  const sdk::ComponentId& id, sdk::ISDKComponent** obj);
30 
34 SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE
36 
39 SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE
41  const sdk::ComponentId& id, const SDKCreateFactoryFunction func);
42 
43 #endif // SDK_BASE_LIBRARY_FRAMEWORK_INTERFACE_H_
sdk_results.h
A list of SDK error/return results.
base_types.h
SDK base types.
SDKCreateComponentInstance
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKCreateComponentInstance(const SDKString *path_to_module, const sdk::ComponentId &id, sdk::ISDKComponent **obj)
Creates specified object id component.
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.
SDKRegisterComponentFactory
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKRegisterComponentFactory(const sdk::ComponentId &id, const SDKCreateFactoryFunction func)
Adds component factory function manually.
SDKShutdownFramework
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKShutdownFramework()
SDKCreateFactoryFunction
SDKResult(SDK_APICALLTYPE * SDKCreateFactoryFunction)(const sdk::ComponentId &id, sdk::ISDKClassFactory **factory)
Creates class factory component of specified object id.
Definition: component_interface.h:26
component_interface.h
Functionality which components must export.
SDKGetClassFactory
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKGetClassFactory(const SDKString *path_to_module, const sdk::ComponentId &id, sdk::ISDKClassFactory **factory)
Creates class factory component of specified object id.
ComponentId
Uuid ComponentId
Definition of component UUID.
Definition: sdk_uuid.h:42