PNRunnerYMLTool

Joseph E Coffland

05 April 2006

Version 1.5.0

PNRunnerYMLTool - A general tool for extracting information from YML files for PNRunner(1).

Table of Contents

Syntax

PNRunnerYMLTool OPTION

Description

PNRunnerYMLTool is part of the SESAME software system. More information can be found on the web at http://sesamesim.sourceforge.net/.

PNRunnerYMLTool is used in project Makefiles in order to extract build information from YML files. It is also used by YMLEditor(1) to create template classes.

PNRunnerYMLTool was created with XmlPL, the XML Processing Language.

Options

--classes application.yml
Print the names of each class referenced in the provided YML file.
--sources application.yml
Print the source files referenced in the provided YML file.
--create-base-classes application.yml
Create base classes for each node in the provided YML file. The base class contains a node's ports and is automatically kept in sync with the YML file by YMLEditor(1) using this command.
--create-node-template path
Creates default header and implementation files for a node.
--create-stubs application.yml [-I path]
Generates stub-loaders so PNRunner can dynamically load C++ classes. The -I option allows the user to specify files that should be included by the stub-loader. Includes for the classes that are passed between application nodes should be included in this way. This task was previously performed by PNTypeInfo which is now deprecated.
--help
Print command line help.

Examples

  # Print application classes
  PNRunnerYMLTool --classes application.yml

  # Create application stub
  PNRunnerYMLTool --create-stubs application.yml -I mytypes.h >stub.cpp

  # See the MJPEG case-study Makefiles for more examples.

Authors

Joseph Coffland - jcofflan@users.sourceforge.net

See Also

PearlYMLTool(1), AppVirtualMapGenerator(1), ArchitectureCompiler(1), http://sesamesim.sourceforge.net/, http://xmlpl.org/