Index
SimulationEngine
EventdbClass
GraphicSite
LogTrace
MessageLog
NodeClasses
SiteClass
NodeLinkGraphics
Graphics
GraphicalSimulationEngine
ControlFrame
TkUtils
Utils
The GraphicalSimulationEngine is a tool that provides a common interface
to a simulation engine, simulating message passing between nodes over links,
and two graphical representation of the events in that simulation engine.

A precise definition of the behaviour of the simulation engine can be found
in the documentation of the SimulationEngine functor and class.
The two graphical representations are NodeLink and MessageLog. NodeLink
shows a graphical snapshot of nodes, links and messages present in the
Simulation at any instant. MessageLog shows a graphical log of all messages
sent and received by each node. Both are available as frames.

For the NodeLink and MessageLog tools to work messages must fit the
definition of class Message.

Functor

Import

Export

Define

[class info]

class GraphicalSimulationEngine
   feat simulationEngine nodeLinkGraphics messageLog Links end

[class info]

This class may be viewed as a template. All messages that are sent
on the graphical simulation engine must have at least the following
interface.
The graphical simulation engine will never alter messages. It does not
care what contents contains. id must be a unique identifier.
class Message
   feat id content end

End