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

MVC model for a single SWMM LID control ([LID_CONTROLS]). More...

#include <QObject>
#include <QString>
Include dependency graph for lidcontrolprovider.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::lid::LidControlProvider
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::lid
 

Detailed Description

MVC model for a single SWMM LID control ([LID_CONTROLS]).

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

Owned by a project-scoped LidControlRegistry. Engine I/O walks swmm_lid_* from openswmm_infrastructure.h: add(id,type) + set_surface / set_soil / set_storage / set_drain. The engine exposes setters but no getters, so existing layer values cannot be pre-loaded; a dirty flag lets the registry write only new or user-edited controls (see LidControlRegistry).

LID type codes: 0=BIO_CELL, 1=RAIN_GARDEN, 2=GREEN_ROOF, 3=INFIL_TRENCH, 4=PERM_PAVEMENT, 5=RAIN_BARREL, 6=ROOFTOP_DISCONN, 7=VEGETATIVE_SWALE.