Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::US2400::Strip Class Reference

#include <strip.h>

Inheritance diagram for ArdourSurface::US2400::Strip:
[legend]

Public Member Functions

 Strip (Surface &, const std::string &name, int index, const std::map< Button::ID, StripButtonInfo > &)
 
 ~Strip ()
 
std::shared_ptr< ARDOUR::Stripablestripable () const
 
void add (Control &control)
 
int index () const
 
Surfacesurface () const
 
void set_stripable (std::shared_ptr< ARDOUR::Stripable >, bool with_messages=true)
 
void reset_stripable ()
 
void notify_all ()
 
void handle_button (Button &, ButtonState bs)
 
void handle_fader (Fader &, float position)
 
void handle_fader_touch (Fader &, bool touch_on)
 
void handle_pot (Pot &, float delta)
 
void periodic (PBD::microseconds_t now_usecs)
 
void redisplay (PBD::microseconds_t now_usecs, bool force=true)
 
void zero ()
 
void subview_mode_changed ()
 
void lock_controls ()
 
void unlock_controls ()
 
bool locked () const
 
void notify_metering_state_changed ()
 
void update_selection_state ()
 
void set_global_index (int g)
 
int global_index ()
 
- Public Member Functions inherited from ArdourSurface::US2400::Group
 Group (const std::string &name)
 
virtual ~Group ()
 
virtual bool is_strip () const
 
virtual bool is_master () const
 
const std::string & name () const
 
void set_name (const std::string &rhs)
 
const Controlscontrols () const
 

Private Types

enum  VPotDisplayMode { Name , Value }
 

Private Member Functions

void notify_solo_changed ()
 
void notify_mute_changed ()
 
void notify_record_enable_changed ()
 
void notify_gain_changed (bool force_update=true)
 
void notify_property_changed (const PBD::PropertyChange &)
 
void notify_panner_azi_changed (bool force_update=true)
 
void notify_panner_width_changed (bool force_update=true)
 
void notify_stripable_deleted ()
 
void notify_processor_changed (bool force_update=true)
 
void update_automation ()
 
void update_meter ()
 
std::string vpot_mode_string ()
 
void next_pot_mode ()
 
void select_event (Button &, ButtonState)
 
void vselect_event (Button &, ButtonState)
 
void fader_touch_event (Button &, ButtonState)
 
void set_vpot_parameter (ARDOUR::AutomationType)
 
void show_stripable_name ()
 
void mark_dirty ()
 
bool is_midi_track () const
 
void notify_vpot_change ()
 
void setup_eq_vpot (std::shared_ptr< ARDOUR::Stripable >)
 
void setup_dyn_vpot (std::shared_ptr< ARDOUR::Stripable >)
 
void setup_sends_vpot (std::shared_ptr< ARDOUR::Stripable >)
 
void setup_trackview_vpot (std::shared_ptr< ARDOUR::Stripable >)
 

Private Attributes

Button_solo
 
Button_mute
 
Button_select
 
Button_fader_touch
 
Pot_vpot
 
Fader_fader
 
Meter_meter
 
int _index
 
int _global_index
 
Surface_surface
 
bool _controls_locked
 
bool _transport_is_rolling
 
bool _metering_active
 
std::shared_ptr< ARDOUR::Stripable_stripable
 
PBD::ScopedConnectionList stripable_connections
 
PBD::ScopedConnectionList subview_connections
 
PBD::ScopedConnectionList send_connections
 
int _trickle_counter
 
ARDOUR::AutomationType _pan_mode
 
std::vector< ARDOUR::AutomationTypepossible_pot_parameters
 
std::vector< ARDOUR::AutomationTypepossible_trim_parameters
 

Additional Inherited Members

- Public Types inherited from ArdourSurface::US2400::Group
typedef std::vector< Control * > Controls
 
- Protected Attributes inherited from ArdourSurface::US2400::Group
Controls _controls
 

Detailed Description

This is the set of controls that make up a strip.

Definition at line 68 of file us2400/strip.h.

Member Enumeration Documentation

◆ VPotDisplayMode

Enumerator
Name 
Value 

Definition at line 110 of file us2400/strip.h.

Constructor & Destructor Documentation

◆ Strip()

ArdourSurface::US2400::Strip::Strip ( Surface ,
const std::string &  name,
int  index,
const std::map< Button::ID, StripButtonInfo > &   
)

◆ ~Strip()

ArdourSurface::US2400::Strip::~Strip ( )

Member Function Documentation

◆ add()

void ArdourSurface::US2400::Strip::add ( Control control)
virtual

Reimplemented from ArdourSurface::US2400::Group.

◆ fader_touch_event()

void ArdourSurface::US2400::Strip::fader_touch_event ( Button ,
ButtonState   
)
private

◆ global_index()

int ArdourSurface::US2400::Strip::global_index ( )
inline

Definition at line 107 of file us2400/strip.h.

◆ handle_button()

void ArdourSurface::US2400::Strip::handle_button ( Button ,
ButtonState  bs 
)

◆ handle_fader()

void ArdourSurface::US2400::Strip::handle_fader ( Fader ,
float  position 
)

◆ handle_fader_touch()

void ArdourSurface::US2400::Strip::handle_fader_touch ( Fader ,
bool  touch_on 
)

◆ handle_pot()

void ArdourSurface::US2400::Strip::handle_pot ( Pot ,
float  delta 
)

◆ index()

int ArdourSurface::US2400::Strip::index ( ) const
inline

Definition at line 77 of file us2400/strip.h.

◆ is_midi_track()

bool ArdourSurface::US2400::Strip::is_midi_track ( ) const
private

◆ lock_controls()

void ArdourSurface::US2400::Strip::lock_controls ( )

◆ locked()

bool ArdourSurface::US2400::Strip::locked ( ) const
inline

Definition at line 100 of file us2400/strip.h.

◆ mark_dirty()

void ArdourSurface::US2400::Strip::mark_dirty ( )
private

◆ next_pot_mode()

void ArdourSurface::US2400::Strip::next_pot_mode ( )
private

◆ notify_all()

void ArdourSurface::US2400::Strip::notify_all ( )

◆ notify_gain_changed()

void ArdourSurface::US2400::Strip::notify_gain_changed ( bool  force_update = true)
private

◆ notify_metering_state_changed()

void ArdourSurface::US2400::Strip::notify_metering_state_changed ( )

◆ notify_mute_changed()

void ArdourSurface::US2400::Strip::notify_mute_changed ( )
private

◆ notify_panner_azi_changed()

void ArdourSurface::US2400::Strip::notify_panner_azi_changed ( bool  force_update = true)
private

◆ notify_panner_width_changed()

void ArdourSurface::US2400::Strip::notify_panner_width_changed ( bool  force_update = true)
private

◆ notify_processor_changed()

void ArdourSurface::US2400::Strip::notify_processor_changed ( bool  force_update = true)
private

◆ notify_property_changed()

void ArdourSurface::US2400::Strip::notify_property_changed ( const PBD::PropertyChange )
private

◆ notify_record_enable_changed()

void ArdourSurface::US2400::Strip::notify_record_enable_changed ( )
private

◆ notify_solo_changed()

void ArdourSurface::US2400::Strip::notify_solo_changed ( )
private

◆ notify_stripable_deleted()

void ArdourSurface::US2400::Strip::notify_stripable_deleted ( )
private

◆ notify_vpot_change()

void ArdourSurface::US2400::Strip::notify_vpot_change ( )
private

◆ periodic()

void ArdourSurface::US2400::Strip::periodic ( PBD::microseconds_t  now_usecs)

◆ redisplay()

void ArdourSurface::US2400::Strip::redisplay ( PBD::microseconds_t  now_usecs,
bool  force = true 
)

◆ reset_stripable()

void ArdourSurface::US2400::Strip::reset_stripable ( )

◆ select_event()

void ArdourSurface::US2400::Strip::select_event ( Button ,
ButtonState   
)
private

◆ set_global_index()

void ArdourSurface::US2400::Strip::set_global_index ( int  g)
inline

Definition at line 106 of file us2400/strip.h.

◆ set_stripable()

void ArdourSurface::US2400::Strip::set_stripable ( std::shared_ptr< ARDOUR::Stripable ,
bool  with_messages = true 
)

◆ set_vpot_parameter()

void ArdourSurface::US2400::Strip::set_vpot_parameter ( ARDOUR::AutomationType  )
private

◆ setup_dyn_vpot()

void ArdourSurface::US2400::Strip::setup_dyn_vpot ( std::shared_ptr< ARDOUR::Stripable )
private

◆ setup_eq_vpot()

void ArdourSurface::US2400::Strip::setup_eq_vpot ( std::shared_ptr< ARDOUR::Stripable )
private

◆ setup_sends_vpot()

void ArdourSurface::US2400::Strip::setup_sends_vpot ( std::shared_ptr< ARDOUR::Stripable )
private

◆ setup_trackview_vpot()

void ArdourSurface::US2400::Strip::setup_trackview_vpot ( std::shared_ptr< ARDOUR::Stripable )
private

◆ show_stripable_name()

void ArdourSurface::US2400::Strip::show_stripable_name ( )
private

◆ stripable()

std::shared_ptr<ARDOUR::Stripable> ArdourSurface::US2400::Strip::stripable ( ) const
inline

Definition at line 74 of file us2400/strip.h.

◆ subview_mode_changed()

void ArdourSurface::US2400::Strip::subview_mode_changed ( )

◆ surface()

Surface* ArdourSurface::US2400::Strip::surface ( ) const
inline

Definition at line 78 of file us2400/strip.h.

◆ unlock_controls()

void ArdourSurface::US2400::Strip::unlock_controls ( )

◆ update_automation()

void ArdourSurface::US2400::Strip::update_automation ( )
private

◆ update_meter()

void ArdourSurface::US2400::Strip::update_meter ( )
private

◆ update_selection_state()

void ArdourSurface::US2400::Strip::update_selection_state ( )

◆ vpot_mode_string()

std::string ArdourSurface::US2400::Strip::vpot_mode_string ( )
private

◆ vselect_event()

void ArdourSurface::US2400::Strip::vselect_event ( Button ,
ButtonState   
)
private

◆ zero()

void ArdourSurface::US2400::Strip::zero ( )

Member Data Documentation

◆ _controls_locked

bool ArdourSurface::US2400::Strip::_controls_locked
private

Definition at line 125 of file us2400/strip.h.

◆ _fader

Fader* ArdourSurface::US2400::Strip::_fader
private

Definition at line 120 of file us2400/strip.h.

◆ _fader_touch

Button* ArdourSurface::US2400::Strip::_fader_touch
private

Definition at line 118 of file us2400/strip.h.

◆ _global_index

int ArdourSurface::US2400::Strip::_global_index
private

Definition at line 123 of file us2400/strip.h.

◆ _index

int ArdourSurface::US2400::Strip::_index
private

Definition at line 122 of file us2400/strip.h.

◆ _meter

Meter* ArdourSurface::US2400::Strip::_meter
private

Definition at line 121 of file us2400/strip.h.

◆ _metering_active

bool ArdourSurface::US2400::Strip::_metering_active
private

Definition at line 127 of file us2400/strip.h.

◆ _mute

Button* ArdourSurface::US2400::Strip::_mute
private

Definition at line 116 of file us2400/strip.h.

◆ _pan_mode

ARDOUR::AutomationType ArdourSurface::US2400::Strip::_pan_mode
private

Definition at line 135 of file us2400/strip.h.

◆ _select

Button* ArdourSurface::US2400::Strip::_select
private

Definition at line 117 of file us2400/strip.h.

◆ _solo

Button* ArdourSurface::US2400::Strip::_solo
private

Definition at line 115 of file us2400/strip.h.

◆ _stripable

std::shared_ptr<ARDOUR::Stripable> ArdourSurface::US2400::Strip::_stripable
private

Definition at line 128 of file us2400/strip.h.

◆ _surface

Surface* ArdourSurface::US2400::Strip::_surface
private

Definition at line 124 of file us2400/strip.h.

◆ _transport_is_rolling

bool ArdourSurface::US2400::Strip::_transport_is_rolling
private

Definition at line 126 of file us2400/strip.h.

◆ _trickle_counter

int ArdourSurface::US2400::Strip::_trickle_counter
private

Definition at line 133 of file us2400/strip.h.

◆ _vpot

Pot* ArdourSurface::US2400::Strip::_vpot
private

Definition at line 119 of file us2400/strip.h.

◆ possible_pot_parameters

std::vector<ARDOUR::AutomationType> ArdourSurface::US2400::Strip::possible_pot_parameters
private

Definition at line 156 of file us2400/strip.h.

◆ possible_trim_parameters

std::vector<ARDOUR::AutomationType> ArdourSurface::US2400::Strip::possible_trim_parameters
private

Definition at line 157 of file us2400/strip.h.

◆ send_connections

PBD::ScopedConnectionList ArdourSurface::US2400::Strip::send_connections
private

Definition at line 131 of file us2400/strip.h.

◆ stripable_connections

PBD::ScopedConnectionList ArdourSurface::US2400::Strip::stripable_connections
private

Definition at line 129 of file us2400/strip.h.

◆ subview_connections

PBD::ScopedConnectionList ArdourSurface::US2400::Strip::subview_connections
private

Definition at line 130 of file us2400/strip.h.


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