nsbaci 1.0
Loading...
Searching...
No Matches
controller.h File Reference

Controller class declaration for nsbaci. More...

Include dependency graph for controller.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsbaci::Controller
 Central coordinator between UI and backend services. More...

Namespaces

namespace  nsbaci
 Root namespace for the nsbaci application.

Detailed Description

Controller class declaration for nsbaci.

This module defines the central Controller class that serves as the main coordination layer between the user interface and the backend services. The Controller implements the Model-View-Controller (MVC) pattern, acting as the mediator that handles user actions from the UI, delegates work to appropriate services, and communicates results back to the view layer.

The Controller manages the complete lifecycle of program execution including:

  • File operations (save/load source files)
  • Compilation workflow (source code to p-code instructions)
  • Runtime execution control (run, step, pause, reset)
  • Thread scheduling and monitoring
  • Variable state tracking and display updates
  • Input/output handling between runtime and UI
Author
Nicolás Serrano García