Loading [MathJax]/extensions/tex2jax.js
VCV Rack API v2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rack::history::ModuleChange Struct Reference

#include <history.hpp>

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

Public Member Functions

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

Public Attributes

json_t * oldModuleJ = NULL
 
json_t * newModuleJ = NULL
 
- Public Attributes inherited from rack::history::ModuleAction
int64_t moduleId = -1
 
- Public Attributes inherited from rack::history::Action
std::string name
 Name of the action, lowercase.
 

Constructor & Destructor Documentation

◆ ModuleChange()

rack::history::ModuleChange::ModuleChange ( )
inline

◆ ~ModuleChange()

rack::history::ModuleChange::~ModuleChange ( )

Member Function Documentation

◆ undo()

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

Reimplemented from rack::history::Action.

◆ redo()

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

Reimplemented from rack::history::Action.

Member Data Documentation

◆ oldModuleJ

json_t* rack::history::ModuleChange::oldModuleJ = NULL

◆ newModuleJ

json_t* rack::history::ModuleChange::newModuleJ = NULL

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