ardour
Public Member Functions | Private Attributes | List of all members
ARDOUR::PanControllable Class Reference

#include <pan_controllable.h>

Inheritance diagram for ARDOUR::PanControllable:
ARDOUR::AutomationControl PBD::Controllable Evoral::Control boost::enable_shared_from_this< AutomationControl > PBD::StatefulDestructible PBD::Stateful PBD::Destructible

Public Member Functions

 PanControllable (Session &s, std::string name, Pannable *o, Evoral::Parameter param)
 
double lower () const
 
void set_value (double)
 
- Public Member Functions inherited from ARDOUR::AutomationControl
 AutomationControl (ARDOUR::Session &, const Evoral::Parameter &parameter, const ParameterDescriptor &desc, boost::shared_ptr< ARDOUR::AutomationList > l=boost::shared_ptr< ARDOUR::AutomationList >(), const std::string &name="")
 
 ~AutomationControl ()
 
boost::shared_ptr< AutomationListalist () const
 
void set_list (boost::shared_ptr< Evoral::ControlList >)
 
bool automation_playback () const
 
bool automation_write () const
 
AutoState automation_state () const
 
AutoStyle automation_style () const
 
void set_automation_state (AutoState as)
 
void set_automation_style (AutoStyle as)
 
void start_touch (double when)
 
void stop_touch (bool mark, double when)
 
double get_value () const
 
double upper () const
 
double normal () const
 
bool toggled () const
 
const ParameterDescriptordesc () const
 
const ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from PBD::Controllable
 Controllable (const std::string &name, Flag f=Flag(0))
 
virtual ~Controllable ()
 
virtual double internal_to_interface (double i) const
 
virtual double interface_to_internal (double i) const
 
virtual double internal_to_user (double i) const
 
virtual double user_to_internal (double i) const
 
virtual float get_interface () const
 
virtual void set_interface (float percent)
 
virtual float get_user () const
 
virtual void set_user (float user_v)
 
virtual std::string get_user_string () const
 
int set_state (const XMLNode &, int version)
 
XMLNodeget_state ()
 
std::string name () const
 
bool touching () const
 
void set_touching (bool yn)
 
bool is_toggle () const
 
bool is_gain_like () const
 
Flag flags () const
 
void set_flags (Flag f)
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_changes (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 (Command *) const
 
virtual void rdiff (std::vector< 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
 Destructible ()
 
virtual ~Destructible ()
 
void drop_references ()
 
- Public Member Functions inherited from Evoral::Control
 Control (const Parameter &parameter, const ParameterDescriptor &desc, boost::shared_ptr< ControlList > list)
 
virtual ~Control ()
 
virtual void set_double (double val, double frame=0, bool to_list=false)
 
virtual double get_double (bool from_list=false, double frame=0) const
 
double user_double () const
 
void set_list (boost::shared_ptr< ControlList >)
 
boost::shared_ptr< ControlListlist ()
 
boost::shared_ptr< const
ControlList
list () const
 
const Parameterparameter () const
 

Private Attributes

Pannableowner
 

Additional Inherited Members

- Public Types inherited from PBD::Controllable
enum  Flag { Toggle = 0x1, GainLike = 0x2 }
 
- Static Public Member Functions inherited from PBD::Controllable
static Controllableby_id (const PBD::ID &)
 
static Controllableby_name (const std::string &)
 
- Public Attributes inherited from PBD::Controllable
PBD::Signal0< void > LearningFinished
 
PBD::Signal0< void > Changed
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const
PropertyChange & > 
PropertyChanged
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal0< void > Destroyed
 
PBD::Signal0< void > DropReferences
 
- Public Attributes inherited from Evoral::Control
PBD::Signal0< void > ListMarkedDirty
 
- Static Public Attributes inherited from PBD::Controllable
static PBD::Signal3< void,
PBD::Controllable *, int, int > 
CreateBinding
 
static PBD::Signal1< void,
PBD::Controllable * > 
DeleteBinding
 
static PBD::Signal1< bool,
PBD::Controllable * > 
StartLearning
 
static PBD::Signal1< void,
PBD::Controllable * > 
StopLearning
 
static PBD::Signal1< void,
Controllable * > 
Destroyed
 
static const std::string xml_node_name = X_("Controllable")
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version = 0
 
static int loading_state_version = 0
 
- 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 &)
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
- Protected Attributes inherited from ARDOUR::AutomationControl
ARDOUR::Session_session
 
const ParameterDescriptor _desc
 
- 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 Evoral::Control
Parameter _parameter
 
boost::shared_ptr< ControlList_list
 
double _user_value
 
PBD::ScopedConnection _list_marked_dirty_connection
 

Detailed Description

Definition at line 37 of file pan_controllable.h.

Constructor & Destructor Documentation

ARDOUR::PanControllable::PanControllable ( Session s,
std::string  name,
Pannable o,
Evoral::Parameter  param 
)
inline

Definition at line 40 of file pan_controllable.h.

Member Function Documentation

double PanControllable::lower ( ) const
virtual

Reimplemented from ARDOUR::AutomationControl.

Definition at line 27 of file pan_controllable.cc.

void PanControllable::set_value ( double  value)
virtual

Set the value and do the right thing based on automation state (e.g. record if necessary, etc.)

Parameters
value`user' value

Reimplemented from ARDOUR::AutomationControl.

Definition at line 38 of file pan_controllable.cc.

Member Data Documentation

Pannable* ARDOUR::PanControllable::owner
private

Definition at line 53 of file pan_controllable.h.


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