![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Interface for output-writing plugins. More...
Go to the source code of this file.
Classes | |
| class | openswmm::IOutputPlugin |
| Interface for output-writing plugins. More... | |
Namespaces | |
| namespace | openswmm |
Interface for output-writing plugins.
Implement this interface to write SWMM simulation results to custom formats (HDF5, NetCDF, CSV, database, etc.).
Threading model: IOutputPlugin::update() is called from the IO thread, not the main simulation thread. update() receives a const SimulationSnapshot& — a read-only deep copy of the simulation arrays at the output time, plus borrowed immutable model metadata. Do NOT access the live SimulationContext from within update().
All other lifecycle methods (initialize, validate, prepare, finalize) are called from the main thread before/after the simulation loop.