OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
ProcessComponentsHandler.hpp File Reference

[PROCESS_COMPONENTS] section handler (Unified Transport suite, D-UT8). More...

#include <string>
#include <vector>
Include dependency graph for ProcessComponentsHandler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::input
 

Functions

void openswmm::input::handle_process_components (SimulationContext &ctx, const std::vector< std::string > &lines)
 

Detailed Description

[PROCESS_COMPONENTS] section handler (Unified Transport suite, D-UT8).

Row format (whitespace delimited, [PLUGINS]-style):

[PROCESS_COMPONENTS]
;;ComponentId / library Arguments (key="value")
org.hydrocouple.openswmm.reactions config="model.rxn"
./components/libmycomponent.so config="custom.cfg" version="1.2"
Definition NodeCoupling.cpp:16

The first token is the component id (or, reserved for phase HC2, a shared library path). Remaining tokens are key="value" pairs; config= names the component's external configuration file, resolved relative to the parent .inp at open() (the [2D_MESH_FILE] path rules). Registration implies enablement; resolution and config delivery happen in SWMMEngine::open() via plugins/ProcessComponentRegistry.

See also
plans/transport/TRANSPORT_IO_PLUGIN_CONFIG_PLAN.md ยง2
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n Apache-2.0