- virtual boost::shared_ptr<AutomationControl> control(Parameter id, bool create_if_missing=false);
- virtual boost::shared_ptr<const AutomationControl> control(Parameter id) const;
-
- boost::shared_ptr<AutomationControl> control_factory(boost::shared_ptr<AutomationList> list);
-
- typedef std::map<Parameter,boost::shared_ptr<AutomationControl> > Controls;
- Controls& controls() { return _controls; }
- const Controls& controls() const { return _controls; }
-
- virtual void add_control(boost::shared_ptr<AutomationControl>);
-
- virtual void automation_snapshot(nframes_t now);
- virtual void transport_stopped(nframes_t now);
-
- virtual bool find_next_event(nframes_t start, nframes_t end, ControlEvent& ev) const;
-
- virtual string describe_parameter(Parameter param);
- virtual float default_parameter_value(Parameter param) { return 1.0f; }
-
- virtual void clear_automation();
-
- AutoState get_parameter_automation_state (Parameter param, bool lock = true);
- virtual void set_parameter_automation_state (Parameter param, AutoState);
-
- AutoStyle get_parameter_automation_style (Parameter param);
- void set_parameter_automation_style (Parameter param, AutoStyle);
+ boost::shared_ptr<AutomationControl> automation_control (const Evoral::Parameter& id) {
+ return automation_control (id, false);
+ }
+ boost::shared_ptr<AutomationControl> automation_control (const Evoral::Parameter& id, bool create_if_missing);
+ boost::shared_ptr<const AutomationControl> automation_control (const Evoral::Parameter& id) const;
+
+ virtual void add_control(boost::shared_ptr<Evoral::Control>);
+ virtual bool find_next_event (double start, double end, Evoral::ControlEvent& ev, bool only_active = true) const;
+ void clear_controls ();
+
+ virtual void non_realtime_locate (samplepos_t now);
+ virtual void non_realtime_transport_stop (samplepos_t now, bool flush);
+
+ virtual void automation_run (samplepos_t, pframes_t);
+
+ virtual std::string describe_parameter(Evoral::Parameter param);
+
+ AutoState get_parameter_automation_state (Evoral::Parameter param);
+ virtual void set_parameter_automation_state (Evoral::Parameter param, AutoState);