globally remove all trailing whitespace from ardour code base.
[ardour.git] / libs / surfaces / mackie / strip.h
index b4515def6551fd7e82460026a42d9d28f3fb2a81..4099dce8afa9bb1e0f9112642ee8ef0978d44567 100644 (file)
@@ -7,6 +7,7 @@
 #include "evoral/Parameter.hpp"
 
 #include "pbd/property_basics.h"
+#include "pbd/ringbuffer.h"
 #include "pbd/signals.h"
 
 #include "ardour/types.h"
@@ -67,6 +68,7 @@ public:
        void handle_pot (Pot&, float delta);
 
        void periodic (uint64_t now_usecs);
+       void redisplay ();
 
        MidiByteArray display (uint32_t line_number, const std::string&);
        MidiByteArray blank_display (uint32_t line_number);
@@ -80,7 +82,7 @@ public:
        bool locked() const { return _controls_locked; }
 
        void gui_selection_changed (const ARDOUR::StrongRouteNotificationList&);
-  
+
        void notify_metering_state_changed();
 
 private:
@@ -124,7 +126,16 @@ private:
        void queue_display_reset (uint32_t msecs);
        void clear_display_reset ();
        void reset_display ();
+
+       struct RedisplayRequest {
+               ARDOUR::AutomationType type;
+               float val;
+       };
+
+       RingBuffer<RedisplayRequest> redisplay_requests;
+
        void do_parameter_display (ARDOUR::AutomationType, float val);
+       void queue_parameter_display (ARDOUR::AutomationType, float val);
        
        typedef std::map<std::string,boost::shared_ptr<ARDOUR::Bundle> > BundleMap;
        BundleMap input_bundles;