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
IComputedAttributeProvider.hpp File Reference

Read-only model attributes contributed by an independently built extension. More...

#include "IAttributeProvider.hpp"
#include <QVariantMap>
Include dependency graph for IComputedAttributeProvider.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenSWMM::Sdk::IComputedAttributeProvider
 Borrowed provider of derived attributes on authored model objects. More...
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Sdk
 Public header-only ABI for independently compiled native GUI extensions.
 

Detailed Description

Read-only model attributes contributed by an independently built extension.

Register a provider on IModelInstance with a QObject lifetime guard. The host prefixes field keys, merges values into normal identify/table/rendering reads, and removes contributions when their guard, model or extension is destroyed. Providers run on the GUI thread.

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