|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/python_shell/include/python_shell/plugin_python_shell.h>


Public Member Functions | |
| PluginPythonShell () | |
| std::string | get_name () const override |
| std::string | get_version () const override |
| bool | exec (ProgramArguments &args) override |
| void | set_layout_locker (bool enable) override |
Public Member Functions inherited from hal::UIPluginInterface | |
| UIPluginInterface ()=default | |
| virtual | ~UIPluginInterface ()=default |
Public Member Functions inherited from hal::BasePluginInterface | |
| BasePluginInterface ()=default | |
| virtual | ~BasePluginInterface () |
| virtual void | initialize () |
| virtual std::string | get_description () const |
| virtual std::set< std::string > | get_dependencies () const |
| template<typename... Args> | |
| void | log (const Args &... args) const |
| virtual void | on_load () |
| virtual void | on_unload () |
| 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 |
The plugin that provides an interactive Python shell on the command line.
Definition at line 55 of file plugin_python_shell.h.
|
inline |
Definition at line 58 of file plugin_python_shell.h.
References hal::BasePluginInterface::m_extensions.
|
overridevirtual |
Excutes the plugin with given command line parameters.
| [in] | args | - The command line parameters. |
true on success, false otherwise. Implements hal::UIPluginInterface.
Definition at line 40 of file plugin_python_shell.cpp.
References hal::utils::ends_with(), hal::utils::get_library_directory(), get_name(), hal::ProgramArguments::get_parameter(), hal::ProgramArguments::is_option_set(), log_error, and hal::utils::split().
|
overridevirtual |
Get the name of the plugin.
Implements hal::BasePluginInterface.
Definition at line 30 of file plugin_python_shell.cpp.
Referenced by exec().
|
overridevirtual |
Get the version of the plugin.
Implements hal::BasePluginInterface.
Definition at line 35 of file plugin_python_shell.cpp.
|
inlineoverridevirtual |
Nothing to do for GUI layout locker.
| [in] | enable | - Unused. |
Implements hal::UIPluginInterface.
Definition at line 91 of file plugin_python_shell.h.
References hal::enable, and UNUSED.