NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
Component Framework

Component framework. More...

Data Structures

class  ISDKComponent
 Base interface for all SDK interfaces. More...
 
class  ISDKClassFactory
 Describes the interface that creates a class of components. More...
 

Typedefs

typedef SDKResult(SDK_APICALLTYPE * SDKCreateFactoryFunction) (const sdk::ComponentId &id, sdk::ISDKClassFactory **factory)
 Creates class factory component of specified object id.
 
typedef SDKResult(SDK_APICALLTYPE * SDKInitializeLibraryFunction) ()
 Initializes the whole library.
 
typedef SDKResult(SDK_APICALLTYPE * SDKUninitializeLibraryFunction) ()
 Uninitializes the whole library (usually before unloading)
 
typedef SDKResult(SDK_APICALLTYPE * SDKCanUnloadLibraryFunction) ()
 Checks library if it can be unloaded.
 
typedef SDKResult(SDK_APICALLTYPE * SDKProcessDebugCommandFunction) (SDKUInt32 command, SDKAny *param)
 Debug command.
 

Functions

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.
 
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.
 
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKShutdownFramework ()
 
SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKRegisterComponentFactory (const sdk::ComponentId &id, const SDKCreateFactoryFunction func)
 Adds component factory function manually.
 

Detailed Description

Component framework.

Function Documentation

◆ SDKShutdownFramework()

SDK_EXTERN_C SDK_BASE_LIBRARY_EXPORT_API SDKResult SDK_APICALLTYPE SDKShutdownFramework ( )

Unloads all libraries in memory, therefore all SDK components in use should be already released before given call.