Rechercher une page de manuel
Sprog::help::internals.3pm
Langue: en
Version: 2005-05-29 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sprog Internals - Notes for Developers
The Sprog application uses an MVC(ish) architecture:- Model
- The Sprog::Machine class tracks which gears have been placed in the workspace, as well as the connections between them. When a machine is set running, the machine class creates a scheduler instance to handle the passing of messages between gears. The scheduler object is discarded when the machine stops running.
- View
- The Sprog::GtkView class handles the user interface. It uses a number of specialised classes to implement elements such as the palette and the workspace. The Sprog::GtkGearView class handles the appearance and user interface for the gears themselves.
- Controller
- The Sprog class controls the creation of the model and the view and the passing of messages between them. It is also responsible for parsing command-line arguments and other setup tasks.
Related Topics
- *
- gear internals
- *
- scheduler
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre