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

#include <history.hpp>

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

Public Member Functions

void setCable (app::CableWidget *cw)
 
void undo () override
 
void redo () override
 
 CableAdd ()
 
- Public Member Functions inherited from rack::history::Action
virtual ~Action ()
 

Public Attributes

int64_t cableId
 
int64_t inputModuleId
 
int inputId
 
int64_t outputModuleId
 
int outputId
 
NVGcolor color
 
- Public Attributes inherited from rack::history::Action
std::string name
 Name of the action, lowercase.
 

Constructor & Destructor Documentation

◆ CableAdd()

rack::history::CableAdd::CableAdd ( )
inline

Member Function Documentation

◆ setCable()

void rack::history::CableAdd::setCable ( app::CableWidget * cw)

◆ undo()

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

Reimplemented from rack::history::Action.

Reimplemented in rack::history::InverseAction< CableAdd >.

◆ redo()

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

Reimplemented from rack::history::Action.

Reimplemented in rack::history::InverseAction< CableAdd >.

Member Data Documentation

◆ cableId

int64_t rack::history::CableAdd::cableId

◆ inputModuleId

int64_t rack::history::CableAdd::inputModuleId

◆ inputId

int rack::history::CableAdd::inputId

◆ outputModuleId

int64_t rack::history::CableAdd::outputModuleId

◆ outputId

int rack::history::CableAdd::outputId

◆ color

NVGcolor rack::history::CableAdd::color

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