Ardour  9.0-pre0-582-g084a23a80d
AutomationStreamView Class Reference

#include <automation_streamview.h>

Inheritance diagram for AutomationStreamView:
[legend]

Public Member Functions

 AutomationStreamView (AutomationTimeAxisView &tv)
 
 ~AutomationStreamView ()
 
void set_automation_state (ARDOUR::AutoState state)
 
ARDOUR::AutoState automation_state () const
 
void redisplay_track ()
 
double contents_height () const
 
bool has_automation () const
 
void set_interpolation (ARDOUR::AutomationList::InterpolationStyle)
 
ARDOUR::AutomationList::InterpolationStyle interpolation () const
 
void clear ()
 
void _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< Selectable * > &, bool within)
 
void set_selected_points (PointSelection &)
 
std::list< std::shared_ptr< AutomationLine > > get_lines () const
 
bool paste (Temporal::timepos_t const &pos, unsigned paste_count, float times, std::shared_ptr< ARDOUR::AutomationList > list)
 
- Public Member Functions inherited from StreamView
virtual ~StreamView ()
 
RouteTimeAxisViewtrackview ()
 
const RouteTimeAxisViewtrackview () const
 
void attach ()
 
void set_zoom_all ()
 
int set_position (gdouble x, gdouble y)
 
virtual int set_height (double)
 
virtual int set_samples_per_pixel (double)
 
gdouble get_samples_per_pixel () const
 
virtual void set_layer_display (LayerDisplay)
 
virtual bool can_change_layer_display () const
 
LayerDisplay layer_display () const
 
virtual ArdourCanvas::Containerregion_canvas () const
 
uint32_t get_region_color () const
 
void apply_color (uint32_t, ColorTarget t)
 
void apply_color (Gdk::Color const &, ColorTarget t)
 
uint32_t num_selected_regionviews () const
 
RegionViewfind_view (std::shared_ptr< const ARDOUR::Region >)
 
void foreach_regionview (sigc::slot< void, RegionView * > slot)
 
void foreach_selected_regionview (sigc::slot< void, RegionView * > slot)
 
void set_selected_regionviews (RegionSelection &)
 
void _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< Selectable * > &, bool within)
 
void get_inverted_selectables (Selection &, std::list< Selectable * > &results)
 
void get_regionviews_at_or_after (Temporal::timepos_t const &, RegionSelection &)
 
virtual void update_contents_metrics (std::shared_ptr< ARDOUR::Region >)
 
void add_region_view (std::weak_ptr< ARDOUR::Region >)
 
void region_layered (RegionView *)
 
virtual void update_contents_height ()
 
double child_height () const
 
ARDOUR::layer_t layers () const
 
virtual RegionViewcreate_region_view (std::shared_ptr< ARDOUR::Region >, bool, bool)
 
void check_record_layers (std::shared_ptr< ARDOUR::Region >, ARDOUR::samplepos_t)
 
virtual void playlist_layered (std::weak_ptr< ARDOUR::Track >)
 
void update_coverage_frame ()
 
virtual void parameter_changed (std::string const &)
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from ViewBackground
 ViewBackground ()
 
virtual ~ViewBackground ()
 
virtual double height () const
 
virtual double width () const
 
virtual double y_position () const
 
- Public Member Functions inherited from SelectableOwner
 SelectableOwner ()
 
virtual ~SelectableOwner ()
 
void get_selectables (Temporal::timepos_t const &start, Temporal::timepos_t const &end, double x, double y, std::list< Selectable * > &sl, bool within=false)
 

Private Member Functions

void setup_rec_box ()
 
RegionViewadd_region_view_internal (std::shared_ptr< ARDOUR::Region >, bool wait_for_data, bool recording=false)
 
void display_region (RegionView *region_view)
 
void color_handler ()
 

Private Attributes

AutomationTimeAxisView_automation_view
 
ARDOUR::AutoState _pending_automation_state
 

Additional Inherited Members

- Public Types inherited from StreamView
enum  ColorTarget { RegionColor , StreamBaseColor }
 
- Public Attributes inherited from StreamView
sigc::signal< void, RegionView * > RegionViewAdded
 
sigc::signal< void > RegionViewRemoved
 
sigc::signal< void > ContentsHeightChanged
 
- Protected Types inherited from StreamView
typedef std::list< RegionView * > RegionViewList
 
- Protected Member Functions inherited from StreamView
 StreamView (RouteTimeAxisView &, ArdourCanvas::Container *canvas_group=0)
 
void transport_changed ()
 
void transport_looped ()
 
void rec_enable_changed ()
 
void sess_rec_enable_changed ()
 
void create_rec_box (samplepos_t sample_pos, double width)
 
void cleanup_rec_box ()
 
virtual void update_rec_box ()
 
virtual void remove_region_view (std::weak_ptr< ARDOUR::Region >)
 
void display_track (std::shared_ptr< ARDOUR::Track >)
 
virtual void undisplay_track ()
 
void layer_regions ()
 
void playlist_switched (std::weak_ptr< ARDOUR::Track >)
 
void setup_new_rec_layer_time (std::shared_ptr< ARDOUR::Region >)
 
- Protected Attributes inherited from StreamView
RouteTimeAxisView_trackview
 
ArdourCanvas::Container_canvas_group
 
ArdourCanvas::Rectanglecanvas_rect
 
RegionViewList region_views
 
double _samples_per_pixel
 
sigc::connection screen_update_connection
 
std::vector< RecBoxInforec_rects
 
std::list< std::pair< std::shared_ptr< ARDOUR::Region >, RegionView * > > rec_regions
 
bool rec_updating
 
bool rec_active
 
uint32_t region_color
 Contained region color. More...
 
uint32_t stream_base_color
 Background color. More...
 
PBD::ScopedConnectionList playlist_connections
 
PBD::ScopedConnection playlist_switched_connection
 
ARDOUR::layer_t _layers
 
LayerDisplay _layer_display
 
double height
 
PBD::ScopedConnectionList rec_data_ready_connections
 
samplepos_t last_rec_data_sample
 
samplepos_t _new_rec_layer_time
 

Detailed Description

Definition at line 43 of file automation_streamview.h.

Constructor & Destructor Documentation

◆ AutomationStreamView()

AutomationStreamView::AutomationStreamView ( AutomationTimeAxisView tv)

◆ ~AutomationStreamView()

AutomationStreamView::~AutomationStreamView ( )

Member Function Documentation

◆ _get_selectables()

void AutomationStreamView::_get_selectables ( Temporal::timepos_t const &  ,
Temporal::timepos_t const &  ,
double  ,
double  ,
std::list< Selectable * > &  ,
bool  within 
)
virtual

Implements SelectableOwner.

◆ add_region_view_internal()

RegionView* AutomationStreamView::add_region_view_internal ( std::shared_ptr< ARDOUR::Region ,
bool  wait_for_data,
bool  recording = false 
)
privatevirtual

Implements StreamView.

◆ automation_state()

ARDOUR::AutoState AutomationStreamView::automation_state ( ) const

◆ clear()

void AutomationStreamView::clear ( )

◆ color_handler()

void AutomationStreamView::color_handler ( )
privatevirtual

Implements StreamView.

◆ contents_height()

double AutomationStreamView::contents_height ( ) const
inlinevirtual

Reimplemented from ViewBackground.

Definition at line 54 of file automation_streamview.h.

◆ display_region()

void AutomationStreamView::display_region ( RegionView region_view)
private

◆ get_lines()

std::list<std::shared_ptr<AutomationLine> > AutomationStreamView::get_lines ( ) const

◆ has_automation()

bool AutomationStreamView::has_automation ( ) const

◆ interpolation()

ARDOUR::AutomationList::InterpolationStyle AutomationStreamView::interpolation ( ) const

◆ paste()

bool AutomationStreamView::paste ( Temporal::timepos_t const &  pos,
unsigned  paste_count,
float  times,
std::shared_ptr< ARDOUR::AutomationList list 
)

◆ redisplay_track()

void AutomationStreamView::redisplay_track ( )
virtual

Implements StreamView.

◆ set_automation_state()

void AutomationStreamView::set_automation_state ( ARDOUR::AutoState  state)

◆ set_interpolation()

void AutomationStreamView::set_interpolation ( ARDOUR::AutomationList::InterpolationStyle  )

◆ set_selected_points()

void AutomationStreamView::set_selected_points ( PointSelection )

◆ setup_rec_box()

void AutomationStreamView::setup_rec_box ( )
privatevirtual

Implements StreamView.

Member Data Documentation

◆ _automation_view

AutomationTimeAxisView& AutomationStreamView::_automation_view
private

Definition at line 83 of file automation_streamview.h.

◆ _pending_automation_state

ARDOUR::AutoState AutomationStreamView::_pending_automation_state
private

automation state that should be applied when this view gets its first RegionView

Definition at line 85 of file automation_streamview.h.


The documentation for this class was generated from the following file: