#include <GeoPackageReportPlugin.hpp>
◆ GeoPackageReportPlugin()
| openswmm::gpkg::GeoPackageReportPlugin::GeoPackageReportPlugin |
( |
| ) |
|
|
default |
◆ finalize()
| int openswmm::gpkg::GeoPackageReportPlugin::finalize |
( |
const SimulationContext & |
ctx | ) |
|
|
overridevirtual |
◆ initialize()
| int openswmm::gpkg::GeoPackageReportPlugin::initialize |
( |
const std::vector< std::string > & |
init_args, |
|
|
const IPluginComponentInfo * |
info |
|
) |
| |
|
override |
◆ last_error_message()
| const char * openswmm::gpkg::GeoPackageReportPlugin::last_error_message |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ prepare()
◆ state()
| PluginState openswmm::gpkg::GeoPackageReportPlugin::state |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ update()
Accumulate data from one output step. Called from IO thread.
This is optional — some report plugins only use write_summary() and do nothing in update(). The default implementation is a no-op.
- Parameters
-
| snapshot | Read-only simulation state at this output time step. |
- Returns
- 0 on success.
Reimplemented from openswmm::IReportPlugin.
◆ validate()
| int openswmm::gpkg::GeoPackageReportPlugin::validate |
( |
const SimulationContext & |
ctx | ) |
|
|
overridevirtual |
◆ write_summary()
| int openswmm::gpkg::GeoPackageReportPlugin::write_summary |
( |
const SimulationContext & |
ctx | ) |
|
|
overridevirtual |
Write the final summary report. Called from main thread.
Called after all update() calls have completed and finalize() has returned. Write summary statistics (peak flows, volumes, mass balance errors, etc.).
- Parameters
-
| ctx | Final simulation context (contains statistics). |
- Returns
- 0 on success.
Implements openswmm::IReportPlugin.
The documentation for this class was generated from the following files: