Reference to the track-owned source a route reads. More...
#include <modulation.hpp>
Public Member Functions | |
| constexpr bool | valid () const noexcept |
| Returns whether the referenced source identity is nonzero. | |
| constexpr bool | operator== (const ModulationSourceRef &) const =default |
Public Attributes | |
| ItemId | id |
| ModulationSourceKind | kind = ModulationSourceKind::Modulator |
Reference to the track-owned source a route reads.
The kind is carried rather than inferred from the identity, so a route that names a modulator can never be silently satisfied by a macro that happens to hold that ID after a remap.
|
constexprdefault |
|
inlineconstexprnoexcept |
Returns whether the referenced source identity is nonzero.
| ItemId pulp::timeline::ModulationSourceRef::id |
| ModulationSourceKind pulp::timeline::ModulationSourceRef::kind = ModulationSourceKind::Modulator |