Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Components

The component diagram below shows the architecture of generated and created Railway Controller.

SCCharts Contoroller

scccontroller.h <compiled-sccchart>.c

This component is the compiled Controller-SCChart.

The interface offers an the sequential synchronous tick function and additionally access to some internal variables to determine the internal state of the SCChart during execution. Furthermore the component uses the provided hostcode-interface to control the railway.

Hostcode

hostcode.h hostcode.c

This component provides an interface to affect the railway and request events. It acts as wrapper around the railway API

Most controls and requests are forwarded to the controller maintaining the synchronous environment of the tick-function. Some controls which do not require this maintenance are directly forwarded to the railway API.

The hostcode header contains the general documentation for any hostcode call used in the SCChart.

Controller

controller.h defaults.h controller.c

State Monitor

statemonitor.h statemonitor.c

GUI Server

guiserver.h guiserver.c
  • No labels