Overview
The CIGI (Common Image Generator Interface) is a wire protocol for
communication between an IG (image generator) and a host application,
such as a cockpit or other host application.
The CIGI Class Library (CCL) is a library to group, format, pack,
and unpack the data to the specification of the interface. It can
be used by both the host and the IG. The CCL handles packing,
unpacking, and byte swapping automatically. It also handles message
building with very little user commanded effort.
It provides several methods to process incoming messages and the error
handling. There is a signal, an event, a callback, and an iterative
method to handle the incoming messages. It can use an exception or an
error code method to process errors. It also has a framework for the
actual IO process.
The following figure shows a high-level view of a host device and image
generator, both using the CIGI Class Library to create, send, receive
and help process messages. As depicted, there is a two-way exchange of
messages between the IG and host.
|
Figure 1 - High Level View of the CIGI Class Library |
|
|