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
extensionviewaccess.h File Reference

Canonical per-window native model, layer and result bridges for SDK view services. More...

#include "sdk/IViewEvents.hpp"
#include "sdk/IViewControls.hpp"
#include <QObject>
#include <QPointer>
#include <memory>
Include dependency graph for extensionviewaccess.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ExtensionLayerBridge
 Per-session layer membership identities, semantic watchers and validated commands. More...
 
class  openswmmvis::ExtensionResultsBridge
 Per-session attached result lifecycle and published cursor/variable metadata. More...
 
class  openswmmvis::ExtensionViewAccess
 Canonical native coordinator publishing into the application-owned registry. More...
 

Namespaces

namespace  openswmmvis
 

Typedefs

using openswmmvis::ViewEventSink = std::function< void(OpenSWMM::Sdk::ViewEvent)>
 Native metadata change callback, consumed by the canonical window coordinator.
 

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 per-window native model, layer and result bridges for SDK view services.

These private controllers are owned by the native window, independently of plugin count. Public queries copy registry values and never create trackers.

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