Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::commands::RouteTrackCommand Class Reference

Command that routes (or re-routes) a track to an optional target. More...

#include <src/commands/route_track_command.h>

Inheritance diagram for zrythm::commands::RouteTrackCommand:
Collaboration diagram for zrythm::commands::RouteTrackCommand:

Public Member Functions

 RouteTrackCommand (structure::tracks::TrackRouting &router, structure::tracks::Track::Uuid source_id, std::optional< structure::tracks::Track::Uuid > target_id)
int id () const override
void undo () override
void redo () override

Static Public Attributes

static constexpr auto CommandId = 6451638

Detailed Description

Command that routes (or re-routes) a track to an optional target.

Definition at line 18 of file route_track_command.h.

Constructor & Destructor Documentation

◆ RouteTrackCommand()

zrythm::commands::RouteTrackCommand::RouteTrackCommand ( structure::tracks::TrackRouting & router,
structure::tracks::Track::Uuid source_id,
std::optional< structure::tracks::Track::Uuid > target_id )
inline

Definition at line 23 of file route_track_command.h.

Member Function Documentation

◆ id()

int zrythm::commands::RouteTrackCommand::id ( ) const
inlineoverride

Definition at line 32 of file route_track_command.h.

◆ redo()

void zrythm::commands::RouteTrackCommand::redo ( )
inlineoverride

Definition at line 61 of file route_track_command.h.

◆ undo()

void zrythm::commands::RouteTrackCommand::undo ( )
inlineoverride

Definition at line 34 of file route_track_command.h.

Field Documentation

◆ CommandId

auto zrythm::commands::RouteTrackCommand::CommandId = 6451638
staticconstexpr

Definition at line 21 of file route_track_command.h.


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