Ardour
9.0-pre0-582-g084a23a80d
|
#include <control_protocol_manager.h>
Static Public Member Functions | |
static ControlProtocolManager & | instance () |
Public Attributes | |
std::list< ControlProtocolInfo * > | control_protocol_info |
PBD::Signal< void(ControlProtocolInfo *)> | ProtocolStatusChange |
Public Attributes inherited from PBD::Stateful | |
PBD::Signal< void(const PropertyChange &)> | PropertyChanged |
Static Public Attributes | |
static const std::string | state_node_name |
static PBD::Signal< void(ARDOUR::StripableNotificationListPtr)> | StripableSelectionChanged |
Static Public Attributes inherited from PBD::Stateful | |
static int | current_state_version |
static int | loading_state_version |
Private Member Functions | |
ControlProtocolManager () | |
void | session_going_away () |
int | control_protocol_discover (std::string path) |
ControlProtocolDescriptor * | get_descriptor (std::string path) |
ControlProtocolInfo * | cpi_by_name (std::string) |
ControlProtocol * | instantiate (ControlProtocolInfo &) |
int | teardown (ControlProtocolInfo &, bool lock_required) |
Private Attributes | |
Glib::Threads::RWLock | protocols_lock |
std::list< ControlProtocol * > | control_protocols |
Static Private Attributes | |
static ControlProtocolManager * | _instance |
Additional Inherited Members | |
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 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 |
Protected Attributes inherited from ARDOUR::SessionHandlePtr | |
ARDOUR::Session * | _session |
PBD::ScopedConnectionList | _session_connections |
Definition at line 65 of file control_protocol_manager.h.
ARDOUR::ControlProtocolManager::~ControlProtocolManager | ( | ) |
|
private |
int ARDOUR::ControlProtocolManager::activate | ( | ControlProtocolInfo & | ) |
|
private |
|
private |
int ARDOUR::ControlProtocolManager::deactivate | ( | ControlProtocolInfo & | ) |
void ARDOUR::ControlProtocolManager::discover_control_protocols | ( | ) |
void ARDOUR::ControlProtocolManager::drop_protocols | ( | ) |
void ARDOUR::ControlProtocolManager::foreach_known_protocol | ( | std::function< void(const ControlProtocolInfo *)> | ) |
|
private |
|
virtual |
Implements PBD::Stateful.
|
static |
|
private |
void ARDOUR::ControlProtocolManager::midi_connectivity_established | ( | bool | ) |
void ARDOUR::ControlProtocolManager::probe_midi_control_protocols | ( | ) |
void ARDOUR::ControlProtocolManager::probe_usb_control_protocols | ( | bool | , |
uint16_t | , | ||
uint16_t | |||
) |
|
privatevirtual |
Reimplemented from ARDOUR::SessionHandlePtr.
|
virtual |
Reimplemented from ARDOUR::SessionHandlePtr.
|
virtual |
Implements PBD::Stateful.
void ARDOUR::ControlProtocolManager::stripable_selection_changed | ( | ARDOUR::StripableNotificationListPtr | ) |
|
private |
|
staticprivate |
Definition at line 97 of file control_protocol_manager.h.
std::list<ControlProtocolInfo*> ARDOUR::ControlProtocolManager::control_protocol_info |
Definition at line 83 of file control_protocol_manager.h.
|
private |
Definition at line 100 of file control_protocol_manager.h.
|
mutableprivate |
Definition at line 99 of file control_protocol_manager.h.
PBD::Signal<void(ControlProtocolInfo*)> ARDOUR::ControlProtocolManager::ProtocolStatusChange |
Definition at line 90 of file control_protocol_manager.h.
|
static |
Definition at line 85 of file control_protocol_manager.h.
|
static |
Definition at line 93 of file control_protocol_manager.h.