![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Private attached-reader records; QObject connection handles have explicit ownership. More...
Classes | |
| struct | Record |
| One attached native results object and its last diff baseline. More... | |
Public Member Functions | |
| ResultsViewState | read (OpenSWMMVisLayer *base) const |
| Read current native metadata without source discovery or frame data reads. | |
| void | publish (ViewEventKind kind, const ResultsViewState &state) |
| Publish a bounded invalidation using copied attachment/source identities. | |
| void | refresh (OpenSWMMVisLayer *base) |
| Diff semantic state; repeated count/time/style notifications are inert. | |
| void | watchStyles (SWMM2DResultsLayer *layer) |
| Replace channel watchers after dynamic sublayer membership changes. | |
| void | attach (OpenSWMMVisLayer *base, bool announce) |
| Attach one results layer once, optionally seeding a future-membership observation. | |
| void | detach (OpenSWMMVisLayer *base) |
| Disconnect every membership watcher before removing its diff baseline. | |
Public Attributes | |
| ExtensionResultsBridge * | context |
| Owning connection lifetime, never adopted. | |
| QPointer< SWMMVisProjectWindow > | window |
| Native session/controller owner. | |
| std::function< QUuid(OpenSWMMVisLayer *)> | identity |
| Lookup-only layer attachment resolver. | |
| ViewEventSink | changed |
| Canonical coordinator sink, no plugin callbacks here. | |
| QHash< OpenSWMMVisLayer *, Record > | records |
| Attached results records by native pointer. | |
Private attached-reader records; QObject connection handles have explicit ownership.
|
inline |
Attach one results layer once, optionally seeding a future-membership observation.
| [in] | base | Borrowed current canvas member. |
| [in] | announce | False while initial construction backfills state. |
|
inline |
Disconnect every membership watcher before removing its diff baseline.
| [in] | base | Borrowed pointer identity; never dereferenced here. |
|
inline |
Publish a bounded invalidation using copied attachment/source identities.
| [in] | kind | Semantic domain that changed. |
| [in] | state | Captured current native state. |
|
inline |
Read current native metadata without source discovery or frame data reads.
| [in] | base | Attached result layer. |
|
inline |
Diff semantic state; repeated count/time/style notifications are inert.
| [in] | base | Current native layer identity, possibly detached before this signal. |
|
inline |
Replace channel watchers after dynamic sublayer membership changes.
| [in] | layer | Current 2D result layer. |
| ViewEventSink openswmmvis::ExtensionResultsBridge::Data::changed |
Canonical coordinator sink, no plugin callbacks here.
| ExtensionResultsBridge* openswmmvis::ExtensionResultsBridge::Data::context |
Owning connection lifetime, never adopted.
| std::function<QUuid(OpenSWMMVisLayer *)> openswmmvis::ExtensionResultsBridge::Data::identity |
Lookup-only layer attachment resolver.
| QHash<OpenSWMMVisLayer *, Record> openswmmvis::ExtensionResultsBridge::Data::records |
Attached results records by native pointer.
| QPointer<SWMMVisProjectWindow> openswmmvis::ExtensionResultsBridge::Data::window |
Native session/controller owner.