|
lmms
Cross-platform music production software
|
#include <PatternStore.h>
Public Slots | |
| void | play () |
| void | stop () |
| void | updateComboBox () |
Signals | |
| void | trackUpdated () |
| Signals inherited from lmms::TrackContainer | |
| void | trackAdded (lmms::Track *_track) |
| void | trackRemoved () |
| void | trackMoved () |
| Signals inherited from lmms::Model | |
| void | dataChanged () |
| void | dataUnchanged () |
| void | propertiesChanged () |
Public Member Functions | |
| PatternStore () | |
| ~PatternStore () override=default | |
| virtual bool | play (TimePos start, const f_cnt_t frames, const f_cnt_t frameBase, int clipNum=-1) |
| void | updateAfterTrackAdd () override |
| QString | nodeName () const override |
| bar_t | lengthOfPattern (int pattern) const |
| bar_t | lengthOfCurrentPattern () |
| int | numOfPatterns () const |
| void | removePattern (int pattern) |
| void | swapPattern (int p1, int p2) |
| void | updatePatternTrack (Clip *clip) |
| void | fixIncorrectPositions () |
| void | createClipsForPattern (int pattern) |
| AutomatedValueMap | automatedValuesAt (TimePos time, int clipNum) const override |
| Public Member Functions inherited from lmms::TrackContainer | |
| TrackContainer () | |
| ~TrackContainer () override | |
| void | saveSettings (QDomDocument &_doc, QDomElement &_parent) override |
| void | loadSettings (const QDomElement &_this) override |
| int | countTracks (Track::Type _tt=Track::Type::Count) const |
| void | addTrack (Track *_track) |
| void | removeTrack (Track *_track) |
| void | moveTrack (Track *track, int indexTo) |
| void | clearAllTracks () |
| const TrackList & | tracks () const |
| bool | isEmpty () const |
| void | setType (Type newType) |
| Type | type () const |
| Public Member Functions inherited from lmms::Model | |
| Model (Model *parent, QString displayName=QString(), bool defaultConstructed=false) | |
| ~Model () override=default | |
| bool | isDefaultConstructed () const |
| Model * | parentModel () const |
| virtual QString | displayName () const |
| virtual void | setDisplayName (const QString &displayName) |
| virtual QString | fullDisplayName () const |
| Public Member Functions inherited from lmms::JournallingObject | |
| JournallingObject () | |
| ~JournallingObject () override | |
| jo_id_t | id () const |
| void | saveJournallingState (const bool newState) |
| void | restoreJournallingState () |
| void | addJournalCheckPoint () |
| QDomElement | saveState (QDomDocument &_doc, QDomElement &_parent) override |
| void | restoreState (const QDomElement &_this) override |
| bool | isJournalling () const |
| void | setJournalling (const bool _sr) |
| bool | testAndSetJournalling (const bool newState) |
| bool | isJournallingStateStackEmpty () const |
| Public Member Functions inherited from lmms::SerializingObject | |
| SerializingObject () | |
| virtual | ~SerializingObject () |
| void | setHook (SerializingObjectHook *_hook) |
| SerializingObjectHook * | hook () |
Private Member Functions | |
| mapPropertyFromModel (int, currentPattern, setCurrentPattern, m_patternComboBoxModel) | |
Private Attributes | |
| ComboBoxModel | m_patternComboBoxModel |
Friends | |
| class | gui::PatternEditorWindow |
Additional Inherited Members | |
| Public Types inherited from lmms::TrackContainer | |
| enum class | Type { Pattern , Song } |
| using | TrackList = std::vector<Track*> |
| Static Public Member Functions inherited from lmms::TrackContainer | |
| static const QString | classNodeName () |
| Protected Member Functions inherited from lmms::JournallingObject | |
| void | changeID (jo_id_t _id) |
| Static Protected Member Functions inherited from lmms::TrackContainer | |
| static AutomatedValueMap | automatedValuesFromTracks (const TrackList &tracks, TimePos timeStart, int clipNum=-1) |
| Protected Attributes inherited from lmms::TrackContainer | |
| QReadWriteLock | m_tracksMutex |
| lmms::PatternStore::PatternStore | ( | ) |
|
overridedefault |
|
overridevirtual |
Reimplemented from lmms::TrackContainer.
| void lmms::PatternStore::createClipsForPattern | ( | int | pattern | ) |
| void lmms::PatternStore::fixIncorrectPositions | ( | ) |
|
inline |
| bar_t lmms::PatternStore::lengthOfPattern | ( | int | pattern | ) | const |
|
private |
|
inlineoverridevirtual |
Implements lmms::SerializingObject.
| int lmms::PatternStore::numOfPatterns | ( | ) | const |
|
slot |
|
virtual |
| void lmms::PatternStore::removePattern | ( | int | pattern | ) |
|
slot |
| void lmms::PatternStore::swapPattern | ( | int | p1, |
| int | p2 ) |
|
signal |
|
overridevirtual |
Reimplemented from lmms::TrackContainer.
|
slot |
| void lmms::PatternStore::updatePatternTrack | ( | Clip * | clip | ) |
|
friend |
|
private |