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

#include </home/runner/work/hal/hal/plugins/simulator/waveform_viewer/include/waveform_viewer/plugin_waveform_viewer.h>

Inheritance diagram for hal::WaveformViewerPlugin:
Inheritance graph
Collaboration diagram for hal::WaveformViewerPlugin:
Collaboration graph

Public Member Functions

std::string get_name () const override
 
std::string get_version () const override
 
std::string get_description () const override
 
void on_load () override
 
void on_unload () override
 
std::set< std::string > get_dependencies () const override
 
- Public Member Functions inherited from hal::BasePluginInterface
 BasePluginInterface ()=default
 
virtual ~BasePluginInterface ()
 
virtual void initialize ()
 
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
 

Detailed Description

The plugin that provides the waveform viewer of the GUI.

Definition at line 44 of file plugin_waveform_viewer.h.

Member Function Documentation

◆ get_dependencies()

std::set< std::string > hal::WaveformViewerPlugin::get_dependencies ( ) const
overridevirtual

Get all dependencies of this plugin.

Returns
The plugins that this plugin depends on.

Reimplemented from hal::BasePluginInterface.

Definition at line 31 of file plugin_waveform_viewer.cpp.

◆ get_description()

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

Get the description of the plugin.

Returns
The description of the plugin.

Reimplemented from hal::BasePluginInterface.

Definition at line 26 of file plugin_waveform_viewer.cpp.

◆ get_name()

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

Get the name of the plugin.

Returns
The name of the plugin.

Implements hal::BasePluginInterface.

Definition at line 16 of file plugin_waveform_viewer.cpp.

Referenced by on_load(), and on_unload().

◆ get_version()

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

Get the version of the plugin.

Returns
The version of the plugin.

Implements hal::BasePluginInterface.

Definition at line 21 of file plugin_waveform_viewer.cpp.

◆ on_load()

void hal::WaveformViewerPlugin::on_load ( )
overridevirtual

This function is automatically executed when the factory is loaded by the plugin manager

Reimplemented from hal::BasePluginInterface.

Definition at line 39 of file plugin_waveform_viewer.cpp.

References hal::ContentManager::addExternalWidget(), QList::append(), QString::fromStdString(), hal::gContentManager, get_name(), hal::gNetlist, and hal::ExternalContent::instance().

◆ on_unload()

void hal::WaveformViewerPlugin::on_unload ( )
overridevirtual

This function is automatically executed when the factory is unloaded by the plugin manager

Reimplemented from hal::BasePluginInterface.

Definition at line 48 of file plugin_waveform_viewer.cpp.

References QString::fromStdString(), get_name(), hal::ExternalContent::instance(), and hal::ExternalContent::removePlugin().


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