VCV Rack API v2
Loading...
Searching...
No Matches
rack::history::ParamChange Struct Reference

#include <history.hpp>

Inheritance diagram for rack::history::ParamChange:
[legend]
Collaboration diagram for rack::history::ParamChange:
[legend]

Public Member Functions

void undo () override
 
void redo () override
 
 ParamChange ()
 
- Public Member Functions inherited from rack::history::Action
virtual ~Action ()
 

Public Attributes

int paramId
 
float oldValue
 
float newValue
 
- Public Attributes inherited from rack::history::ModuleAction
int64_t moduleId
 
- Public Attributes inherited from rack::history::Action
std::string name
 Name of the action, lowercase.
 

Constructor & Destructor Documentation

◆ ParamChange()

rack::history::ParamChange::ParamChange ( )
inline

Member Function Documentation

◆ undo()

void rack::history::ParamChange::undo ( )
overridevirtual

Reimplemented from rack::history::Action.

◆ redo()

void rack::history::ParamChange::redo ( )
overridevirtual

Reimplemented from rack::history::Action.

Member Data Documentation

◆ paramId

int rack::history::ParamChange::paramId

◆ oldValue

float rack::history::ParamChange::oldValue

◆ newValue

float rack::history::ParamChange::newValue

The documentation for this struct was generated from the following file: