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

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

Inheritance diagram for hal::DataflowInteraction:
Inheritance graph
Collaboration diagram for hal::DataflowInteraction:
Collaboration graph

Public Member Functions

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

Detailed Description

Adds the dataflow analysis actions to the context menu of the nodes and edges of a displayed DOT graph.

Definition at line 39 of file dataflow_interaction.h.

Constructor & Destructor Documentation

◆ DataflowInteraction()

hal::DataflowInteraction::DataflowInteraction ( 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 dataflow_interaction.cpp.

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

Member Function Documentation

◆ registerEdge()

void hal::DataflowInteraction::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 32 of file dataflow_interaction.cpp.

◆ registerNode()

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

Attach the interaction to a node of the graph, which makes the module it represents selectable.

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

Definition at line 37 of file dataflow_interaction.cpp.

References QRegularExpressionMatch::captured(), QString::fromStdString(), hal::Netlist::get_modules(), hal::gNetlist, QRegularExpressionMatch::hasMatch(), and QRegularExpression::match().


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