|
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/dot_viewer/include/dot_viewer/interaction/solve_fsm_interaction.h>


Public Member Functions | |
| SolveFsmInteraction (QGVScene *parent) | |
| ~SolveFsmInteraction () | |
| void | registerNode (QGVNode *node) override |
| void | registerEdge (QGVEdge *edge) override |
Adds the FSM solver actions to the context menu of the nodes and edges of a displayed DOT graph.
Definition at line 40 of file solve_fsm_interaction.h.
| hal::SolveFsmInteraction::SolveFsmInteraction | ( | QGVScene * | parent | ) |
Construct the interaction for the given scene.
| [in] | parent | - The scene that holds the displayed graph. |
Definition at line 26 of file solve_fsm_interaction.cpp.
References QGraphicsScene::changed(), hal::gSelectionRelay, QGraphicsScene::selectionChanged(), and hal::SelectionRelay::selectionChanged().
| hal::SolveFsmInteraction::~SolveFsmInteraction | ( | ) |
Definition at line 35 of file solve_fsm_interaction.cpp.
|
override |
Attach the interaction to an edge of the graph, which makes the transition it represents selectable.
| [in] | edge | - The edge to attach to. |
Definition at line 53 of file solve_fsm_interaction.cpp.
References QRegularExpressionMatch::captured(), hal::Netlist::get_net_by_id(), QRegularExpression::globalMatch(), hal::gNetlist, QRegularExpressionMatchIterator::hasNext(), QMultiHash::insert(), QRectF::isNull(), QRegularExpressionMatchIterator::next(), QString::toUInt(), and QRectF::united().
|
override |
Attach the interaction to a node of the graph, which makes the state it represents selectable.
| [in] | node | - The node to attach to. |
Definition at line 73 of file solve_fsm_interaction.cpp.
References QRectF::isNull(), and QRectF::united().