Records a conduit split that inserts a virtual junction.
More...
#include <mapundostack.h>
Records a conduit split that inserts a virtual junction.
redo() calls SWMMModelLayer::applyInsertVirtualJunction (engine swmm_conduit_split); undo() calls applyFuseVirtualJunction — the exact engine-side inverse (a split→fuse round-trip restores the model byte-identically), so no snapshot machinery is needed.
◆ InsertVirtualJunctionCommand()
| InsertVirtualJunctionCommand::InsertVirtualJunctionCommand |
( |
SWMMModelLayer * |
layer, |
|
|
QString |
linkName, |
|
|
double |
t, |
|
|
QString |
nodeName, |
|
|
QString |
newLinkName, |
|
|
MapCanvas * |
canvas, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ id()
| int InsertVirtualJunctionCommand::id |
( |
| ) |
const |
|
inlineoverride |
◆ redo()
| void InsertVirtualJunctionCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void InsertVirtualJunctionCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: