HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::PluginGui Class Reference

#include </home/runner/work/hal/hal/plugins/gui/include/gui/plugin_gui.h>

Inheritance diagram for hal::PluginGui:
Inheritance graph
Collaboration diagram for hal::PluginGui:
Collaboration graph

Public Member Functions

 PluginGui ()
 
std::string get_name () const override
 
std::string get_version () const override
 
std::string get_description () const override
 
void initialize_logging () 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::set< std::string > get_dependencies () const
 
template<typename... Args>
void log (const Args &... args) const
 
virtual void on_load ()
 
virtual void on_unload ()
 
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
 

Detailed Description

PluginGui is a huge plugin that provides a graphical user interface to load and work with netlists. If compiled it can be started using the '-g'/'–gui' flag.

Definition at line 63 of file plugin_gui.h.

Constructor & Destructor Documentation

◆ PluginGui()

hal::PluginGui::PluginGui ( )
inline

Definition at line 68 of file plugin_gui.h.

References hal::BasePluginInterface::m_extensions.

Member Function Documentation

◆ exec()

◆ get_description()

std::string hal::PluginGui::get_description ( ) const
overridevirtual

Short description of plugin.

Returns
a short description of plugin

Reimplemented from hal::BasePluginInterface.

Definition at line 282 of file plugin_gui.cpp.

◆ get_name()

std::string hal::PluginGui::get_name ( ) const
overridevirtual

Returns the plugin name: 'hal_gui'

Returns
the plugin name

Implements hal::BasePluginInterface.

Definition at line 272 of file plugin_gui.cpp.

◆ get_version()

std::string hal::PluginGui::get_version ( ) const
overridevirtual

Returns the current version of the plugin.

Returns
the current version number of the plugin

Implements hal::BasePluginInterface.

Definition at line 277 of file plugin_gui.cpp.

◆ initialize_logging()

void hal::PluginGui::initialize_logging ( )
overridevirtual

◆ set_layout_locker()

void hal::PluginGui::set_layout_locker ( bool  enable)
overridevirtual

Call to block layouter.

Can be enabled multiple times, but each enable must be match by disable to remove the lock.

Parameters
[in]enableEnable lock on true, disable on false

Implements hal::UIPluginInterface.

Definition at line 303 of file plugin_gui.cpp.

References hal::enable.


The documentation for this class was generated from the following files: