22 #ifndef __mackie_controls_h__
23 #define __mackie_controls_h__
39 class AutomationControl;
53 int id()
const {
return _id; }
54 const std::string &
name()
const {
return _name; }
70 std::shared_ptr<ARDOUR::AutomationControl>
control ()
const {
return normal_ac; }
71 virtual void set_control (std::shared_ptr<ARDOUR::AutomationControl>);
80 std::shared_ptr<ARDOUR::AutomationControl>
normal_ac;
92 std::ostream &
operator << (std::ostream & os,
const ArdourSurface::MACKIE_NAMESPACE::Control & control);
virtual void set_control(std::shared_ptr< ARDOUR::AutomationControl >)
std::shared_ptr< ARDOUR::AutomationControl > normal_ac
Control(int id, std::string name, Group &group)
virtual MidiByteArray zero()=0
std::shared_ptr< ARDOUR::AutomationControl > control() const
sigc::connection in_use_connection
virtual void start_touch(Temporal::timepos_t const &when)
Control * in_use_touch_control
void set_value(float val, PBD::Controllable::GroupControlDisposition gcd=PBD::Controllable::UseGroup)
const std::string & name() const
virtual void stop_touch(Temporal::timepos_t const &when)
GtkImageIconNameData name
std::ostream & operator<<(std::ostream &os, const ArdourSurface::NS_MCU ::Control &control)