Per-session layer membership identities, semantic watchers and validated commands.
More...
#include <extensionviewaccess.h>
|
| struct | Data |
| | Private per-session attachment map and guarded native signal wiring. More...
|
| |
Per-session layer membership identities, semantic watchers and validated commands.
◆ ExtensionLayerBridge()
Attach watchers to the current canvas and future membership changes.
- Parameters
-
| [in] | window | Native owner and canvas source. |
| [in] | changed | Copied metadata-change sink; no callback is required during construction. |
◆ ~ExtensionLayerBridge()
| openswmmvis::ExtensionLayerBridge::~ExtensionLayerBridge |
( |
| ) |
|
|
override |
Disconnect per-membership watchers before releasing private state.
◆ execute()
Dispatch a validated layer action using its native controller.
- Parameters
-
| [in] | command | Request; session/availability validated by the coordinator. |
| [out] | error | Optional refusal detail, cleared on success. |
- Returns
- True for accepted layer actions/no-ops, false for unsupported/invalid input.
◆ identity()
| QUuid openswmmvis::ExtensionLayerBridge::identity |
( |
OpenSWMMVisLayer * |
layer | ) |
const |
Resolve an already tracked native pointer to its runtime attachment.
- Parameters
-
| [in] | layer | Borrowed native pointer; never adopted. |
- Returns
- Current attachment UUID, or null when detached.
◆ resolve()
| OpenSWMMVisLayer * openswmmvis::ExtensionLayerBridge::resolve |
( |
const QUuid & |
id | ) |
const |
Resolve a current runtime attachment for private controller use.
- Parameters
-
| [in] | id | Runtime attachment identity. |
- Returns
- Borrowed native layer, or null after detachment/destruction.
◆ selectedFeatures()
| QList< qint64 > openswmmvis::ExtensionLayerBridge::selectedFeatures |
( |
const QUuid & |
id, |
|
|
int |
offset, |
|
|
int |
limit |
|
) |
| const |
Copy a sorted bounded page of current vector selection identities.
- Parameters
-
| [in] | id | Runtime attachment UUID. |
| [in] | offset | Nonnegative sorted-result offset. |
| [in] | limit | Positive requested count, capped at 5000. |
- Returns
- Copied FIDs or empty for unavailable/non-vector/invalid input.
◆ snapshot()
| QList< LayerViewState > openswmmvis::ExtensionLayerBridge::snapshot |
( |
| ) |
const |
Read native layer metadata outside public getters.
- Returns
- Ordered copied current attachment metadata.
The documentation for this class was generated from the following files: