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::SetPointValueCommand Class Reference

Change one point's value. Time unchanged → monotonicity preserved. More...

#include <timeseriesundocommands.h>

Inheritance diagram for openswmmvis::timeseries::SetPointValueCommand:
Collaboration diagram for openswmmvis::timeseries::SetPointValueCommand:

Public Member Functions

 SetPointValueCommand (TimeseriesProvider *provider, int index, double newValue, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Change one point's value. Time unchanged → monotonicity preserved.

Constructor & Destructor Documentation

◆ SetPointValueCommand()

openswmmvis::timeseries::SetPointValueCommand::SetPointValueCommand ( TimeseriesProvider provider,
int  index,
double  newValue,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

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

◆ undo()

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

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