Index | |
SimulationEngine | |
EventdbClass | |
GraphicSite | |
LogTrace | |
MessageLog | |
NodeClasses | |
SiteClass | |
NodeLinkGraphics | |
Graphics | |
GraphicalSimulationEngine | |
ControlFrame | |
TkUtils | |
Utils |
- SimulationEngine at "../SimulationEngine/SimulationEngine.ozf"
- NodeLinkGraphics at "../NodeLinkGraphics/NodeLinkGraphics.ozf"
- MessageLog at "../MessageLog/MessageLog.ozf"
- <C:GraphicalSimulationEngine>
- <C:Message>
class GraphicalSimulationEngine
feat simulationEngine nodeLinkGraphics messageLog Links
- init(NodeLinkTopLevel MessageLogTopLevel NodeLinkFrame MessageLogFrame)
- step()
- nodeLinkActive(Bool)
- messageLogActive(Bool)
- createNode(NodeId Listener GraphSpec)
- removeNode(NodeId)
- createLink(FromNodeId ToNodeId L nofslots:NofSlots shifter:Shifter)
- removeLink(L How)
- send(L Msg)
- getTime($)
- updateNodeText(NodeId TextList)
- insertLogString(Id S)
- levelLog()
- delay(Time)
end
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
- init(Content)
- toString($)
- toShortString($)
- getMessageColor($)
- getMessageShape($)
end