boost::shared_ptr<ARDOUR::Route>,
boost::shared_ptr<ARDOUR::Automatable>,
boost::shared_ptr<ARDOUR::AutomationControl>,
+ Evoral::Parameter,
PublicEditor&,
TimeAxisView& parent,
bool show_regions,
boost::shared_ptr<ARDOUR::AutomationControl> control() { return _control; }
boost::shared_ptr<AutomationController> controller() { return _controller; }
+ Evoral::Parameter parameter () const {
+ return _parameter;
+ }
ArdourCanvas::Item* base_item () const {
return _base_rect;
}
protected:
- boost::shared_ptr<ARDOUR::Route> _route; ///< Parent route
- boost::shared_ptr<ARDOUR::AutomationControl> _control; ///< Control
- boost::shared_ptr<ARDOUR::Automatable> _automatable; ///< Control owner, maybe = _route
-
+ /** parent route */
+ boost::shared_ptr<ARDOUR::Route> _route;
+ /** control; 0 if we are editing region-based automation */
+ boost::shared_ptr<ARDOUR::AutomationControl> _control;
+ /** control owner; may be _route, or 0 if we are editing region-based automation */
+ boost::shared_ptr<ARDOUR::Automatable> _automatable;
+ /** controller owner; 0 if we are editing region-based automation */
boost::shared_ptr<AutomationController> _controller;
+ Evoral::Parameter _parameter;
ArdourCanvas::SimpleRect* _base_rect;
boost::shared_ptr<AutomationLine> _line;
+
/** AutomationStreamView if we are editing region-based automation (for MIDI), otherwise 0 */
AutomationStreamView* _view;