38 const dsp::TempoMap &tempo_map,
40 QObject * parent =
nullptr);
46 auto markerType ()
const {
return marker_type_; }
48 Q_INVOKABLE
bool isStartMarker ()
const
52 Q_INVOKABLE
bool isEndMarker ()
const
63 static constexpr auto kMarkerTypeKey =
"markerType"sv;
64 friend void to_json (nlohmann::json &j,
const Marker &m)
67 j[kMarkerTypeKey] = m.marker_type_;
69 friend void from_json (
const nlohmann::json &j, Marker &m)
72 j.at (kMarkerTypeKey).get_to (m.marker_type_);
79 BOOST_DESCRIBE_CLASS (Marker, (
ArrangerObject), (), (), (marker_type_))