Management of track-to-track connections.
More...
#include <src/structure/tracks/track_routing.h>
|
| | TrackRouting (TrackRegistry &track_registry, QObject *parent=nullptr) |
|
Q_INVOKABLE QVariant | getOutputTrack (const Track *source) const |
|
Q_INVOKABLE void | setOutputTrack (const Track *source, const Track *destination) |
|
Q_SIGNAL void | routingChanged () |
| | Emitted when a change was made in the routing.
|
| void | add_or_replace_route (const TrackUuid &source, const TrackUuid &destination) |
| void | remove_route_for_source (const TrackUuid &source) |
| void | remove_routes_for_destination (const TrackUuid &destination) |
|
std::optional< TrackUuidReference > | get_output_track (const TrackUuid &source) const |
|
| void | to_json (nlohmann::json &j, const TrackRouting &t) |
| void | from_json (const nlohmann::json &j, TrackRouting &t) |
Management of track-to-track connections.
Definition at line 13 of file track_routing.h.
◆ TrackRouting()
| zrythm::structure::tracks::TrackRouting::TrackRouting |
( |
TrackRegistry & | track_registry, |
|
|
QObject * | parent = nullptr ) |
|
inline |
◆ add_or_replace_route()
| void zrythm::structure::tracks::TrackRouting::add_or_replace_route |
( |
const TrackUuid & | source, |
|
|
const TrackUuid & | destination ) |
|
inline |
◆ remove_route_for_source()
| void zrythm::structure::tracks::TrackRouting::remove_route_for_source |
( |
const TrackUuid & | source | ) |
|
|
inline |
◆ remove_routes_for_destination()
| void zrythm::structure::tracks::TrackRouting::remove_routes_for_destination |
( |
const TrackUuid & | destination | ) |
|
|
inline |
◆ from_json
| void from_json |
( |
const nlohmann::json & | j, |
|
|
TrackRouting & | t ) |
|
friend |
◆ to_json
| void to_json |
( |
nlohmann::json & | j, |
|
|
const TrackRouting & | t ) |
|
friend |
The documentation for this class was generated from the following file: