#include <midi_model.h>
|
| NoteDiffCommand (std::shared_ptr< MidiModel > m, const std::string &name) |
|
| NoteDiffCommand (std::shared_ptr< MidiModel > m, const XMLNode &node) |
|
void | operator() () |
|
void | undo () |
|
int | set_state (const XMLNode &, int version) |
|
XMLNode & | get_state () const |
|
void | add (const NotePtr note) |
|
void | remove (const NotePtr note) |
|
void | side_effect_remove (const NotePtr note) |
|
void | change (const NotePtr note, Property prop, uint8_t new_value) |
|
void | change (const NotePtr note, Property prop, TimeType new_time) |
|
void | change (const NotePtr note, Property prop, const Variant &new_value) |
|
bool | adds_or_removes () const |
|
NoteDiffCommand & | operator+= (const NoteDiffCommand &other) |
|
const ChangeList & | changes () const |
|
const NoteList & | added_notes () const |
|
const NoteList & | removed_notes () const |
|
Public Member Functions inherited from ARDOUR::MidiModel::DiffCommand |
| DiffCommand (std::shared_ptr< MidiModel > m, const std::string &name) |
|
const std::string & | name () const |
|
std::shared_ptr< MidiModel > | model () const |
|
Public Member Functions inherited from PBD::Command |
virtual | ~Command () |
|
void | set_name (const std::string &str) |
|
const std::string & | name () const |
|
virtual void | redo () |
|
virtual bool | empty () const |
|
| Stateful () |
|
virtual | ~Stateful () |
|
virtual bool | apply_change (PropertyBase const &) |
|
PropertyChange | apply_changes (PropertyList const &) |
|
const OwnedPropertyList & | properties () const |
|
void | add_property (PropertyBase &s) |
|
void | add_extra_xml (XMLNode &) |
|
XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
|
void | save_extra_xml (const XMLNode &) |
|
const PBD::ID & | id () const |
|
bool | set_id (const XMLNode &) |
|
void | set_id (const std::string &) |
|
void | reset_id () |
|
void | clear_changes () |
|
virtual void | clear_owned_changes () |
|
PropertyList * | get_changes_as_properties (PBD::Command *) const |
|
virtual void | rdiff (std::vector< PBD::Command * > &) const |
|
bool | changed () const |
|
virtual PropertyList * | property_factory (const XMLNode &) const |
|
virtual void | suspend_property_changes () |
|
virtual void | resume_property_changes () |
|
bool | property_changes_suspended () const |
|
virtual | ~Destructible () |
|
virtual void | drop_references () |
|
| ScopedConnectionList () |
|
virtual | ~ScopedConnectionList () |
|
void | add_connection (const UnscopedConnection &c) |
|
void | drop_connections () |
|
Definition at line 86 of file midi_model.h.
◆ ChangeList
◆ NoteList
◆ Property
Enumerator |
---|
NoteNumber | |
Velocity | |
StartTime | |
Length | |
Channel | |
Definition at line 92 of file midi_model.h.
◆ NoteDiffCommand() [1/2]
ARDOUR::MidiModel::NoteDiffCommand::NoteDiffCommand |
( |
std::shared_ptr< MidiModel > |
m, |
|
|
const std::string & |
name |
|
) |
| |
|
inline |
◆ NoteDiffCommand() [2/2]
ARDOUR::MidiModel::NoteDiffCommand::NoteDiffCommand |
( |
std::shared_ptr< MidiModel > |
m, |
|
|
const XMLNode & |
node |
|
) |
| |
◆ add()
void ARDOUR::MidiModel::NoteDiffCommand::add |
( |
const NotePtr |
note | ) |
|
◆ added_notes()
const NoteList& ARDOUR::MidiModel::NoteDiffCommand::added_notes |
( |
| ) |
const |
|
inline |
◆ adds_or_removes()
bool ARDOUR::MidiModel::NoteDiffCommand::adds_or_removes |
( |
| ) |
const |
|
inline |
◆ change() [1/3]
void ARDOUR::MidiModel::NoteDiffCommand::change |
( |
const NotePtr |
note, |
|
|
Property |
prop, |
|
|
const Variant & |
new_value |
|
) |
| |
◆ change() [2/3]
◆ change() [3/3]
void ARDOUR::MidiModel::NoteDiffCommand::change |
( |
const NotePtr |
note, |
|
|
Property |
prop, |
|
|
uint8_t |
new_value |
|
) |
| |
|
inline |
◆ changes()
const ChangeList& ARDOUR::MidiModel::NoteDiffCommand::changes |
( |
| ) |
const |
|
inline |
◆ get_state()
XMLNode& ARDOUR::MidiModel::NoteDiffCommand::get_state |
( |
| ) |
const |
|
virtual |
◆ get_value()
◆ marshal_change()
XMLNode& ARDOUR::MidiModel::NoteDiffCommand::marshal_change |
( |
const NoteChange & |
| ) |
const |
|
private |
◆ marshal_note()
XMLNode& ARDOUR::MidiModel::NoteDiffCommand::marshal_note |
( |
const NotePtr |
note | ) |
const |
|
private |
◆ operator()()
void ARDOUR::MidiModel::NoteDiffCommand::operator() |
( |
| ) |
|
|
virtual |
◆ operator+=()
◆ remove()
void ARDOUR::MidiModel::NoteDiffCommand::remove |
( |
const NotePtr |
note | ) |
|
◆ removed_notes()
const NoteList& ARDOUR::MidiModel::NoteDiffCommand::removed_notes |
( |
| ) |
const |
|
inline |
◆ set_state()
int ARDOUR::MidiModel::NoteDiffCommand::set_state |
( |
const XMLNode & |
, |
|
|
int |
version |
|
) |
| |
|
virtual |
◆ side_effect_remove()
void ARDOUR::MidiModel::NoteDiffCommand::side_effect_remove |
( |
const NotePtr |
note | ) |
|
◆ undo()
void ARDOUR::MidiModel::NoteDiffCommand::undo |
( |
| ) |
|
|
virtual |
◆ unmarshal_change()
NoteChange ARDOUR::MidiModel::NoteDiffCommand::unmarshal_change |
( |
XMLNode * |
xml_note | ) |
|
|
private |
◆ unmarshal_note()
NotePtr ARDOUR::MidiModel::NoteDiffCommand::unmarshal_note |
( |
XMLNode * |
xml_note | ) |
|
|
private |
◆ value_type()
◆ _added_notes
NoteList ARDOUR::MidiModel::NoteDiffCommand::_added_notes |
|
private |
◆ _changes
ChangeList ARDOUR::MidiModel::NoteDiffCommand::_changes |
|
private |
◆ _removed_notes
NoteList ARDOUR::MidiModel::NoteDiffCommand::_removed_notes |
|
private |
◆ side_effect_removals
std::set<NotePtr> ARDOUR::MidiModel::NoteDiffCommand::side_effect_removals |
|
private |
The documentation for this class was generated from the following file: