![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
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 state at the output time. Do NOT attempt to 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.