![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Private per-layer registry for extension-derived model attributes. More...
Go to the source code of this file.
Namespaces | |
| namespace | openswmmvis |
Functions | |
| bool | openswmmvis::registerExtensionAttributes (QObject *layer, const QString &id, OpenSWMM::Sdk::IComputedAttributeProvider *provider, QObject *context, std::function< void(bool)> changed, QString *error=nullptr) |
| Atomically register one guarded provider on a layer. | |
| void | openswmmvis::unregisterExtensionAttributes (QObject *layer, const QString &id) |
| Remove a provider and notify its live layer. | |
| void | openswmmvis::refreshExtensionAttributes (QObject *layer, const QString &id) |
| Invalidate provider values, allowing retry after a calculation exception. | |
| QVector< OpenSWMM::Render::AttributeField > | openswmmvis::extensionAttributeFields (const QObject *layer, OpenSWMMVis::SwmmCategory category) |
| Read validated, qualified field descriptors in deterministic provider order. | |
| QVariantMap | openswmmvis::extensionAttributeValues (const QObject *layer, OpenSWMMVis::SwmmCategory category, const QString &name, const QVariantMap &base) |
| Merge derived values into a base model-object attribute snapshot. | |
Private per-layer registry for extension-derived model attributes.
Entries cache validated descriptors and borrow guarded providers. The GUI reads the same registry for field metadata, identify values and attribute-table columns. No engine or concrete GUI class is exposed through this module. All operations use the layer's GUI thread.