Generate Settings

The Generate Settings window allows you to specify default values the C++ Expert uses when generating files and code.

You can display this window by choosing Settings->Generate from the Main Window menu bar, or by clicking the Settings button on the toolbar in the Main Window and choosing the Generate tab.


 

Fields

The following table describes the fields on the Generate Settings window.

Table 7-5 Fields on the Generate Settings window

Field Description

Project Root Directory

Contains the path to the directory where generated code will be placed.

Template Directory

Contains the path name of the generator templates.

FML Field Table File Name

Contains the name of the file where the generated FML field table file is placed. This file is located in the directory specified by the Project Root Directory field.

Generate for FML Buffer Types

Used to specify the FML buffer type checked when the repository tree is constructed or refreshed. If this field is changed, you will need to refresh the repository tree. A dialog box will remind you when this needs to be done.

Generate Server Test Client

If this checkbox is enabled, a test client will be generated for each server.

Generate Service Test Logic

If this checkbox is enabled, simple default test logic is generated in the test client for each service.


 

Description

Some of these fields have default values specified during installation, and are installation dependent.

Note: The Template Directory is set during installation. You should not normally need to change the contents of this field. Uninformed changes to the contents of this field can cause the C++ Expert to function improperly.

When reading information from the Contract Repository, the C++ Expert validates the FML buffer types used for service inputs and outputs against the value of the Generate for FML Buffer Type field. Any modules that fail this validation will not be added to the Contract Repository Tree View in the Main Window.

The modules

A test client is a command-line utility that allows you to exercise the functions of a generated server and is described in the Testing Default Service Implementations section.
 

Buttons

The following table describes the buttons on the Generate Settings window.

Table 7-6 Buttons on the Generate Settings window

Button Description

OK

Saves the currently displayed values as the default.

Cancel

Dismisses the window and discards any changes.

Help

Starts the on-line help application.


 

See Also

Generate Settings task description, Using Repository Tree Objects task description, Generating FML Field Tables task description.