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

#include </home/runner/work/hal/hal/plugins/dot_viewer/include/dot_viewer/interaction/clock_tree_extractor_interaction.h>

Inheritance diagram for hal::ClockTreeExtractorInteraction:
Inheritance graph
Collaboration diagram for hal::ClockTreeExtractorInteraction:
Collaboration graph

Public Member Functions

 ClockTreeExtractorInteraction (QGVScene *parent)
 
void registerNode (QGVNode *node) override
 
void registerEdge (QGVEdge *scene) override
 

Detailed Description

Adds the clock tree extractor actions to the context menu of the nodes and edges of a displayed DOT graph.

Definition at line 37 of file clock_tree_extractor_interaction.h.

Constructor & Destructor Documentation

◆ ClockTreeExtractorInteraction()

hal::ClockTreeExtractorInteraction::ClockTreeExtractorInteraction ( QGVScene *  parent)

Construct the interaction for the given scene.

Parameters
[in]parent- The scene that holds the displayed graph.

Definition at line 23 of file clock_tree_extractor_interaction.cpp.

References hal::gSelectionRelay, QGraphicsScene::selectionChanged(), and hal::SelectionRelay::selectionChanged().

Member Function Documentation

◆ registerEdge()

void hal::ClockTreeExtractorInteraction::registerEdge ( QGVEdge *  scene)
override

Attach the interaction to an edge of the graph, which makes the connection it represents selectable.

Parameters
[in]scene- The edge to attach to.

Definition at line 30 of file clock_tree_extractor_interaction.cpp.

◆ registerNode()

void hal::ClockTreeExtractorInteraction::registerNode ( QGVNode *  node)
override

Attach the interaction to a node of the graph, which makes the gate or net it represents selectable.

Parameters
[in]node- The node to attach to.

Definition at line 35 of file clock_tree_extractor_interaction.cpp.

References hal::Netlist::get_gate_by_id(), hal::Netlist::get_global_input_nets(), hal::gNetlist, and log_warning.


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