![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Small session-state monitor and namespaced project-state collection example. More...
Public Member Functions | |
| ExtensionInfo | info () const override |
| Describe the independently configured plugin identity. | |
| bool | initialize (ExtensionHost *host, QString *error) override |
| Discover lifecycle services, subscribe before snapshotting and mount a monitor. | |
| void | shutdown () override |
| Disconnect both observation paths before host-owned UI cleanup. | |
| QStringList | contributions () const override |
| Advertise this example's UI contribution families. | |
| QString | id () const override |
| Identify the extension-local monitor dock. | |
| QString | title () const override |
| Name the monitor dock for the View menu. | |
| QWidget * | create (ExtensionHost *host) override |
| Create a summary, copied session metadata and an explicit refresh button. | |
Public Member Functions inherited from OpenSWMM::Sdk::IGuiExtension | |
| virtual | ~IGuiExtension ()=default |
| Destroy the interface; the Qt loader owns the implementing QObject. | |
| virtual QList< ExtensionInfo > | children () const |
| Enumerate extensions hosted by this plugin, such as Python-authored packages. | |
Public Member Functions inherited from OpenSWMM::Sdk::IDockPanelFactory | |
| virtual | ~IDockPanelFactory ()=default |
| Destroy an unregistered factory; registered factories remain borrowed by the host. | |
| virtual Qt::DockWidgetArea | defaultArea () const |
| Choose initial placement before saved layout restore. | |
| virtual QString | tabifyWith () const |
| Request tabification beside an existing dock. | |
Small session-state monitor and namespaced project-state collection example.
Model UUIDs identify persistent content; session UUIDs identify an open lifetime. The plugin keeps copied snapshots and event counters rather than raw model handles. Dynamic properties on this object and its summary label support independent consumer conformance checks using ordinary Qt APIs.
|
inlineoverridevirtual |
Advertise this example's UI contribution families.
Reimplemented from OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Create a summary, copied session metadata and an explicit refresh button.
| [in] | host | Borrowed registration host; lifecycle queries use the discovered capability. |
Implements OpenSWMM::Sdk::IDockPanelFactory.
|
inlineoverridevirtual |
Identify the extension-local monitor dock.
Implements OpenSWMM::Sdk::IDockPanelFactory.
|
inlineoverridevirtual |
Describe the independently configured plugin identity.
Implements OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Discover lifecycle services, subscribe before snapshotting and mount a monitor.
| [in] | host | Borrowed per-plugin host, valid through shutdown(). |
| [out] | error | Optional missing-capability, subscription or UI-registration diagnostic. |
Implements OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Disconnect both observation paths before host-owned UI cleanup.
Implements OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Name the monitor dock for the View menu.
Implements OpenSWMM::Sdk::IDockPanelFactory.