SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::timeseries::AddTimeseriesCommand Class Reference

Create an inline series and flush it to the engine. More...

#include <timeseriesseriescommands.h>

Inheritance diagram for openswmmvis::timeseries::AddTimeseriesCommand:
Collaboration diagram for openswmmvis::timeseries::AddTimeseriesCommand:

Public Member Functions

 AddTimeseriesCommand (void *layerHandle, QString name, QVector< TimeseriesPoint > points, QString unitsLabel, QString description, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Create an inline series and flush it to the engine.

Constructor & Destructor Documentation

◆ AddTimeseriesCommand()

openswmmvis::timeseries::AddTimeseriesCommand::AddTimeseriesCommand ( void *  layerHandle,
QString  name,
QVector< TimeseriesPoint points,
QString  unitsLabel,
QString  description,
QUndoCommand *  parent = nullptr 
)
Parameters
layerHandleOpaque SWMMModelLayer*, supplying both the registry and the engine handle. Type-erased so this header stays free of the layer graph.

Member Function Documentation

◆ redo()

void openswmmvis::timeseries::AddTimeseriesCommand::redo ( )
override
Here is the call graph for this function:

◆ undo()

void openswmmvis::timeseries::AddTimeseriesCommand::undo ( )
override
Here is the call graph for this function:

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