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
openswmmvis::OutputIdentity Struct Reference

#include <outputstatsregistry.h>

Collaboration diagram for openswmmvis::OutputIdentity:

Public Attributes

QUuid stableId
 
QString shortLabel
 
QString tooltipPath
 
SWMMResultsLayerlayer = nullptr
 

Detailed Description

One row in the registry. Captures everything a consumer needs to render a row in the Stats-source combo and dispatch a stat-getter call back to the underlying layer.

Member Data Documentation

◆ layer

SWMMResultsLayer* openswmmvis::OutputIdentity::layer = nullptr

Pointer to the underlying layer. Null-checked by consumers before dispatch (the layer may be destroyed before the registry receives the unregister callback in pathological teardown orders; QPointer in the registry's internal storage handles that gracefully).

◆ shortLabel

QString openswmmvis::OutputIdentity::shortLabel

Human-readable short label, derived from the .out filename without extension (e.g. "run-A"). Collision-resolved by appending "(N)" when two .out files share a basename across loaded layers.

◆ stableId

QUuid openswmmvis::OutputIdentity::stableId

Stable identity for this loaded output, generated at registration time. Survives layer reorder so per-project QSettings can persist the user's last-selected stats source by UUID. The null UUID is the "editing-engine" sentinel and is never produced by registerLayer.

◆ tooltipPath

QString openswmmvis::OutputIdentity::tooltipPath

Full absolute path to the .out file. Suitable for use as the combo entry's tool-tip.


The documentation for this struct was generated from the following file: