22 #ifndef ardour_control_protocols_h
23 #define ardour_control_protocols_h
52 virtual std::string
name ()
const {
return _name; }
55 virtual bool active ()
const {
return _active; }
137 virtual std::list<std::shared_ptr<ARDOUR::Bundle> >
bundles ();
196 #define CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL() \
197 void maybe_install_precall_handler (Glib::RefPtr<Glib::MainContext> ctxt) { install_precall_handler (ctxt); }
void(* destroy)(ControlProtocol *)
bool(* match_usb)(uint16_t, uint16_t)
void install_precall_handler(Glib::RefPtr< Glib::MainContext >)
virtual bool has_editor() const
static PBD::Signal< void()> VerticalZoomInAll
std::shared_ptr< ARDOUR::Stripable > first_selected_stripable() const
static PBD::Signal< void()> Redo
virtual void * get_gui() const
virtual void add_rid_to_selection(int rid)
void prev_track(uint32_t initial_id)
bool route_get_muted(uint32_t table_index)
float route_get_effective_gain(uint32_t table_index)
void remove_stripable_from_selection(std::shared_ptr< ARDOUR::Stripable >)
float route_get_peak_input_power(uint32_t table_index, uint32_t which_input)
static bool selection_connected
static PBD::Signal< void(float)> ScrollTimeline
bool route_get_rec_enable(uint32_t table_index)
void set_stripable_selection(std::shared_ptr< ARDOUR::Stripable >)
static StripableNotificationList const & last_selected()
virtual bool get_feedback() const
virtual void midi_connectivity_established(bool)
std::string route_get_name(uint32_t table_index)
static void notify_stripable_selection_changed(StripableNotificationListPtr)
static PBD::Signal< void()> ZoomToSession
static PBD::Signal< void()> Enter
bool route_get_soloed(uint32_t table_index)
static PBD::Signal< void()> StepTracksDown
static PBD::Signal< void()> VerticalZoomOutSelected
virtual void tear_down_gui()
void toggle_stripable_selection(std::shared_ptr< ARDOUR::Stripable >)
std::vector< std::shared_ptr< ARDOUR::Route > > route_table
int set_state(XMLNode const &, int version)
float route_get_gain(uint32_t table_index)
void clear_stripable_selection()
GlibEventLoopCallback glib_event_callback
static PBD::Signal< void()> CloseDialog
static PBD::Signal< void()> Undo
void route_set_soloed(uint32_t table_index, bool)
PBD::Signal< void()> ActiveChanged
LIBCONTROLCP_LOCAL ControlProtocol(const ControlProtocol &)
ControlProtocol(Session &, std::string name)
static PBD::Signal< void()> ZoomIn
static StripableNotificationList _last_selected
virtual void set_rid_selection(int rid)
virtual void remove_rid_from_selection(int rid)
virtual bool active() const
virtual int set_active(bool yn)
void add_stripable_to_selection(std::shared_ptr< ARDOUR::Stripable >)
virtual void toggle_rid_selection(int rid)
bool set_route_table(uint32_t table_index, uint32_t remote_control_id)
void set_route_table_size(uint32_t size)
static PBD::Signal< void(std::weak_ptr< ARDOUR::PluginInsert >)> PluginSelected
static PBD::Signal< void()> StepTracksUp
XMLNode & get_state() const
void route_set_rec_enable(uint32_t table_index, bool yn)
virtual void event_loop_precall()
void route_set_gain(uint32_t table_index, float)
static PBD::Signal< void()> VerticalZoomOutAll
virtual int set_feedback(bool)
virtual std::list< std::shared_ptr< ARDOUR::Bundle > > bundles()
virtual void stripable_selection_changed()=0
static PBD::ScopedConnection selection_connection
static PBD::Signal< void(uint32_t)> GotoView
static const std::string state_node_name
void route_set_muted(uint32_t table_index, bool)
void set_route_table(uint32_t table_index, std::shared_ptr< ARDOUR::Route >)
void next_track(uint32_t initial_id)
virtual std::string name() const
virtual ~ControlProtocol()
static PBD::Signal< void()> ZoomOut
static PBD::Signal< void()> VerticalZoomInSelected
#define LIBCONTROLCP_LOCAL
GtkImageIconNameData name
std::vector< std::weak_ptr< ARDOUR::Stripable > > StripableNotificationList
std::shared_ptr< StripableNotificationList > StripableNotificationListPtr