Integration Manager

An integration manager locates and loads DMS instegration modules for the host program. More...

An integration manager locates and loads DMS instegration modules for the host program.

The host program uses the integration to look up installed DgnPlatform integration modules in the Windows registry. Each of the found integration modules is encapsulated in the DgnPlaformIntegration class and these are collected in the DgnPlatformIntegrationList. The host program must choose from the installed integration modules by querying the DgnPlatformIntegration for information obtained from the registry (product name, version key, registry key and path). Once a Specific DgnPlatformRegistry is selected, the host program calls its Initialize() method to load and initialize the module. To begin a DMS session, the host program calls the DgnPlatformIntegraiton::OpenSession() method. If the integration module implements a DgnDocumentManager, the host program can obtain a pointer to it by calling DgnPlatformIntegration::GetDocumentManager().

The host program must locate and initialize the DgnPlatformIntegration before it calls DgnPlatform::DgnViewLib::Host::Initialize (), so that the host program can return the integration document manager from its _SupplyDocumentManager() method.

(DMS).


Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.