Ardour  9.0-pre0-822-g12e3bc5c20
AutomationController Class Reference

#include <automation_controller.h>

Inheritance diagram for AutomationController:
[legend]

Public Member Functions

 ~AutomationController ()
 
std::shared_ptr< ARDOUR::AutomationControlcontrollable ()
 
void disable_vertical_scroll ()
 
Gtk::Adjustment * adjustment ()
 
Gtk::Widget * widget ()
 
void display_effective_value ()
 
void automation_state_changed ()
 
void value_adjusted ()
 
void stop_updating ()
 

Static Public Member Functions

static std::shared_ptr< AutomationControllercreate (const Evoral::Parameter &param, const ARDOUR::ParameterDescriptor &desc, std::shared_ptr< ARDOUR::AutomationControl > ac, bool use_knob=false)
 

Private Member Functions

 AutomationController (std::shared_ptr< ARDOUR::AutomationControl > ac, Gtk::Adjustment *adj, bool use_knob)
 
void start_touch (int)
 
void end_touch (int)
 
bool button_press (GdkEventButton *)
 
bool button_release (GdkEventButton *)
 
void run_note_select_dialog ()
 
void set_ratio (double ratio)
 
void set_freq_beats (double beats)
 
bool on_button_release (GdkEventButton *ev)
 

Private Attributes

Gtk::Widget * _widget
 
std::shared_ptr< ARDOUR::AutomationControl_controllable
 
Gtk::Adjustment * _adjustment
 
sigc::connection _screen_update_connection
 
PBD::ScopedConnectionList _changed_connections
 
bool _ignore_change
 
bool _grabbed
 

Detailed Description

A BarController which displays the value and allows control of an AutomationControl

Definition at line 62 of file automation_controller.h.

Constructor & Destructor Documentation

◆ ~AutomationController()

AutomationController::~AutomationController ( )

◆ AutomationController()

AutomationController::AutomationController ( std::shared_ptr< ARDOUR::AutomationControl ac,
Gtk::Adjustment *  adj,
bool  use_knob 
)
private

Member Function Documentation

◆ adjustment()

Gtk::Adjustment* AutomationController::adjustment ( )
inline

Definition at line 76 of file automation_controller.h.

◆ automation_state_changed()

void AutomationController::automation_state_changed ( )

◆ button_press()

bool AutomationController::button_press ( GdkEventButton *  )
private

◆ button_release()

bool AutomationController::button_release ( GdkEventButton *  )
private

◆ controllable()

std::shared_ptr<ARDOUR::AutomationControl> AutomationController::controllable ( )
inline

Definition at line 72 of file automation_controller.h.

◆ create()

static std::shared_ptr<AutomationController> AutomationController::create ( const Evoral::Parameter param,
const ARDOUR::ParameterDescriptor desc,
std::shared_ptr< ARDOUR::AutomationControl ac,
bool  use_knob = false 
)
static

◆ disable_vertical_scroll()

void AutomationController::disable_vertical_scroll ( )

◆ display_effective_value()

void AutomationController::display_effective_value ( )

◆ end_touch()

void AutomationController::end_touch ( int  )
private

◆ on_button_release()

bool AutomationController::on_button_release ( GdkEventButton *  ev)
private

◆ run_note_select_dialog()

void AutomationController::run_note_select_dialog ( )
private

◆ set_freq_beats()

void AutomationController::set_freq_beats ( double  beats)
private

◆ set_ratio()

void AutomationController::set_ratio ( double  ratio)
private

◆ start_touch()

void AutomationController::start_touch ( int  )
private

◆ stop_updating()

void AutomationController::stop_updating ( )

◆ value_adjusted()

void AutomationController::value_adjusted ( )

◆ widget()

Gtk::Widget* AutomationController::widget ( )
inline

Definition at line 77 of file automation_controller.h.

Member Data Documentation

◆ _adjustment

Gtk::Adjustment* AutomationController::_adjustment
private

Definition at line 102 of file automation_controller.h.

◆ _changed_connections

PBD::ScopedConnectionList AutomationController::_changed_connections
private

Definition at line 104 of file automation_controller.h.

◆ _controllable

std::shared_ptr<ARDOUR::AutomationControl> AutomationController::_controllable
private

Definition at line 101 of file automation_controller.h.

◆ _grabbed

bool AutomationController::_grabbed
private

Definition at line 106 of file automation_controller.h.

◆ _ignore_change

bool AutomationController::_ignore_change
private

Definition at line 105 of file automation_controller.h.

◆ _screen_update_connection

sigc::connection AutomationController::_screen_update_connection
private

Definition at line 103 of file automation_controller.h.

◆ _widget

Gtk::Widget* AutomationController::_widget
private

Definition at line 100 of file automation_controller.h.


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