Ardour  9.0-pre0-350-gf17a656217
ARDOUR::Pannable Class Reference

#include <pannable.h>

Inheritance diagram for ARDOUR::Pannable:
[legend]

Public Member Functions

 Pannable (Session &s, Temporal::TimeDomainProvider const &)
 
 ~Pannable ()
 
std::shared_ptr< Pannerpanner () const
 
void set_panner (std::shared_ptr< Panner >)
 
const std::set< Evoral::Parameter > & what_can_be_automated () const
 
void set_automation_state (AutoState)
 
AutoState automation_state () const
 
bool automation_playback () const
 
bool automation_write () const
 
void start_touch (timepos_t const &when)
 
void stop_touch (timepos_t const &when)
 
bool touching () const
 
bool writing () const
 
bool touch_enabled () const
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
bool has_state () const
 
void start_domain_bounce (Temporal::DomainBounceInfo &)
 
void finish_domain_bounce (Temporal::DomainBounceInfo &)
 
- 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 ARDOUR::Automatable
 Automatable (Session &, Temporal::TimeDomainProvider const &)
 
 Automatable (const Automatable &other)
 
virtual ~Automatable ()
 
virtual void automatables (PBD::ControllableSet &) const
 
std::shared_ptr< Evoral::Controlcontrol_factory (const Evoral::Parameter &id)
 
std::shared_ptr< AutomationControlautomation_control (PBD::ID const &id) const
 
virtual std::shared_ptr< AutomationControlautomation_control_recurse (PBD::ID const &id) const
 
std::shared_ptr< AutomationControlautomation_control (const Evoral::Parameter &id)
 
std::shared_ptr< AutomationControlautomation_control (const Evoral::Parameter &id, bool create_if_missing)
 
std::shared_ptr< const AutomationControlautomation_control (const Evoral::Parameter &id) const
 
virtual void add_control (std::shared_ptr< Evoral::Control >)
 
virtual bool find_next_event (Temporal::timepos_t const &start, Temporal::timepos_t const &end, Evoral::ControlEvent &ev, bool only_active=true) const
 
void clear_controls ()
 
virtual void non_realtime_locate (samplepos_t now)
 
virtual void non_realtime_transport_stop (samplepos_t now, bool flush)
 
virtual void automation_run (samplepos_t, pframes_t, bool only_active=false)
 
virtual std::string describe_parameter (Evoral::Parameter param)
 
AutoState get_parameter_automation_state (Evoral::Parameter param)
 
virtual void set_parameter_automation_state (Evoral::Parameter param, AutoState)
 
void protect_automation ()
 
const std::set< Evoral::Parameter > & what_can_be_automated () const
 
std::vector< Evoral::Parameterall_automatable_params () const
 
void what_has_existing_automation (std::set< Evoral::Parameter > &) const
 
int set_automation_xml_state (const XMLNode &, Evoral::Parameter default_param)
 
XMLNodeget_automation_xml_state () const
 
- Public Member Functions inherited from Evoral::ControlSet
 ControlSet ()
 
 ControlSet (const ControlSet &)
 
virtual ~ControlSet ()
 
std::shared_ptr< Controlcontrol (const Parameter &id, bool create_if_missing=false)
 
std::shared_ptr< const Controlcontrol (const Parameter &id) const
 
Controlscontrols ()
 
const Controlscontrols () const
 
virtual bool controls_empty () const
 
void what_has_data (std::set< Parameter > &) const
 
Glib::Threads::Mutex & control_lock () const
 
void start_domain_bounce (Temporal::DomainBounceInfo &)
 
void finish_domain_bounce (Temporal::DomainBounceInfo &)
 
- Public Member Functions inherited from Temporal::TimeDomainSwapper
virtual ~TimeDomainSwapper ()
 
- Public Member Functions inherited from PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 
- Public Member Functions inherited from ARDOUR::Slavable
 Slavable ()
 
virtual ~Slavable ()
 
XMLNodeget_state () const
 
int set_state (XMLNode const &, int)
 
virtual void assign (std::shared_ptr< VCA >)
 
void unassign (std::shared_ptr< VCA >)
 
std::vector< std::shared_ptr< VCA > > masters (VCAManager *) const
 
bool assigned_to (VCAManager *, std::shared_ptr< VCA >) const
 
- Public Member Functions inherited from Temporal::TimeDomainProvider
 TimeDomainProvider ()
 
 TimeDomainProvider (TimeDomain td)
 
 TimeDomainProvider (TimeDomain td, TimeDomainProvider const &p)
 
 TimeDomainProvider (TimeDomainProvider const &other)
 
 TimeDomainProvider (TimeDomainProvider const &parnt, bool)
 
virtual ~TimeDomainProvider ()
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
TimeDomainProvideroperator= (TimeDomainProvider const &other)
 
TimeDomain time_domain () const
 
bool has_own_time_domain () const
 
void clear_time_domain ()
 
void set_time_domain (TimeDomain td)
 
TimeDomainProvider const * time_domain_parent () const
 
bool has_time_domain_parent () const
 
void clear_time_domain_parent ()
 
void set_time_domain_parent (TimeDomainProvider const &p)
 
virtual void time_domain_changed ()
 
- Public Member Functions inherited from ARDOUR::SessionHandleRef
 SessionHandleRef (ARDOUR::Session &s)
 
virtual ~SessionHandleRef ()
 
- 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 Attributes

std::shared_ptr< AutomationControlpan_azimuth_control
 
std::shared_ptr< AutomationControlpan_elevation_control
 
std::shared_ptr< AutomationControlpan_width_control
 
std::shared_ptr< AutomationControlpan_frontback_control
 
std::shared_ptr< AutomationControlpan_lfe_control
 
PBD::Signal< void(AutoState)> automation_state_changed
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Public Attributes inherited from ARDOUR::Automatable
PBD::Signal< void()> AutomationStateChanged
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 
- Public Attributes inherited from ARDOUR::Slavable
PBD::Signal< void(std::shared_ptr< VCA >, bool)> AssignmentChange
 
- Public Attributes inherited from Temporal::TimeDomainProvider
PBD::Signal< void()> TimeDomainChanged
 

Protected Member Functions

virtual XMLNodestate () const
 
void control_auto_state_changed (AutoState)
 
- 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 Member Functions inherited from ARDOUR::Automatable
void can_automate (Evoral::Parameter)
 
virtual void automation_list_automation_state_changed (Evoral::Parameter const &, AutoState)
 
int load_automation (const std::string &path)
 
int old_set_automation_state (const XMLNode &)
 
SlavableAutomationControlList slavables () const
 
- Protected Member Functions inherited from Evoral::ControlSet
virtual void control_list_marked_dirty ()
 
virtual void control_list_interpolation_changed (Parameter const &, ControlList::InterpolationStyle)
 
- Protected Member Functions inherited from Temporal::TimeDomainProvider
void listen ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandleRef
virtual void session_going_away ()
 
virtual void insanity_check ()
 

Protected Attributes

std::weak_ptr< Panner_panner
 
AutoState _auto_state
 
bool _has_state
 
uint32_t _responding_to_control_auto_state_change
 
std::atomic< int > _touching
 
- 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
 
- Protected Attributes inherited from ARDOUR::Automatable
Session_a_session
 
SerializedRCUManager< AutomationControlList_automated_controls
 
std::set< Evoral::Parameter_can_automate_list
 
samplepos_t _last_automation_snapshot
 
- Protected Attributes inherited from Evoral::ControlSet
Glib::Threads::Mutex _control_lock
 
Controls _controls
 
PBD::ScopedConnectionList _list_connections
 
- Protected Attributes inherited from ARDOUR::SessionHandleRef
ARDOUR::Session_session
 

Private Member Functions

void value_changed ()
 

Additional Inherited Members

- Public Types inherited from Evoral::ControlSet
typedef std::map< Parameter, std::shared_ptr< Control > > Controls
 
- Static Public Member Functions inherited from ARDOUR::Automatable
static void find_next_ac_event (std::shared_ptr< AutomationControl >, Temporal::timepos_t const &start, Temporal::timepos_t const &end, Evoral::ControlEvent &ev)
 
static void find_prev_ac_event (std::shared_ptr< AutomationControl >, Temporal::timepos_t const &start, Temporal::timepos_t const &end, Evoral::ControlEvent &ev)
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 
- Static Public Attributes inherited from ARDOUR::Automatable
static bool skip_saving_automation
 
static const std::string xml_node_name
 
- Static Public Attributes inherited from ARDOUR::Slavable
static std::string xml_node_name
 
static PBD::Signal< void(VCAManager *)> Assign
 

Detailed Description

Definition at line 37 of file pannable.h.

Constructor & Destructor Documentation

◆ Pannable()

ARDOUR::Pannable::Pannable ( Session s,
Temporal::TimeDomainProvider const &   
)

◆ ~Pannable()

ARDOUR::Pannable::~Pannable ( )

Member Function Documentation

◆ automation_playback()

bool ARDOUR::Pannable::automation_playback ( ) const
inline

Definition at line 58 of file pannable.h.

◆ automation_state()

AutoState ARDOUR::Pannable::automation_state ( ) const
inline

Definition at line 55 of file pannable.h.

◆ automation_write()

bool ARDOUR::Pannable::automation_write ( ) const
inline

Definition at line 61 of file pannable.h.

◆ control_auto_state_changed()

void ARDOUR::Pannable::control_auto_state_changed ( AutoState  )
protected

◆ finish_domain_bounce()

void ARDOUR::Pannable::finish_domain_bounce ( Temporal::DomainBounceInfo )
virtual

Reimplemented from ARDOUR::Automatable.

◆ get_state()

XMLNode& ARDOUR::Pannable::get_state ( ) const
virtual

Implements PBD::Stateful.

◆ has_state()

bool ARDOUR::Pannable::has_state ( ) const
inline

Definition at line 76 of file pannable.h.

◆ panner()

std::shared_ptr<Panner> ARDOUR::Pannable::panner ( ) const
inline

Definition at line 49 of file pannable.h.

◆ set_automation_state()

void ARDOUR::Pannable::set_automation_state ( AutoState  )

◆ set_panner()

void ARDOUR::Pannable::set_panner ( std::shared_ptr< Panner )

◆ set_state()

int ARDOUR::Pannable::set_state ( const XMLNode ,
int  version 
)
virtual

Implements PBD::Stateful.

◆ start_domain_bounce()

void ARDOUR::Pannable::start_domain_bounce ( Temporal::DomainBounceInfo )
virtual

Reimplemented from ARDOUR::Automatable.

◆ start_touch()

void ARDOUR::Pannable::start_touch ( timepos_t const &  when)

◆ state()

virtual XMLNode& ARDOUR::Pannable::state ( ) const
protectedvirtual

◆ stop_touch()

void ARDOUR::Pannable::stop_touch ( timepos_t const &  when)

◆ touch_enabled()

bool ARDOUR::Pannable::touch_enabled ( ) const
inline

Definition at line 71 of file pannable.h.

◆ touching()

bool ARDOUR::Pannable::touching ( ) const
inline

Definition at line 68 of file pannable.h.

◆ value_changed()

void ARDOUR::Pannable::value_changed ( )
private

◆ what_can_be_automated()

const std::set<Evoral::Parameter>& ARDOUR::Pannable::what_can_be_automated ( ) const

◆ writing()

bool ARDOUR::Pannable::writing ( ) const
inline

Definition at line 70 of file pannable.h.

Member Data Documentation

◆ _auto_state

AutoState ARDOUR::Pannable::_auto_state
protected

Definition at line 85 of file pannable.h.

◆ _has_state

bool ARDOUR::Pannable::_has_state
protected

Definition at line 86 of file pannable.h.

◆ _panner

std::weak_ptr<Panner> ARDOUR::Pannable::_panner
protected

Definition at line 84 of file pannable.h.

◆ _responding_to_control_auto_state_change

uint32_t ARDOUR::Pannable::_responding_to_control_auto_state_change
protected

Definition at line 87 of file pannable.h.

◆ _touching

std::atomic<int> ARDOUR::Pannable::_touching
protected

Definition at line 89 of file pannable.h.

◆ automation_state_changed

PBD::Signal<void(AutoState)> ARDOUR::Pannable::automation_state_changed

Definition at line 56 of file pannable.h.

◆ pan_azimuth_control

std::shared_ptr<AutomationControl> ARDOUR::Pannable::pan_azimuth_control

Definition at line 43 of file pannable.h.

◆ pan_elevation_control

std::shared_ptr<AutomationControl> ARDOUR::Pannable::pan_elevation_control

Definition at line 44 of file pannable.h.

◆ pan_frontback_control

std::shared_ptr<AutomationControl> ARDOUR::Pannable::pan_frontback_control

Definition at line 46 of file pannable.h.

◆ pan_lfe_control

std::shared_ptr<AutomationControl> ARDOUR::Pannable::pan_lfe_control

Definition at line 47 of file pannable.h.

◆ pan_width_control

std::shared_ptr<AutomationControl> ARDOUR::Pannable::pan_width_control

Definition at line 45 of file pannable.h.


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