Ardour  9.0-pre0-582-g084a23a80d
AudioRegionGainLine Class Reference

#include <region_gain_line.h>

Inheritance diagram for AudioRegionGainLine:
[legend]

Public Member Functions

 AudioRegionGainLine (const std::string &name, AudioRegionView &, ArdourCanvas::Container &parent, std::shared_ptr< ARDOUR::AutomationList >)
 
void start_drag_single (ControlPoint *, double, float)
 
void start_drag_line (uint32_t, uint32_t, float)
 
void start_drag_multiple (std::list< ControlPoint * >, float, XMLNode *)
 
void end_drag (bool with_push, uint32_t final_index)
 
void end_draw_merge ()
 
void enable_automation ()
 
void remove_point (ControlPoint &)
 
- Public Member Functions inherited from RegionFxLine
 RegionFxLine (std::string const &, RegionView &, ArdourCanvas::Container &, std::shared_ptr< ARDOUR::AutomationList >, ARDOUR::ParameterDescriptor const &)
 
 RegionFxLine (std::string const &, RegionView &, ArdourCanvas::Container &, std::shared_ptr< ARDOUR::AutomationControl >)
 
Temporal::timepos_t get_origin () const
 
RegionViewregion_view ()
 
- Public Member Functions inherited from EditorAutomationLine
 EditorAutomationLine (const std::string &name, TimeAxisView &tv, ArdourCanvas::Item &parent, std::shared_ptr< ARDOUR::AutomationList > al, const ARDOUR::ParameterDescriptor &desc)
 
virtual ~EditorAutomationLine ()
 
- Public Member Functions inherited from AutomationLine
 AutomationLine (const std::string &name, EditingContext &ec, ArdourCanvas::Item &parent, ArdourCanvas::Rectangle *drag_base, std::shared_ptr< ARDOUR::AutomationList > al, const ARDOUR::ParameterDescriptor &desc)
 
virtual ~AutomationLine ()
 
ArdourCanvas::Rectangledrag_base () const
 
void queue_reset ()
 
void reset ()
 
void clear ()
 
void set_fill (bool f)
 
void set_selected_points (PointSelection const &)
 
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)
 
bool control_points_adjacent (double xval, uint32_t &before, uint32_t &after)
 
virtual std::pair< float, float > drag_motion (Temporal::timecnt_t const &, float, bool, bool with_push, uint32_t &final_index)
 
ControlPointnth (uint32_t)
 
ControlPoint const * nth (uint32_t) const
 
uint32_t npoints () const
 
std::string name () const
 
bool visible () const
 
guint32 height () const
 
void set_line_color (std::string color, std::string mod="")
 
uint32_t get_line_color () const
 
void set_visibility (VisibleAspects)
 
void add_visibility (VisibleAspects)
 
void remove_visibility (VisibleAspects)
 
void hide ()
 
void hide_all ()
 
void show ()
 
void set_height (guint32)
 
bool get_uses_gain_mapping () const
 
void tempo_map_changed ()
 
ArdourCanvas::Containercanvas_group () const
 
ArdourCanvas::Itemparent_group () const
 
ArdourCanvas::Itemgrab_item () const
 
virtual std::string get_verbose_cursor_string (double) const
 
std::string get_verbose_cursor_relative_string (double, double) const
 
std::string fraction_to_string (double) const
 
std::string delta_to_string (double) const
 
double string_to_fraction (std::string const &) const
 
void view_to_model_coord_y (double &) const
 
double model_to_view_coord_y (double) const
 
Temporal::timecnt_t model_to_view_coord_x (Temporal::timepos_t const &) const
 
double compute_delta (double from, double to) const
 
void apply_delta (double &val, double delta) const
 
void set_list (std::shared_ptr< ARDOUR::AutomationList > list)
 
std::shared_ptr< ARDOUR::AutomationListthe_list () const
 
void track_entered ()
 
void track_exited ()
 
bool is_last_point (ControlPoint &)
 
bool is_first_point (ControlPoint &)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
void set_colors ()
 
void modify_points_y (std::vector< ControlPoint * > const &, double)
 
virtual MementoCommandBinder< ARDOUR::AutomationList > * memento_command_binder ()
 
std::pair< Temporal::timepos_t, Temporal::timepos_tget_point_x_range () const
 
void set_maximum_time (Temporal::timepos_t const &)
 
Temporal::timepos_t maximum_time () const
 
void set_offset (Temporal::timepos_t const &)
 
Temporal::timepos_t offset ()
 
void set_width (Temporal::timecnt_t const &)
 
Temporal::timepos_t session_position (Temporal::timepos_t const &) const
 
void dump (std::ostream &) const
 
double dt_to_dx (Temporal::timepos_t const &, Temporal::timecnt_t const &)
 
ARDOUR::ParameterDescriptor const & param () const
 
EditingContextediting_context () const
 
void add (std::shared_ptr< ARDOUR::AutomationControl >, GdkEvent *, Temporal::timepos_t const &, double y, bool with_guard_points)
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_change (PropertyBase const &)
 
PropertyChange apply_changes (PropertyList const &)
 
const OwnedPropertyListproperties () const
 
void add_property (PropertyBase &s)
 
void add_extra_xml (XMLNode &)
 
XMLNodeextra_xml (const std::string &str, bool add_if_missing=false)
 
void save_extra_xml (const XMLNode &)
 
const PBD::IDid () const
 
bool set_id (const XMLNode &)
 
void set_id (const std::string &)
 
void reset_id ()
 
void clear_changes ()
 
virtual void clear_owned_changes ()
 
PropertyListget_changes_as_properties (PBD::Command *) const
 
virtual void rdiff (std::vector< PBD::Command * > &) const
 
bool changed () const
 
virtual PropertyListproperty_factory (const XMLNode &) const
 
virtual void suspend_property_changes ()
 
virtual void resume_property_changes ()
 
bool property_changes_suspended () const
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 
- 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 Attributes

AudioRegionViewarv
 

Additional Inherited Members

- Public Types inherited from AutomationLine
enum  VisibleAspects { Line = 0x1 , ControlPoints = 0x2 , SelectedControlPoints = 0x4 }
 
- Public Attributes inherited from EditorAutomationLine
TimeAxisViewtrackview
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 
- Protected Types inherited from AutomationLine
typedef std::shared_ptr< ContiguousControlPointsCCP
 
- Protected Member Functions inherited from EditorAutomationLine
virtual bool event_handler (GdkEvent *)
 
- Protected Member Functions inherited from AutomationLine
bool sync_model_with_view_point (ControlPoint &)
 
bool sync_model_with_view_points (std::list< ControlPoint * >)
 
void start_drag_common (double, float)
 
void reset_callback (const Evoral::ControlList &)
 
void list_changed ()
 
- Protected Member Functions inherited from PBD::Stateful
void add_instant_xml (XMLNode &, const std::string &directory_path)
 
XMLNodeinstant_xml (const std::string &str, const std::string &directory_path)
 
void add_properties (XMLNode &) const
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
bool regenerate_xml_or_string_ids () const
 
- Protected Attributes inherited from AutomationLine
std::string _name
 
guint32 _height
 
std::string _line_color
 
std::string _line_color_mod
 
uint32_t _view_index_offset
 
std::shared_ptr< ARDOUR::AutomationListalist
 
VisibleAspects _visible
 
bool terminal_points_can_slide
 
bool update_pending
 
bool have_reset_timeout
 
bool no_draw
 
bool _is_boolean
 
bool did_push
 
EditingContext_editing_context
 
ArdourCanvas::Item_parent_group
 
ArdourCanvas::Rectangle_drag_base
 
ArdourCanvas::Containergroup
 
ArdourCanvas::PolyLineline
 
ArdourCanvas::Points line_points
 
std::vector< ControlPoint * > control_points
 
std::vector< CCPcontiguous_points
 
- Protected Attributes inherited from PBD::Stateful
XMLNode_extra_xml
 
XMLNode_instant_xml
 
PBD::PropertyChange _pending_changed
 
Glib::Threads::Mutex _lock
 
std::string _xml_node_name
 name of node to use for this object in XML More...
 
OwnedPropertyList_properties
 

Detailed Description

Definition at line 38 of file region_gain_line.h.

Constructor & Destructor Documentation

◆ AudioRegionGainLine()

AudioRegionGainLine::AudioRegionGainLine ( const std::string &  name,
AudioRegionView ,
ArdourCanvas::Container parent,
std::shared_ptr< ARDOUR::AutomationList  
)

Member Function Documentation

◆ enable_automation()

void AudioRegionGainLine::enable_automation ( )
virtual

Reimplemented from RegionFxLine.

◆ end_drag()

void AudioRegionGainLine::end_drag ( bool  with_push,
uint32_t  final_index 
)
virtual

Reimplemented from RegionFxLine.

◆ end_draw_merge()

void AudioRegionGainLine::end_draw_merge ( )
virtual

Reimplemented from RegionFxLine.

◆ remove_point()

void AudioRegionGainLine::remove_point ( ControlPoint )
virtual

Reimplemented from AutomationLine.

◆ start_drag_line()

void AudioRegionGainLine::start_drag_line ( uint32_t  ,
uint32_t  ,
float   
)
virtual

Reimplemented from AutomationLine.

◆ start_drag_multiple()

void AudioRegionGainLine::start_drag_multiple ( std::list< ControlPoint * >  ,
float  ,
XMLNode  
)
virtual

Reimplemented from AutomationLine.

◆ start_drag_single()

void AudioRegionGainLine::start_drag_single ( ControlPoint ,
double  ,
float   
)
virtual

Reimplemented from AutomationLine.

Member Data Documentation

◆ arv

AudioRegionView& AudioRegionGainLine::arv
private

Definition at line 52 of file region_gain_line.h.


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