![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
IPluginComponentInfo for the GeoPackage I/O plugin. More...
#include <GeoPackagePluginInfo.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::vector< std::string > | tags () const override |
| Additional tags or keywords for discovery. | |
| 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. | |
| bool | has_output () const noexcept override |
| True if this plugin can create an IOutputPlugin. | |
| bool | has_report () const noexcept override |
| True if this plugin can create an IReportPlugin. | |
| std::vector< FileFilter > | file_filters () const override |
| File-format filters this plugin handles. | |
| IInputPlugin * | create_input_plugin () const override |
| Create a new IInputPlugin instance. | |
| IOutputPlugin * | create_output_plugin () const override |
| Create a new IOutputPlugin instance. | |
| IReportPlugin * | create_report_plugin () const override |
| Create a new IReportPlugin instance. | |
| bool | register_plugin (const RegistrationInfo &info) override |
| Register the plugin with the provided registration information. | |
| bool | registered () const noexcept override |
| Check whether the plugin is currently registered. | |
| RegistrationInfo | registration_info () const override |
| Get the current registration information. | |
Public Member Functions inherited from openswmm::IPluginComponentInfo | |
| virtual | ~IPluginComponentInfo ()=default |
| virtual bool | has_state_io () const noexcept |
| True if this plugin can create an IStateIOPlugin. | |
| virtual IStateIOPlugin * | create_state_io_plugin () const |
| Create a new IStateIOPlugin instance. | |
Static Public Member Functions | |
| static GeoPackagePluginInfo & | instance () |
| Get the singleton instance. | |
IPluginComponentInfo for the GeoPackage I/O plugin.
Singleton — obtain via GeoPackagePluginInfo::instance(). The PluginFactory discovers this through the exported C function openswmm_plugin_info().
|
inlineoverridevirtual |
Human-readable display name of the plugin.
Implements openswmm::IPluginComponentInfo.
|
overridevirtual |
Create a new IInputPlugin instance.
The PluginFactory calls this when has_input() returns true. The returned pointer is owned by the caller (PluginFactory). The factory will call delete on it during cleanup.
Reimplemented from openswmm::IPluginComponentInfo.
|
overridevirtual |
Create a new IOutputPlugin instance.
The PluginFactory calls this when has_output() returns true. The returned pointer is owned by the caller (PluginFactory). The factory will call delete on it during cleanup.
Reimplemented from openswmm::IPluginComponentInfo.
|
overridevirtual |
Create a new IReportPlugin instance.
The PluginFactory calls this when has_report() returns true.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Detailed description of what this plugin does.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
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.
|
inlineoverridevirtualnoexcept |
True if this plugin can create an IOutputPlugin.
The PluginFactory checks this before calling create_output_plugin().
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
True if this plugin can create an IReportPlugin.
The PluginFactory checks this before calling create_report_plugin().
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Unique plugin identifier in reverse-DNS notation.
Implements openswmm::IPluginComponentInfo.
|
inlinestatic |
Get the singleton instance.
|
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.
|
overridevirtual |
Register the plugin with the provided registration information.
Override this to implement registration logic (license validation, activation token checks, etc.). The default implementation accepts any registration and returns true.
| info | Registration information. |
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
Check whether the plugin is currently registered.
Override this to report registration status. Plugins that do not require registration should return true (the default).
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Get the current registration information.
Returns the info passed to the most recent successful register_plugin() call. The default returns an empty struct.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Additional tags or keywords for discovery.
Reimplemented from 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.