![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Small dock plugin demonstrating both supported typed subscription styles. More...
Public Member Functions | |
| ExtensionInfo | info () const override |
| Describe the independently configured plugin identity. | |
| bool | initialize (ExtensionHost *host, QString *error) override |
| Subscribe to scoped settings changes and contribute a small dock. | |
| void | shutdown () override |
| Disconnect managed observations and delete the plugin-owned adapter. | |
| QStringList | contributions () const override |
| Advertise the UI contributions demonstrated by this plugin. | |
| QString | id () const override |
| Supply the extension-local dock identity. | |
| QString | title () const override |
| Supply the dock caption. | |
| QWidget * | create (ExtensionHost *host) override |
| Create the counter display and explicit settings command. | |
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 dock plugin demonstrating both supported typed subscription styles.
The plugin QObject exposes typedEvents, adapterEvents, lastSequence, lastKey and eventAdapter dynamic properties for a consumer conformance test. The dock's status label mirrors the counters so a test can inspect them through ordinary Qt widgets without accessing a private host object. Adapter callbacks use direct GUI-thread connections and must not throw.
|
inlineoverridevirtual |
Advertise the UI contributions demonstrated by this plugin.
Reimplemented from OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Create the counter display and explicit settings command.
| [in] | host | Borrowed SDK host supplied by dock registration. |
Implements OpenSWMM::Sdk::IDockPanelFactory.
|
inlineoverridevirtual |
Supply the extension-local dock identity.
Implements OpenSWMM::Sdk::IDockPanelFactory.
|
inlineoverridevirtual |
Describe the independently configured plugin identity.
Implements OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Subscribe to scoped settings changes and contribute a small dock.
| [in] | host | Borrowed per-plugin SDK host, kept alive through shutdown(). |
| [out] | error | Optional missing-capability or contribution failure detail. |
Implements OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Disconnect managed observations and delete the plugin-owned adapter.
Implements OpenSWMM::Sdk::IGuiExtension.
|
inlineoverridevirtual |
Supply the dock caption.
Implements OpenSWMM::Sdk::IDockPanelFactory.