![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Plugin loader, auto-discovery, and lifecycle manager. More...
#include <string>#include <vector>#include <unordered_map>#include <functional>Go to the source code of this file.
Classes | |
| class | openswmm::PluginFactory |
| Manages plugin discovery, loading, and lifecycle for one engine instance. More... | |
| struct | openswmm::PluginFactory::ComponentEntry |
| List all discovered component info entries. More... | |
Namespaces | |
| namespace | openswmm |
Plugin loader, auto-discovery, and lifecycle manager.
PluginFactory owns all dynamically loaded plugin libraries. It is responsible for:
openswmm_plugin_info. Discovered libraries are registered in a component registry keyed by "id:version"."id" / "id:version" identifier, resolves it to an IPluginComponentInfo.All lifecycle methods except update() run on the main simulation thread. update() is called from the IO thread (via IOThread).