![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Interface for state / hot-start IO plugins. More...
Go to the source code of this file.
Classes | |
| class | openswmm::IStateIOPlugin |
| Interface for state / hot-start IO plugins. More... | |
Namespaces | |
| namespace | openswmm |
Interface for state / hot-start IO plugins.
Implement this interface to support reading and writing simulation state (also called "hot-start") to and from different file formats (e.g., the built-in OpenSWMM binary, legacy SWMM5 binary, HDF5, NetCDF, cloud blob storage).
State plugins are responsible for:
Threading model: All methods are called from the main thread.
The engine resolves which plugin handles a given path on read by calling can_read() on each registered state plugin in turn; the first match wins, with the built-in default plugin acting as fallback so legacy formats keep working when no external plugin claims them.