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

Private translation between legacy host notifications and typed SDK observations. More...

#include "sdk/IModelEvents.hpp"
#include <QVariantMap>
#include <optional>
Include dependency graph for extensionevents.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmmvis
 

Functions

std::optional< OpenSWMM::Sdk::Event > openswmmvis::decodeExtensionEvent (const QString &name, const QVariantMap &data)
 Decode a known notification without assigning its publication sequence.
 
std::pair< QString, QVariantMap > openswmmvis::legacyExtensionEvent (const OpenSWMM::Sdk::Event &event)
 Project a valid host-created typed value onto the compatible legacy surface.
 

Detailed Description

Private translation between legacy host notifications and typed SDK observations.

Both public notification forms derive from the same domain value. Unknown private diagnostic events remain legacy-only; plugins cannot publish host observations.

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