OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
PluginsHandler.cpp File Reference

[PLUGINS] section handler — parses plugin library specs (Phase 4, R12). More...

Include dependency graph for PluginsHandler.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::input
 

Functions

void openswmm::input::handle_plugins (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse [PLUGINS] into ctx.plugin_specs.
 

Detailed Description

[PLUGINS] section handler — parses plugin library specs (Phase 4, R12).

Row format:

LibraryPath [arg1 arg2 ...]
./plugins/hdf5_output.so file="results.h5" compress=9

First token = shared library path. Remaining tokens = init_args passed to IOutputPlugin::initialize().

See also
PluginsHandler.hpp
src/engine/plugins/PluginFactory.hpp
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License