![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Result of one series resolution. Times are SWMM DateTime doubles (OLE-Automation epoch, not astronomical Julian — see core/swmmdatetime.h); values are in the unit system the source advertises. More...
#include <irunlayer.h>
Public Attributes | |
| std::vector< double > | timesJulian |
| SWMM DateTime; convert via openswmmvis::core::swmmDateTimeToQDateTime. | |
| std::vector< double > | values |
| Same length as timesJulian. | |
| bool | ok = false |
| False if the source couldn't fulfil the request. | |
| QString | errorMessage |
| Populated when ok == false. | |
| int | firstPeriod = 0 |
| int | periodCount = 0 |
Result of one series resolution. Times are SWMM DateTime doubles (OLE-Automation epoch, not astronomical Julian — see core/swmmdatetime.h); values are in the unit system the source advertises.
| QString openswmmvis::plot::SeriesData::errorMessage |
Populated when ok == false.
| int openswmmvis::plot::SeriesData::firstPeriod = 0 |
INPUT — first period (0-based) to resolve. A live chart that already holds periods [0, n) asks for n and gets only the tail; before this the comparison plot re-read every series in full on every live tick (O(run length) per tick, and a full-mesh copy per frame for 2D velocity / rainfall). Sources clamp it to [0, periodCount]; a source that ignores it simply returns the whole series (still correct — the chart de-duplicates by time).
| bool openswmmvis::plot::SeriesData::ok = false |
False if the source couldn't fulfil the request.
| int openswmmvis::plot::SeriesData::periodCount = 0 |
OUTPUT — periods the source held when it answered (0 = not reported). The caller stores it as the next firstPeriod.
| std::vector<double> openswmmvis::plot::SeriesData::timesJulian |
SWMM DateTime; convert via openswmmvis::core::swmmDateTimeToQDateTime.
| std::vector<double> openswmmvis::plot::SeriesData::values |
Same length as timesJulian.