![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
IPluginComponentInfo for the GeoPackage I/O plugin. More...
#include <GeoPackagePluginInfo.hpp>
Public Member Functions | |
| std::string | id () const override |
| Copy plugin id metadata. | |
| std::string | caption () const override |
| Copy plugin caption metadata. | |
| std::string | description () const override |
| Copy plugin description metadata. | |
| std::string | version () const override |
| Copy plugin version metadata. | |
| std::string | vendor () const override |
| Copy plugin vendor metadata. | |
| std::string | url () const override |
| Copy plugin url metadata. | |
| std::vector< std::string > | tags () const override |
| Copy discovery/search tags. | |
| std::string | license_type () const override |
| Copy plugin license type metadata. | |
| std::string | license_text () const override |
| Copy plugin license text metadata. | |
| bool | has_input () const noexcept override |
| Advertise the built-in GeoPackage input factory. | |
| bool | has_output () const noexcept override |
| Advertise the built-in GeoPackage output factory. | |
| bool | has_report () const noexcept override |
| Advertise the built-in GeoPackage report factory. | |
| std::vector< FileFilter > | file_filters () const override |
| Copy file-filter advertisements for all three GeoPackage IO roles. | |
| IInputPlugin * | create_input_plugin () const override |
| Allocate a fresh GeoPackage input plugin instance. | |
| IOutputPlugin * | create_output_plugin () const override |
| Allocate a fresh GeoPackage output plugin instance. | |
| IReportPlugin * | create_report_plugin () const override |
| Allocate a fresh GeoPackage report plugin instance. | |
| bool | register_plugin (const RegistrationInfo &info) override |
| Copy supplied registration metadata and mark the singleton registered. | |
| bool | registered () const noexcept override |
| Read the stored metadata-registration flag. | |
| RegistrationInfo | registration_info () const override |
| Copy stored registration metadata. | |
Public Member Functions inherited from openswmm::IPluginComponentInfo | |
| virtual | ~IPluginComponentInfo ()=default |
| Destroy component metadata only through its owning library/host lifetime. PluginFactory borrows singleton metadata and does not delete it as an instance. Keep library loaded until all created plugin instances/callbacks are destroyed; base destructor performs no instance cleanup, registration or library unloading. | |
| virtual bool | has_state_io () const noexcept |
| Query whether this component advertises the state_io capability. | |
| virtual IStateIOPlugin * | create_state_io_plugin () const |
| Allocate a distinct state_io plugin instance when supported and permitted. | |
Static Public Member Functions | |
| static GeoPackagePluginInfo & | instance () |
| Borrow the process-local GeoPackage metadata singleton. | |
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 |
Copy plugin caption metadata.
Implements openswmm::IPluginComponentInfo.
|
overridevirtual |
Allocate a fresh GeoPackage input plugin instance.
Does not inspect registered_ or open a database; allocation failure propagates.
Reimplemented from openswmm::IPluginComponentInfo.
|
overridevirtual |
Allocate a fresh GeoPackage output plugin instance.
Does not inspect registered_ or open a database; allocation failure propagates.
Reimplemented from openswmm::IPluginComponentInfo.
|
overridevirtual |
Allocate a fresh GeoPackage report plugin instance.
Does not inspect registered_ or open a database; allocation failure propagates.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy plugin description metadata.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy file-filter advertisements for all three GeoPackage IO roles.
Does not inspect files or bind a particular model/database.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
Advertise the built-in GeoPackage input factory.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
Advertise the built-in GeoPackage output factory.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
Advertise the built-in GeoPackage report factory.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy plugin id metadata.
Implements openswmm::IPluginComponentInfo.
|
inlinestatic |
Borrow the process-local GeoPackage metadata singleton.
Function-local construction is thread-safe; registration mutation is not synchronized.
|
inlineoverridevirtual |
Copy plugin license text metadata.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy plugin license type metadata.
Implements openswmm::IPluginComponentInfo.
|
overridevirtual |
Copy supplied registration metadata and mark the singleton registered.
Caller serializes registration reads/writes. Copy/allocation exceptions propagate; plugin factory methods do not consult registered_.
| [in] | info | Borrowed registration record copied verbatim, including empty or unverified fields. |
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtualnoexcept |
Read the stored metadata-registration flag.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy stored registration metadata.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy discovery/search tags.
Reimplemented from openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy plugin url metadata.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy plugin vendor metadata.
Implements openswmm::IPluginComponentInfo.
|
inlineoverridevirtual |
Copy plugin version metadata.
Implements openswmm::IPluginComponentInfo.