Go up one levelGo to Previous Go to Next

Central C++ Classes

The central C++ class in the implementation of the rtdimage Tcl command and image type is RtdImage . It is a subclass of TkImage , which handles the generic image related tasks. TkImage is a subclass of TclCommand , which handles the Tcl command related features. Both of these classes are part of the tclutil package, which the rtd package uses. Class RtdImage implements most of the rtdimage subcommands and configuration options.

Manipulating the image data itself is done by the class ImageData (see RTI library below). RtdImage keeps a pointer to an ImageData object to manage transforming the raw image to an XImage for display.

The actual display of the image is handled by the ImageDisplay class. It decides whether or not it can use X shared memory to improve performance and handles the creation of the XImage and the copying of the image to the X server for display.

RtdImage uses a class derived from RtdCamera to manage real-time image events. RtdCamera hides the interface to the real-time server daemon process and takes care of managing the shared memory for the images and the socket communication with the server.

See the Reference section of this manual for a complete description of all classes used.


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory