Records a STREET-conduit split that inserts a configured inlet junction (swmm_conduit_split_inlet).
More...
#include <mapundostack.h>
|
| | InsertInletJunctionCommand (SWMMModelLayer *layer, QString linkName, double t, QString nodeName, QString newLinkName, QString inletId, QString captureNode, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| |
| void | undo () override |
| |
| void | redo () override |
| |
| int | id () const override |
| |
Public Member Functions inherited from MapCommand |
| | MapCommand (const QString &text, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| | Constructs a map command with a human-readable text.
|
| |
| MapCanvas * | canvas () const |
| |
Records a STREET-conduit split that inserts a configured inlet junction (swmm_conduit_split_inlet).
Like InsertVirtualJunctionCommand, undo is the engine's exact inverse (swmm_inlet_junction_fuse), which removes the usage row and re-fuses the pair — so no snapshot machinery is needed.
◆ InsertInletJunctionCommand()
| InsertInletJunctionCommand::InsertInletJunctionCommand |
( |
SWMMModelLayer * |
layer, |
|
|
QString |
linkName, |
|
|
double |
t, |
|
|
QString |
nodeName, |
|
|
QString |
newLinkName, |
|
|
QString |
inletId, |
|
|
QString |
captureNode, |
|
|
MapCanvas * |
canvas, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ id()
| int InsertInletJunctionCommand::id |
( |
| ) |
const |
|
inlineoverride |
◆ redo()
| void InsertInletJunctionCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void InsertInletJunctionCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: