![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
#include <BuiltinPluginInfos.hpp>
Public Member Functions | |
| std::string | id () const override |
| Unique plugin identifier in reverse-DNS notation. | |
| std::string | caption () const override |
| Human-readable display name of the plugin. | |
| std::string | description () const override |
| Detailed description of what this plugin does. | |
| std::string | version () const override |
| Plugin version string (Semantic Versioning recommended). | |
| std::string | vendor () const override |
| Vendor / author name. | |
| std::string | url () const override |
| URL to the plugin's home page or documentation. | |
| std::string | license_type () const override |
| SPDX license identifier for this plugin. | |
| std::string | license_text () const override |
| Full license text for this plugin. | |
| bool | has_input () const noexcept override |
| True if this plugin can create an IInputPlugin. | |
| std::vector< FileFilter > | file_filters () const override |
| File-format filters this plugin handles. | |
Public Member Functions inherited from openswmm::IPluginComponentInfo | |
| virtual | ~IPluginComponentInfo ()=default |
| virtual std::vector< std::string > | tags () const |
| Additional tags or keywords for discovery. | |
| virtual bool | has_output () const noexcept |
| True if this plugin can create an IOutputPlugin. | |
| virtual bool | has_report () const noexcept |
| True if this plugin can create an IReportPlugin. | |
| virtual bool | has_state_io () const noexcept |
| True if this plugin can create an IStateIOPlugin. | |
| virtual bool | register_plugin (const RegistrationInfo &info) |
| Register the plugin with the provided registration information. | |
| virtual bool | registered () const noexcept |
| Check whether the plugin is currently registered. | |
| virtual RegistrationInfo | registration_info () const |
| Get the current registration information. | |
| virtual IInputPlugin * | create_input_plugin () const |
| Create a new IInputPlugin instance. | |
| virtual IOutputPlugin * | create_output_plugin () const |
| Create a new IOutputPlugin instance. | |
| virtual IReportPlugin * | create_report_plugin () const |
| Create a new IReportPlugin instance. | |
| virtual IStateIOPlugin * | create_state_io_plugin () const |
| Create a new IStateIOPlugin instance. | |
Static Public Member Functions | |
| static BuiltinDefaultInputPluginInfo & | instance () noexcept |
|
inlineoverridevirtual |
Human-readable display name of the plugin.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Detailed description of what this plugin does.
Implements openswmm::IPluginComponentInfo.
|
overridevirtual |
File-format filters this plugin handles.
Every plugin SHOULD override this and return one FileFilter per (role, format) pair it supports. The default empty return preserves binary compatibility for plugins built against older SDK headers, but PluginFactory logs a warning when a plugin advertises a capability (e.g., has_input() == true) yet returns no filter for the matching role.
Hosts (Qt GUIs, CLI, Python bindings) compose user-visible file dialogs from the union of filters across all loaded plugins, grouped by role.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
True if this plugin can create an IInputPlugin.
The PluginFactory checks this before calling create_input_plugin().
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Unique plugin identifier in reverse-DNS notation.
Implements openswmm::IPluginComponentInfo.
|
staticnoexcept |
|
inlineoverridevirtual |
Full license text for this plugin.
Return the complete license text (or a URL to it).
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
SPDX license identifier for this plugin.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
URL to the plugin's home page or documentation.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Vendor / author name.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Plugin version string (Semantic Versioning recommended).
Implements openswmm::IPluginComponentInfo.