Application Layout
List of: Discussion Topic
Subjects: Building Applications
Contents: Application Development Manual

The most simple ACIS-based C++ application can be broken down into three sections:

Setup and initialization Include appropriate header files, start the modeler, and initialize components.

Modeling Perform all modeling (and other application) functionality.

Cleanup and termination Clean up any remaining memory allocations, terminate components that were initiated, stop the modeler, and terminate the program.

Refer to the pseudocode in Figure 2-1. This general application layout also applies to more complex applications, but the central "modeling" section would include such things as the provision of an appropriate user interface (e.g., windowing, graphical input/output, etc.), file management, model management, application data manipulation, memory management, etc.


Figure 2-1. C++ Application Layout
PDF/APPDEV/02FRAME.PDF
HTM/DATA/ACIS/APPDEV/02FRAME/0003.HTM