Model Railroad System 2.2.2
Namespaces | Functions
ParserClasses

File-based parser classes. More...

Namespaces

namespace  Parsers
 File-based parser classes.
 

Functions

list tcl_socketpair ()
 Tcl interface to socketpair. More...
 

Detailed Description

File-based parser classes.

These are file-based parser classes. Right now only one parser for XTrkCAD layout files. Other classes might be added later.

Included are classes used by the XTrkCAD parser. These classes are used to store the track plan information in an XTrkCAD layout file, specificly as it relates to operating issues, such as dispatching and signaling.

The track plan is loaded into a directed graph representation, where each node is one logical piece of trackwork. From this graph representation a schematic display could be created in a semi-automated way.

This package features the use of the Boost Graph Library as the underlying structure for the track graph built from reading in XTrkCAD layout files.

Author
Robert Heller <heller@deepsoft.com>

Function Documentation

◆ tcl_socketpair()

list tcl_socketpair ( )

Tcl interface to socketpair.

Returns a list of two file channels, which are opposite ends of a connected pair of sockets.