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
extension.cpp File Reference

Installed-SDK example of authoritative lifecycle snapshots and pre-save collection. More...

#include <sdk/ExtensionHost.hpp>
#include <sdk/ISessionEvents.hpp>
#include <sdk/IGuiExtension.hpp>
#include <sdk/IProject.hpp>
#include <QLabel>
#include <QPointer>
#include <QPushButton>
#include <QStringList>
#include <QVariant>
#include <QVBoxLayout>
#include "extension.moc"
Include dependency graph for extension.cpp:

Classes

class  LifecycleExampleExtension
 Small session-state monitor and namespaced project-state collection example. More...
 

Detailed Description

Installed-SDK example of authoritative lifecycle snapshots and pre-save collection.

Subscribes before reading the initial watermark, discards observations already represented by that snapshot, and refreshes its view from current metadata. Queued observers never mutate models. A separate short synchronous pre-save collector stores only this extension's project data and leaves recovery saves alone.

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