there's no way to know if the device exists or not.
*/
static bool probe() { return true; }
+ static void* request_factory (uint32_t);
XMLNode& get_state ();
int set_state (const XMLNode&, int version);
std::string get_action (ButtonID, bool on_press, FaderPort::ButtonState = ButtonState (0));
std::list<boost::shared_ptr<ARDOUR::Bundle> > bundles ();
-
+
private:
boost::shared_ptr<ARDOUR::Route> _current_route;
boost::weak_ptr<ARDOUR::Route> pre_master_route;
, name (str)
, id (i)
, out (o)
- , led_on (false)
, flash (false)
{}
void set_action (boost::function<void()> function, bool on_press, FaderPort::ButtonState = ButtonState (0));
std::string get_action (bool press, FaderPort::ButtonState bs = ButtonState (0));
- void set_led_state (boost::shared_ptr<MIDI::Port>, int onoff, bool force = false);
+ void set_led_state (boost::shared_ptr<MIDI::Port>, bool onoff);
void invoke (ButtonState bs, bool press);
bool uses_flash () const { return flash; }
void set_flash (bool yn) { flash = yn; }
std::string name;
ButtonID id;
int out;
- bool led_on;
bool flash;
struct ToDo {
PBD::ScopedConnectionList session_connections;
void connect_session_signals ();
- void notify_record_state_changed ();
- void notify_transport_state_changed ();
+ void map_recenable_state ();
+ void map_transport_state ();
+
+ sigc::connection periodic_connection;
+ bool periodic ();
sigc::connection blink_connection;
typedef std::list<ButtonID> Blinkers;