|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
Plugin interface for the DotViewerPlugin. More...
#include </home/runner/work/hal/hal/plugins/dot_viewer/include/dot_viewer/plugin_dot_viewer.h>


Public Member Functions | |
| DotViewerPlugin () | |
Default constructor for DotViewerPlugin. More... | |
| ~DotViewerPlugin ()=default | |
Default destructor for DotViewerPlugin. More... | |
| std::string | get_name () const override |
| Get the name of the plugin. More... | |
| std::string | get_version () const override |
| Get the version of the plugin. More... | |
| std::string | get_description () const override |
| Get a short description of the plugin. More... | |
| std::set< std::string > | get_dependencies () const override |
| Get the plugin dependencies. More... | |
| void | initialize () override |
| void | on_load () override |
| void | on_unload () override |
Public Member Functions inherited from hal::BasePluginInterface | |
| BasePluginInterface ()=default | |
| virtual | ~BasePluginInterface () |
| template<typename... Args> | |
| void | log (const Args &... args) const |
| virtual void | initialize_logging () |
| virtual std::vector< AbstractExtensionInterface * > | get_extensions () const |
| template<typename T > | |
| T * | get_first_extension () const |
| void | delete_extension (AbstractExtensionInterface *aeif) |
Additional Inherited Members | |
Protected Attributes inherited from hal::BasePluginInterface | |
| std::vector< AbstractExtensionInterface * > | m_extensions |
Plugin interface for the DotViewerPlugin.
This class provides an interface to integrate a .dot viewer as a plugin within the HAL framework.
Definition at line 49 of file plugin_dot_viewer.h.
| hal::DotViewerPlugin::DotViewerPlugin | ( | ) |
Default constructor for DotViewerPlugin.
Definition at line 23 of file plugin_dot_viewer.cpp.
References hal::BasePluginInterface::m_extensions.
|
default |
Default destructor for DotViewerPlugin.
|
overridevirtual |
Get the plugin dependencies.
Reimplemented from hal::BasePluginInterface.
Definition at line 60 of file plugin_dot_viewer.cpp.
Referenced by hal::PYBIND11_PLUGIN().
|
overridevirtual |
Get a short description of the plugin.
Reimplemented from hal::BasePluginInterface.
Definition at line 38 of file plugin_dot_viewer.cpp.
Referenced by hal::PYBIND11_PLUGIN().
|
overridevirtual |
Get the name of the plugin.
Implements hal::BasePluginInterface.
Definition at line 28 of file plugin_dot_viewer.cpp.
Referenced by on_load(), on_unload(), and hal::PYBIND11_PLUGIN().
|
overridevirtual |
Get the version of the plugin.
Implements hal::BasePluginInterface.
Definition at line 33 of file plugin_dot_viewer.cpp.
Referenced by hal::PYBIND11_PLUGIN().
|
overridevirtual |
Initialize the plugin, which registers the DOT viewer content factory with the GUI.
Reimplemented from hal::BasePluginInterface.
Definition at line 56 of file plugin_dot_viewer.cpp.
|
overridevirtual |
Called when the plugin is loaded, which sets up the log channel and the GUI extension.
Reimplemented from hal::BasePluginInterface.
Definition at line 43 of file plugin_dot_viewer.cpp.
References hal::ContentManager::addExternalWidget(), QList::append(), QString::fromStdString(), hal::gContentManager, get_name(), hal::gNetlist, and hal::ExternalContent::instance().
|
overridevirtual |
Called when the plugin is unloaded, which releases the GUI extension again.
Reimplemented from hal::BasePluginInterface.
Definition at line 50 of file plugin_dot_viewer.cpp.
References QString::fromStdString(), get_name(), hal::ExternalContent::instance(), and hal::ExternalContent::removePlugin().