Skip to content

The modeller main structure

tribad edited this page Mar 15, 2020 · 7 revisions

Main Classes

The logging thread is needed because the model store needs it to use it as logging facility. So this is why we have it here defined. It should be started before the model store thread is started as this initializes the model store.

Model Store Thread

The model store thread handles the communication with the model store. In the first version this will be done directly to the linked code but may change later to a server instance serving multiple modellers.

Main Classes

As the development goal would be the multi-user modelling solution the communication with the model store is done through messages. This is why the model store thread is a message thread with a queue inside to hold the messages to be delivered from and to the model store.

GUI

The GUI binds all activities that are related to the user interaction into a collection of classes.

The Model

This is a local copy of the model that should be stored in the model store.

Clone this wiki locally