3 #ifndef XJMUSIC_FABRICATOR_SEGMENT_RETROSPECTIVE_H
4 #define XJMUSIC_FABRICATOR_SEGMENT_RETROSPECTIVE_H
33 std::vector<const Segment *> retroSegments{};
34 std::set<int> previousSegmentIds{};
35 std::optional<const Segment *> previousSegment;
36 std::map<int, std::vector<const SegmentChord *>> segmentChords{};
71 virtual std::set<const SegmentChoice *>
getChoices()
const;
98 virtual std::optional<const SegmentMeta *>
getPreviousMeta(
const std::string &key)
const;
124 virtual std::set<const SegmentChoiceArrangementPick *>
getPicks()
const;
158 virtual std::set<const SegmentChoice *>
192 virtual std::vector<const Segment *>
getSegments()
const;
200 virtual std::vector<const SegmentChord *>
getSegmentChords(
int segmentId)
const;
Mode
Definition: Instrument.h:29
Type
Definition: Instrument.h:16
Type
Definition: Program.h:16
Definition: SegmentChoiceArrangementPick.h:14
Definition: SegmentChoiceArrangement.h:14
Definition: SegmentChoice.h:15
Definition: SegmentEntityStore.h:43
Definition: SegmentRetrospective.h:30
virtual std::optional< const SegmentMeta * > getPreviousMeta(const std::string &key) const
Definition: SegmentRetrospective.cpp:164
virtual std::set< const SegmentChoice * > getPreviousChoicesOfTypeMode(Instrument::Type instrumentType, Instrument::Mode instrumentMode) const
Definition: SegmentRetrospective.cpp:87
virtual std::set< const SegmentChoice * > getChoices() const
Definition: SegmentRetrospective.cpp:114
virtual const SegmentChoiceArrangement * getArrangement(const SegmentChoiceArrangementPick *pick) const
Definition: SegmentRetrospective.cpp:174
virtual std::set< const SegmentChoiceArrangement * > getPreviousArrangementsForInstrument(const UUID &instrumentId) const
Definition: SegmentRetrospective.cpp:130
virtual std::vector< const SegmentChord * > getSegmentChords(int segmentId) const
Definition: SegmentRetrospective.cpp:194
virtual ~SegmentRetrospective()=default
virtual std::set< const SegmentChoice * > getPreviousChoicesOfMode(Instrument::Mode instrumentMode) const
Definition: SegmentRetrospective.cpp:74
virtual const SegmentChoice * getChoice(const SegmentChoiceArrangement *arrangement) const
Definition: SegmentRetrospective.cpp:184
virtual std::set< const SegmentChoiceArrangementPick * > getPicks() const
Definition: SegmentRetrospective.cpp:60
virtual Instrument::Type getInstrumentType(const SegmentChoiceArrangementPick *pick) const
Definition: SegmentRetrospective.cpp:160
virtual std::optional< const SegmentChoice * > getPreviousChoiceOfType(const Segment *segment, Program::Type programType) const
Definition: SegmentRetrospective.cpp:55
virtual std::optional< const Segment * > getPreviousSegment() const
Definition: SegmentRetrospective.cpp:65
virtual std::set< const SegmentChoice * > getPreviousChoicesForInstrument(const UUID &instrumentId) const
Definition: SegmentRetrospective.cpp:118
virtual std::vector< const Segment * > getSegments() const
Definition: SegmentRetrospective.cpp:110
virtual std::set< const SegmentChoiceArrangementPick * > getPreviousPicksForInstrument(const UUID &instrumentId) const
Definition: SegmentRetrospective.cpp:144
SegmentRetrospective(SegmentEntityStore *entityStore, int segmentId, bool autoload=true)
Definition: SegmentRetrospective.cpp:11
Definition: ActiveAudio.h:11
std::string UUID
Definition: EntityUtils.h:28