#include <midi_patch_manager.h>
|
| ~MidiPatchManager () |
|
bool | add_custom_midnam (const std::string &id, char const *) |
|
bool | update_custom_midnam (const std::string &id, char const *) |
|
bool | remove_custom_midnam (const std::string &id) |
|
bool | is_custom_model (const std::string &model) const |
|
void | add_search_path (const PBD::Searchpath &search_path) |
|
void | remove_search_path (const PBD::Searchpath &search_path) |
|
std::shared_ptr< MIDINameDocument > | document_by_model (std::string model_name) const |
|
std::shared_ptr< MasterDeviceNames > | master_device_by_model (std::string model_name) |
|
std::shared_ptr< ChannelNameSet > | find_channel_name_set (std::string model, std::string custom_device_mode, uint8_t channel) |
|
std::shared_ptr< Patch > | find_patch (std::string model, std::string custom_device_mode, uint8_t channel, PatchPrimaryKey patch_key) |
|
std::shared_ptr< Patch > | previous_patch (std::string model, std::string custom_device_mode, uint8_t channel, PatchPrimaryKey patch_key) |
|
std::shared_ptr< Patch > | next_patch (std::string model, std::string custom_device_mode, uint8_t channel, PatchPrimaryKey patch_key) |
|
std::list< std::string > | custom_device_mode_names_by_model (std::string model_name) |
|
const MasterDeviceNames::Models & | all_models () const |
|
const DeviceNamesByMaker & | devices_by_manufacturer () const |
|
void | load_midnams_in_thread () |
|
void | maybe_use (PBD::ScopedConnectionList &clist, PBD::EventLoop::InvalidationRecord *ir, const std::function< void()> &slot, PBD::EventLoop *event_loop) |
|
Definition at line 41 of file midi_patch_manager.h.
◆ DeviceNamesByMaker
◆ MidiNameDocuments
◆ MidiPatchManager() [1/2]
MIDI::Name::MidiPatchManager::MidiPatchManager |
( |
| ) |
|
|
private |
◆ MidiPatchManager() [2/2]
◆ ~MidiPatchManager()
MIDI::Name::MidiPatchManager::~MidiPatchManager |
( |
| ) |
|
◆ add_custom_midnam()
bool MIDI::Name::MidiPatchManager::add_custom_midnam |
( |
const std::string & |
id, |
|
|
char const * |
|
|
) |
| |
◆ add_midi_name_document()
bool MIDI::Name::MidiPatchManager::add_midi_name_document |
( |
std::shared_ptr< MIDINameDocument > |
| ) |
|
|
private |
◆ add_midnam_files_from_directory()
void MIDI::Name::MidiPatchManager::add_midnam_files_from_directory |
( |
const std::string & |
directory_path | ) |
|
|
private |
◆ add_search_path()
void MIDI::Name::MidiPatchManager::add_search_path |
( |
const PBD::Searchpath & |
search_path | ) |
|
◆ all_models()
◆ custom_device_mode_names_by_model()
std::list<std::string> MIDI::Name::MidiPatchManager::custom_device_mode_names_by_model |
( |
std::string |
model_name | ) |
|
|
inline |
◆ devices_by_manufacturer()
◆ document_by_model()
std::shared_ptr<MIDINameDocument> MIDI::Name::MidiPatchManager::document_by_model |
( |
std::string |
model_name | ) |
const |
◆ find_channel_name_set()
std::shared_ptr<ChannelNameSet> MIDI::Name::MidiPatchManager::find_channel_name_set |
( |
std::string |
model, |
|
|
std::string |
custom_device_mode, |
|
|
uint8_t |
channel |
|
) |
| |
|
inline |
◆ find_patch()
std::shared_ptr<Patch> MIDI::Name::MidiPatchManager::find_patch |
( |
std::string |
model, |
|
|
std::string |
custom_device_mode, |
|
|
uint8_t |
channel, |
|
|
PatchPrimaryKey |
patch_key |
|
) |
| |
|
inline |
◆ instance()
◆ is_custom_model()
bool MIDI::Name::MidiPatchManager::is_custom_model |
( |
const std::string & |
model | ) |
const |
◆ load_midi_name_document()
bool MIDI::Name::MidiPatchManager::load_midi_name_document |
( |
const std::string & |
file_path | ) |
|
|
private |
◆ load_midnams()
void MIDI::Name::MidiPatchManager::load_midnams |
( |
| ) |
|
|
private |
◆ load_midnams_in_thread()
void MIDI::Name::MidiPatchManager::load_midnams_in_thread |
( |
| ) |
|
◆ master_device_by_model()
std::shared_ptr<MasterDeviceNames> MIDI::Name::MidiPatchManager::master_device_by_model |
( |
std::string |
model_name | ) |
|
|
inline |
◆ maybe_use()
◆ next_patch()
std::shared_ptr<Patch> MIDI::Name::MidiPatchManager::next_patch |
( |
std::string |
model, |
|
|
std::string |
custom_device_mode, |
|
|
uint8_t |
channel, |
|
|
PatchPrimaryKey |
patch_key |
|
) |
| |
|
inline |
◆ operator=()
◆ previous_patch()
std::shared_ptr<Patch> MIDI::Name::MidiPatchManager::previous_patch |
( |
std::string |
model, |
|
|
std::string |
custom_device_mode, |
|
|
uint8_t |
channel, |
|
|
PatchPrimaryKey |
patch_key |
|
) |
| |
|
inline |
◆ remove_custom_midnam()
bool MIDI::Name::MidiPatchManager::remove_custom_midnam |
( |
const std::string & |
id | ) |
|
◆ remove_midi_name_document()
bool MIDI::Name::MidiPatchManager::remove_midi_name_document |
( |
const std::string & |
file_path, |
|
|
bool |
emit_signal = true |
|
) |
| |
|
private |
◆ remove_midnam_files_from_directory()
void MIDI::Name::MidiPatchManager::remove_midnam_files_from_directory |
( |
const std::string & |
directory_path | ) |
|
|
private |
◆ remove_search_path()
void MIDI::Name::MidiPatchManager::remove_search_path |
( |
const PBD::Searchpath & |
search_path | ) |
|
◆ update_custom_midnam()
bool MIDI::Name::MidiPatchManager::update_custom_midnam |
( |
const std::string & |
id, |
|
|
char const * |
|
|
) |
| |
◆ _all_models
◆ _devices_by_manufacturer
◆ _documents
◆ _lock
Glib::Threads::Mutex MIDI::Name::MidiPatchManager::_lock |
|
private |
◆ _manager
◆ _master_devices_by_model
◆ _midnam_load_thread
PBD::Thread* MIDI::Name::MidiPatchManager::_midnam_load_thread |
|
private |
◆ _search_path
◆ no_patch_changed_messages
bool MIDI::Name::MidiPatchManager::no_patch_changed_messages |
|
private |
◆ PatchesChanged
PBD::Signal<void()> MIDI::Name::MidiPatchManager::PatchesChanged |
◆ stop_thread
bool MIDI::Name::MidiPatchManager::stop_thread |
|
private |
The documentation for this class was generated from the following file: