20 #ifndef __libardour_pannable_h__
21 #define __libardour_pannable_h__
25 #include <boost/shared_ptr.hpp>
36 class AutomationControl;
65 return (_auto_state &
Play) || ((_auto_state &
Touch) && !touching());
68 return ((_auto_state &
Write) || ((_auto_state &
Touch) && touching()));
73 void start_touch (
double when);
74 void stop_touch (
bool mark,
double when);
75 bool touching()
const {
return g_atomic_int_get (const_cast<gint*>(&_touching)); }
80 XMLNode& state (
bool full_state);
81 int set_state (
const XMLNode&,
int version);
93 void control_auto_state_changed (
AutoState);
96 void value_changed ();
AutoState automation_state() const
bool automation_playback() const
PBD::Signal0< void > automation_style_changed
std::string value_as_string(const ARDOUR::ParameterDescriptor &desc, double v)
boost::shared_ptr< AutomationControl > pan_elevation_control
boost::weak_ptr< Panner > _panner
PBD::Signal1< void, AutoState > automation_state_changed
boost::shared_ptr< AutomationControl > pan_frontback_control
boost::shared_ptr< AutomationControl > pan_azimuth_control
AutoStyle automation_style() const
boost::shared_ptr< Panner > panner() const
uint32_t _responding_to_control_auto_state_change
bool touch_enabled() const
boost::shared_ptr< AutomationControl > pan_width_control
boost::shared_ptr< AutomationControl > pan_lfe_control
bool automation_write() const