20 #ifndef ardour_surface_faderport_h
21 #define ardour_surface_faderport_h
26 #include <glibmm/threads.h>
28 #define ABSTRACT_UI_EXPORTS
44 #include "glibmm/main.h"
221 std::function<void()>
function;
224 typedef std::map<FaderPort::ButtonState,ToDo>
ToDoMap;
void stripable_selection_changed()
std::weak_ptr< ARDOUR::Stripable > pre_monitor_stripable
std::weak_ptr< ARDOUR::Stripable > pre_master_stripable
void set_action(ButtonID, std::string const &action_name, bool on_press, FaderPort::ButtonState=ButtonState(0))
FaderPort(ARDOUR::Session &)
Button & get_button(ButtonID) const
std::list< ButtonID > Blinkers
void stop_blinking(ButtonID)
int last_good_encoder_delta
std::string get_action(ButtonID, bool on_press, FaderPort::ButtonState=ButtonState(0))
void map_stripable_state()
int set_state(const XMLNode &, int version)
void handle_midi_controller_message(MIDI::Parser &, MIDI::EventTwoBytes *tb)
bool button_long_press_timeout(ButtonID id)
void notify_record_state_changed()
sigc::connection blink_connection
void parameter_changed(std::string)
std::shared_ptr< ARDOUR::Stripable > _current_stripable
void start_press_timeout(Button &, ButtonID)
void notify_loop_state_changed()
std::set< ButtonID > buttons_down
void notify_transport_state_changed()
std::string output_port_name() const
void handle_midi_sysex(MIDI::Parser &p, MIDI::byte *, size_t)
int last_last_encoder_delta
std::string input_port_name() const
PBD::ScopedConnection selection_connection
XMLNode & get_state() const
PBD::microseconds_t last_encoder_time
void drop_current_stripable()
void start_blinking(ButtonID)
void handle_midi_polypressure_message(MIDI::Parser &, MIDI::EventTwoBytes *tb)
void map_recenable_state()
sigc::connection periodic_connection
std::set< ButtonID > consumed
void map_transport_state()
PBD::ScopedConnectionList stripable_connections
void set_current_stripable(std::shared_ptr< ARDOUR::Stripable >)
std::map< ButtonID, Button > ButtonMap
void handle_midi_pitchbend_message(MIDI::Parser &, MIDI::pitchbend_t pb)
std::shared_ptr< PBD::Controllable > Controllable
unsigned short pitchbend_t