![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice BL — IRunLayer adapter wrapping a SWMMResultsLayer (1D .out). More...
Go to the source code of this file.
Classes | |
| class | openswmmvis::plot::SwmmOutRunLayer |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::plot |
Slice BL — IRunLayer adapter wrapping a SWMMResultsLayer (1D .out).
One SwmmOutRunLayer is the bridge between the Comparison Plot Dialog's model layer (which thinks in terms of IRunLayer + ObjectRef) and the existing on-canvas SWMMResultsLayer that already holds the open .out handle.
The adapter is non-owning — it holds a raw SWMMResultsLayer* and resolves it on every call. When the underlying layer is destroyed (e.g. project window closed), the adapter detects the dangling pointer via a QPointer guard and returns ok=false from getSeriesAt.
No standalone .out support yet; Tools → Comparison Plot → Load Run… (a follow-up) will spin up a parallel "headless" adapter that owns its own SWMM_Output handle.