SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
extensionmodelaccess.h File Reference

Adapter entry point connecting SDK model access to existing project windows. More...

#include "plugins/guiextensionhost.h"
#include <functional>
Include dependency graph for extensionmodelaccess.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmmvis
 

Functions

std::unique_ptr< OpenSWMM::Sdk::IEditScope > openswmmvis::beginTimeSeriesModelEdit (SWMMVisProjectWindow *window, const QString &label, QString *error=nullptr)
 Begin a checked native time-series assignment transaction.
 
void openswmmvis::installExtensionModelAccess (GuiExtensionHost *host, std::function< QList< SWMMVisProjectWindow * >()> windows, std::function< SWMMVisProjectWindow *()> active)
 Install QPointer-backed SDK model facades owned by the extension host.
 

Detailed Description

Adapter entry point connecting SDK model access to existing project windows.

Concrete model and canvas classes remain private to the application. A host owns its model facades; QPointer guards prevent access after project-window destruction.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
GPL-3.0-or-later