Ardour
9.0-pre0-582-g084a23a80d
|
#include <midi_scene_change.h>
Public Member Functions | |
MIDISceneChange (int channel, int bank=-1, int program=-1) | |
MIDISceneChange (const XMLNode &, int version) | |
~MIDISceneChange () | |
void | set_channel (int channel) |
void | set_program (int program) |
void | set_bank (int bank) |
int | channel () const |
int | program () const |
int | bank () const |
size_t | get_bank_msb_message (uint8_t *buf, size_t size) const |
size_t | get_bank_lsb_message (uint8_t *buf, size_t size) const |
size_t | get_program_message (uint8_t *buf, size_t size) const |
XMLNode & | get_state () const |
int | set_state (const XMLNode &, int version) |
bool | operator== (const MIDISceneChange &other) const |
Public Member Functions inherited from ARDOUR::SceneChange | |
SceneChange () | |
virtual | ~SceneChange () |
uint32_t | color () const |
void | set_color (uint32_t) |
bool | color_out_of_bounds () const |
bool | active () const |
void | set_active (bool) |
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 |
Private Attributes | |
int | _bank |
int | _program |
uint8_t | _channel |
Additional Inherited Members | |
Static Public Member Functions inherited from ARDOUR::SceneChange | |
static std::shared_ptr< SceneChange > | factory (const XMLNode &, int version) |
Public Attributes inherited from ARDOUR::SceneChange | |
PBD::Signal< void()> | ColorChanged |
PBD::Signal< void()> | ActiveChanged |
Public Attributes inherited from PBD::Stateful | |
PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Static Public Attributes inherited from ARDOUR::SceneChange | |
static std::string | xml_node_name |
static const uint32_t | out_of_bound_color |
Static Public Attributes inherited from PBD::Stateful | |
static int | current_state_version |
static int | loading_state_version |
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 inherited from ARDOUR::SceneChange | |
uint32_t | _color |
bool | _active |
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 |
Definition at line 32 of file midi_scene_change.h.
ARDOUR::MIDISceneChange::MIDISceneChange | ( | int | channel, |
int | bank = -1 , |
||
int | program = -1 |
||
) |
ARDOUR::MIDISceneChange::MIDISceneChange | ( | const XMLNode & | , |
int | version | ||
) |
ARDOUR::MIDISceneChange::~MIDISceneChange | ( | ) |
|
inline |
Definition at line 45 of file midi_scene_change.h.
|
inline |
Definition at line 43 of file midi_scene_change.h.
size_t ARDOUR::MIDISceneChange::get_bank_lsb_message | ( | uint8_t * | buf, |
size_t | size | ||
) | const |
size_t ARDOUR::MIDISceneChange::get_bank_msb_message | ( | uint8_t * | buf, |
size_t | size | ||
) | const |
size_t ARDOUR::MIDISceneChange::get_program_message | ( | uint8_t * | buf, |
size_t | size | ||
) | const |
|
virtual |
Implements PBD::Stateful.
bool ARDOUR::MIDISceneChange::operator== | ( | const MIDISceneChange & | other | ) | const |
|
inline |
Definition at line 44 of file midi_scene_change.h.
void ARDOUR::MIDISceneChange::set_bank | ( | int | bank | ) |
void ARDOUR::MIDISceneChange::set_channel | ( | int | channel | ) |
void ARDOUR::MIDISceneChange::set_program | ( | int | program | ) |
|
virtual |
Implements PBD::Stateful.
|
private |
Definition at line 57 of file midi_scene_change.h.
|
private |
Definition at line 59 of file midi_scene_change.h.
|
private |
Definition at line 58 of file midi_scene_change.h.