Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Using IDL / IDL Bridges

IDL

IDL Bridges

IDL Bridges

Bridge technology allows applications in different programming languages or environments to share information: for example, between IDL and Java. With bridge technology, you can use an application that manipulates data in its native language by calling on objects and processes from IDL.

Connectivity Bridges Overview


IDL Import Bridge

The IDL Import Bridge technology lets you use COM and Java objects in IDL applications.

COM

Use the IDLcomIDispatch object class to communicate with the underlying COM object through the COM IDispatch interface (see Using COM Objects in IDL for details).

Java

The IDL-Java bridge lets you access Java objects within IDL code. Java objects imported into IDL behave like normal IDL objects. The bridge also provides IDL with access to exceptions created by the underlying Java object. For more information, see Using Java Objects in IDL.

IDL Export Bridge

The IDL Export Bridge technology lets you use IDL objects in COM and Java applications. For a general overview of this technology, see Exporting IDL Objects.

Note: The Export Bridge technology is installed as part of IDL. For requirements, see Running the Assistant.

With the Export Bridge, interaction with IDL is through native Java and COM wrapper objects that are generated for each IDL object with which client applications want to interact. The wrapper objects manage all aspects of IDL loading, initialization, process management, and cleanup, so users need only be familiar with the client language (for embedding the wrapper in the client application) and the basics of IDL (for accessing and manipulating IDL data and processes).

Export Bridge Assistant

The key to creating your own exported IDL objects is the Export Bridge Assistant, which generates these native wrapper objects from IDL objects. The Assistant is an interactive dialogue in IDL that lets you customize the wrapper object you want to create from the underlying IDL object. You can select the methods, parameters, and properties that you want to export, as well as other information about the IDL object (e.g., whether to convert array majority for parameters). See Using the Export Bridge Assistant for details.

Connector Object

Instead of exporting a custom IDL source object using the Assistant, you can also access IDL functionality using the pre-built connector object that is shipped with the IDL distribution. This IDL connector object lets you quickly incorporate the processing power of IDL into an application developed in an external, object-oriented environment such as COM or Java. The connector object provides a basic, non-drawable wrapper that includes the ability to get and set IDL variables and execute command statements in the IDL process associated with the connector object. For more information, see Using the Connector Object.

Importing From IDL


COM Objects

Java Objects

Exporting From IDL


COM Objects

Connector Objects

Export Bridge Assistant

IDL Objects

Java Objects

Appendices


IDL Java Object API

COM Object Creation

Java Object Creation

Multidimensional Array Storage and Access



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us