|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <command.h>
Public Member Functions | |
| virtual | ~Command () |
| virtual void | operator() ()=0 |
| void | set_name (const std::string &str) |
| const std::string & | name () const |
| virtual void | undo ()=0 |
| virtual void | redo () |
| virtual XMLNode & | get_state () const |
| virtual int | set_state (const XMLNode &, int) |
| virtual bool | empty () const |
Public Member Functions inherited from PBD::Stateful | |
| 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 |
Public Member Functions inherited from PBD::Destructible | |
| virtual | ~Destructible () |
| virtual void | drop_references () |
Public Member Functions inherited from PBD::ScopedConnectionList | |
| ScopedConnectionList () | |
| ScopedConnectionList (const ScopedConnectionList &)=delete | |
| ScopedConnectionList & | operator= (const ScopedConnectionList &)=delete |
| virtual | ~ScopedConnectionList () |
| void | add_connection (const UnscopedConnection &c) |
| void | drop_connections () |
| std::list< ScopedConnectionList * >::size_type | size () const |
Protected Member Functions | |
| Command () | |
| Command (const std::string &name) | |
Protected Member Functions inherited from PBD::Stateful | |
| void | add_instant_xml (XMLNode &, const std::string &directory_path) |
| XMLNode * | instant_xml (const std::string &str, const std::string &directory_path) |
| void | add_properties (XMLNode &) const |
| PropertyChange | set_values (XMLNode const &) |
| virtual void | post_set (const PropertyChange &) |
| virtual void | send_change (const PropertyChange &) |
| virtual void | mid_thaw (const PropertyChange &) |
| bool | regenerate_xml_or_string_ids () const |
Protected Attributes | |
| std::string | _name |
Protected Attributes inherited from PBD::Stateful | |
| XMLNode * | _extra_xml |
| XMLNode * | _instant_xml |
| PBD::PropertyChange | _pending_changed |
| Glib::Threads::Mutex | _lock |
| std::string | _xml_node_name |
| name of node to use for this object in XML More... | |
| OwnedPropertyList * | _properties |
Additional Inherited Members | |
Public Attributes inherited from PBD::Stateful | |
| PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Public Attributes inherited from PBD::Destructible | |
| PBD::Signal< void()> | Destroyed |
| PBD::Signal< void()> | DropReferences |
Static Public Attributes inherited from PBD::Stateful | |
| static int | current_state_version |
| static int | loading_state_version |
|
inlineprotected |
|
inlinevirtual |
Reimplemented in PBD::UndoTransaction, and PBD::StatefulDiffCommand.
|
virtual |
Implements PBD::Stateful.
Reimplemented in ARDOUR::MidiModel::DiffCommand, Temporal::TempoCommand, PBD::UndoTransaction, PBD::StatefulDiffCommand, MementoCommand< obj_T >, ARDOUR::MidiModel::PatchChangeDiffCommand, ARDOUR::MidiModel::SysExDiffCommand, ARDOUR::MidiModel::NoteDiffCommand, and ARDOUR::MidiModel::ShiftCommand.
|
pure virtual |
|
inlinevirtual |
Reimplemented in PBD::UndoTransaction.
|
inline |
|
inlinevirtual |
|
pure virtual |