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

#include <history.hpp>

Public Member Functions

PRIVATE State ()
 
PRIVATE ~State ()
 
PRIVATE void clear ()
 
void push (Action *action)
 
void undo ()
 
void redo ()
 
bool canUndo ()
 
bool canRedo ()
 
std::string getUndoName ()
 
std::string getRedoName ()
 
void setSaved ()
 
bool isSaved ()
 

Public Attributes

Internal * internal
 
std::deque< Action * > actions
 
int actionIndex
 
int savedIndex
 Action index of saved patch state.
 

Constructor & Destructor Documentation

◆ State()

PRIVATE rack::history::State::State ( )

◆ ~State()

PRIVATE rack::history::State::~State ( )

Member Function Documentation

◆ clear()

PRIVATE void rack::history::State::clear ( )

◆ push()

void rack::history::State::push ( Action * action)

◆ undo()

void rack::history::State::undo ( )

◆ redo()

void rack::history::State::redo ( )

◆ canUndo()

bool rack::history::State::canUndo ( )

◆ canRedo()

bool rack::history::State::canRedo ( )

◆ getUndoName()

std::string rack::history::State::getUndoName ( )

◆ getRedoName()

std::string rack::history::State::getRedoName ( )

◆ setSaved()

void rack::history::State::setSaved ( )

◆ isSaved()

bool rack::history::State::isSaved ( )

Member Data Documentation

◆ internal

Internal* rack::history::State::internal

◆ actions

std::deque<Action*> rack::history::State::actions

◆ actionIndex

int rack::history::State::actionIndex

◆ savedIndex

int rack::history::State::savedIndex

Action index of saved patch state.


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