ardour
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
AutomationController Class Reference

#include <automation_controller.h>

Inheritance diagram for AutomationController:

Public Member Functions

 ~AutomationController ()
 
boost::shared_ptr
< ARDOUR::AutomationControl
controllable ()
 
void disable_vertical_scroll ()
 
Gtk::Adjustment * adjustment ()
 
Gtk::Widget * widget ()
 
void display_effective_value ()
 
void value_adjusted ()
 
void stop_updating ()
 

Static Public Member Functions

static boost::shared_ptr
< AutomationController
create (boost::shared_ptr< ARDOUR::Automatable > parent, const Evoral::Parameter &param, const ARDOUR::ParameterDescriptor &desc, boost::shared_ptr< ARDOUR::AutomationControl > ac)
 

Public Attributes

sigc::signal< void > StartGesture
 
sigc::signal< void > StopGesture
 

Private Member Functions

 AutomationController (boost::shared_ptr< ARDOUR::Automatable > printer, boost::shared_ptr< ARDOUR::AutomationControl > ac, Gtk::Adjustment *adj)
 
void start_touch ()
 
void end_touch ()
 
void toggled ()
 
void run_note_select_dialog ()
 
void set_ratio (double ratio)
 
void set_freq_beats (double beats)
 
bool on_button_release (GdkEventButton *ev)
 
void value_changed ()
 

Private Attributes

Gtk::Widget * _widget
 
boost::shared_ptr
< ARDOUR::Automatable
_printer
 
boost::shared_ptr
< ARDOUR::AutomationControl
_controllable
 
Gtk::Adjustment * _adjustment
 
sigc::connection _screen_update_connection
 
PBD::ScopedConnection _changed_connection
 
bool _ignore_change
 

Detailed Description

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

Definition at line 58 of file automation_controller.h.

Constructor & Destructor Documentation

AutomationController::~AutomationController ( )

Definition at line 118 of file automation_controller.cc.

AutomationController::AutomationController ( boost::shared_ptr< ARDOUR::Automatable printer,
boost::shared_ptr< ARDOUR::AutomationControl ac,
Gtk::Adjustment *  adj 
)
private

Definition at line 65 of file automation_controller.cc.

Member Function Documentation

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

Definition at line 72 of file automation_controller.h.

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

Definition at line 68 of file automation_controller.h.

boost::shared_ptr< AutomationController > AutomationController::create ( boost::shared_ptr< ARDOUR::Automatable parent,
const Evoral::Parameter param,
const ARDOUR::ParameterDescriptor desc,
boost::shared_ptr< ARDOUR::AutomationControl ac 
)
static

Definition at line 123 of file automation_controller.cc.

void AutomationController::disable_vertical_scroll ( )

Definition at line 334 of file automation_controller.cc.

void AutomationController::display_effective_value ( )

Definition at line 143 of file automation_controller.cc.

void AutomationController::end_touch ( )
private

Definition at line 180 of file automation_controller.cc.

bool AutomationController::on_button_release ( GdkEventButton *  ev)
private

Definition at line 275 of file automation_controller.cc.

void AutomationController::run_note_select_dialog ( )
private

Definition at line 240 of file automation_controller.cc.

void AutomationController::set_freq_beats ( double  beats)
private

Definition at line 254 of file automation_controller.cc.

void AutomationController::set_ratio ( double  ratio)
private

Definition at line 267 of file automation_controller.cc.

void AutomationController::start_touch ( )
private

Definition at line 173 of file automation_controller.cc.

void AutomationController::stop_updating ( )

Stop updating our value from our controllable

Definition at line 328 of file automation_controller.cc.

void AutomationController::toggled ( )
private

Definition at line 198 of file automation_controller.cc.

void AutomationController::value_adjusted ( )

Definition at line 155 of file automation_controller.cc.

void AutomationController::value_changed ( )
private

Definition at line 321 of file automation_controller.cc.

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

Definition at line 73 of file automation_controller.h.

Member Data Documentation

Gtk::Adjustment* AutomationController::_adjustment
private

Definition at line 102 of file automation_controller.h.

PBD::ScopedConnection AutomationController::_changed_connection
private

Definition at line 104 of file automation_controller.h.

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

Definition at line 101 of file automation_controller.h.

bool AutomationController::_ignore_change
private

Definition at line 105 of file automation_controller.h.

boost::shared_ptr<ARDOUR::Automatable> AutomationController::_printer
private

Definition at line 100 of file automation_controller.h.

sigc::connection AutomationController::_screen_update_connection
private

Definition at line 103 of file automation_controller.h.

Gtk::Widget* AutomationController::_widget
private

Definition at line 99 of file automation_controller.h.

sigc::signal<void> AutomationController::StartGesture

Definition at line 80 of file automation_controller.h.

sigc::signal<void> AutomationController::StopGesture

Definition at line 81 of file automation_controller.h.


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