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
extensionmodelevents.cpp File Reference

Canonical model, computed-field, shared-selection and display-unit observations. More...

Include dependency graph for extensionmodelevents.cpp:

Namespaces

namespace  openswmmvis
 

Functions

void openswmmvis::installExtensionModelViewEvents (SWMMVisProjectWindow *window, QObject *context, ViewEventSink changed)
 Connect native model/selection/unit observations once per window.
 
void openswmmvis::populateExtensionModelViewState (SWMMVisProjectWindow *window, OpenSWMM::Sdk::ViewSnapshot &snapshot)
 Copy project display units and canonical selection count into view metadata.
 

Detailed Description

Canonical model, computed-field, shared-selection and display-unit observations.

Native signals describe invalidations rather than a complete edit log. Snapshot-backed edits suppress intermediate signals and publish broad rebuilds; coordinate moves can emit only modelEdited. Those paths deliberately invalidate geometry/options/values broadly instead of inventing object or field deltas.

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