IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

Chapter 3. Module Builder

Partial Table-of-Contents

  • 3.1 Overview
  • 3.2 Creating a Module with the Module Builder: A Summary
  • 3.3 Using the Module Builder: A Quick Walk Through
  • 3.4 Module Builder: Menu Bar
  • File Options
  • Edit Options
  • Build Options
  • Help Options
  • 3.5 Module Builder: Overall Module Description
  • 3.6 Module Builder: Individual Parameter Information Section
  • 3.7 Worker Routine
  • Positions Specification
  • Connections Specification
  • Input Data
  • Output Data
  • Implementing Default Input Parameters
  • Worker Routine Examples

  • The Module Builder is a point-and-click interface for creating a module from user-supplied information.

    The next several sections describe the general structure of modules built with the Module Builder; its dialog box; and examples of the "worker routine"--the interface between a module and the user-supplied application code.

    3.1 Overview

    From specifications supplied by the user, the Module Builder generates three files:
    1. a module description file (with the extension .mdf);
    2. a C-code framework file that implements the structure of the module; and
    3. a makefile.

    The C-code framework file itself consists of three major routines:

    To complete a customized module, the user need only:

    add the application-specific code to the worker routine (after the line "User's code goes here" at the end of the C-code framework file) by:
    using an "include" file, or
    adding the application code directly to the framework file.

    Using an include file is recommended because (1) if you rerun the module builder, it will overwrite the .c file, and (2) it makes replacing your own code easy.


    1. The Module Builder is designed to accommodate the most common form of customized module, in which the output Object is a copy of the input, but the data component is modified.
    2. Other inputs can be constant parameters or other hierarchically defined data Objects (note that the hierarchy of the data Objects must match exactly).

    [ Top of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]
    [Data Explorer Documentation | QuickStart Guide | User's Guide | User's Reference | Programmer's Reference | Installation and Configuration Guide ]

    [Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]

    [IBM Home Page | Order | Search | Contact IBM | Legal ]