SILICON
Loading...
Searching...
No Matches
ArchitectureController Class Reference

#include <architectureController.hpp>

Inheritance diagram for ArchitectureController:
Collaboration diagram for ArchitectureController:

Public Member Functions

 ArchitectureController (ProjectSession &session, EditorWorkspace &workspace, ProjectDocumentController &documents, QObject *parent=nullptr)
void bindActions (const ArchitectureActions &actions)
 Connects the main-window architecture actions to their commands.
void buildActiveArchitecture ()
 Compiles the active architecture document, reporting build diagnostics.
void visualizeActiveArchitecture ()
 Opens the visualizer tab for the active architecture document.

Private Member Functions

void configureWorkspace (DocumentEditor *editor)
void handleTabChanged (int index)
 Activates the document owned by a newly selected architecture tab.

Private Attributes

ProjectSession & session
EditorWorkspace & workspace
ArchitectureDocumentEditor * architectureEditor = nullptr
ProjectDocumentController & documents

Detailed Description

Coordinates the architecture editor tabs, builds, and the ISA visualizer.

Definition at line 28 of file architectureController.hpp.

Constructor & Destructor Documentation

◆ ArchitectureController()

ArchitectureController ( ProjectSession & session,
EditorWorkspace & workspace,
ProjectDocumentController & documents,
QObject * parent = nullptr )

Definition at line 86 of file architectureController.cpp.

Member Function Documentation

◆ bindActions()

void bindActions ( const ArchitectureActions & actions)

Connects the main-window architecture actions to their commands.

Definition at line 96 of file architectureController.cpp.

◆ buildActiveArchitecture()

void buildActiveArchitecture ( )

Compiles the active architecture document, reporting build diagnostics.

Definition at line 170 of file architectureController.cpp.

◆ configureWorkspace()

void configureWorkspace ( DocumentEditor * editor)
private

Definition at line 104 of file architectureController.cpp.

◆ handleTabChanged()

void handleTabChanged ( int index)
private

Activates the document owned by a newly selected architecture tab.

Definition at line 117 of file architectureController.cpp.

◆ visualizeActiveArchitecture()

void visualizeActiveArchitecture ( )

Opens the visualizer tab for the active architecture document.

Definition at line 154 of file architectureController.cpp.

Member Data Documentation

◆ architectureEditor

ArchitectureDocumentEditor* architectureEditor = nullptr
private

Definition at line 51 of file architectureController.hpp.

◆ documents

ProjectDocumentController& documents
private

Definition at line 52 of file architectureController.hpp.

◆ session

ProjectSession& session
private

Definition at line 49 of file architectureController.hpp.

◆ workspace

EditorWorkspace& workspace
private

Definition at line 50 of file architectureController.hpp.


The documentation for this class was generated from the following files: