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

#include <panner_shell.h>

Inheritance diagram for ARDOUR::PannerShell:
ARDOUR::SessionObject ARDOUR::SessionHandleRef PBD::StatefulDestructible PBD::ScopedConnectionList PBD::Stateful PBD::Destructible

Public Member Functions

 PannerShell (std::string name, Session &, boost::shared_ptr< Pannable >, bool is_send=false)
 
virtual ~PannerShell ()
 
std::string describe_parameter (Evoral::Parameter param)
 
bool can_support_io_configuration (const ChanCount &, ChanCount &)
 
void configure_io (ChanCount in, ChanCount out)
 
void run (BufferSet &src, BufferSet &dest, framepos_t start_frame, framepos_t end_frames, pframes_t nframes)
 The fundamental Panner function. More...
 
XMLNodeget_state ()
 
int set_state (const XMLNode &, int version)
 
boost::shared_ptr< Pannerpanner () const
 
boost::shared_ptr< Pannablepannable () const
 
bool bypassed () const
 
void set_bypassed (bool)
 
bool is_send () const
 
bool is_linked_to_route () const
 
void set_linked_to_route (bool)
 
std::string current_panner_uri () const
 
std::string user_selected_panner_uri () const
 
std::string panner_gui_uri () const
 
bool select_panner_by_uri (std::string const uri)
 
- Public Member Functions inherited from ARDOUR::SessionObject
 SessionObject (Session &session, const std::string &name)
 
Sessionsession () const
 
std::string name () const
 
virtual bool set_name (const std::string &str)
 
- Public Member Functions inherited from ARDOUR::SessionHandleRef
 SessionHandleRef (ARDOUR::Session &s)
 
virtual ~SessionHandleRef ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- 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 Attributes

PBD::Signal0< void > PannableChanged
 
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
 

Private Member Functions

void distribute_no_automation (BufferSet &src, BufferSet &dest, pframes_t nframes, gain_t gain_coeff)
 
bool set_user_selected_panner_uri (std::string const uri)
 

Private Attributes

boost::shared_ptr< Panner_panner
 
boost::shared_ptr< Pannable_pannable_internal
 
boost::shared_ptr< Pannable_pannable_route
 
bool _is_send
 
bool _panlinked
 
bool _bypassed
 
std::string _current_panner_uri
 
std::string _user_selected_panner_uri
 
std::string _panner_gui_uri
 
bool _force_reselect
 

Additional Inherited Members

- Static Public Member Functions inherited from ARDOUR::SessionObject
static void make_property_quarks ()
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version = 0
 
static int loading_state_version = 0
 
- Protected Member Functions inherited from ARDOUR::SessionHandleRef
virtual void session_going_away ()
 
virtual void insanity_check ()
 
- 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::SessionObject
PBD::Property< std::string > _name
 
- Protected Attributes inherited from ARDOUR::SessionHandleRef
ARDOUR::Session_session
 
- 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
 

Detailed Description

Class to manage panning by instantiating and controlling an appropriate Panner object for a given in/out configuration.

Definition at line 50 of file panner_shell.h.

Constructor & Destructor Documentation

PannerShell::PannerShell ( std::string  name,
Session ,
boost::shared_ptr< Pannable ,
bool  is_send = false 
)

Definition at line 64 of file panner_shell.cc.

PannerShell::~PannerShell ( )
virtual

Definition at line 86 of file panner_shell.cc.

Member Function Documentation

bool PannerShell::bypassed ( ) const

Definition at line 423 of file panner_shell.cc.

bool ARDOUR::PannerShell::can_support_io_configuration ( const ChanCount ,
ChanCount  
)
inline

Definition at line 58 of file panner_shell.h.

void PannerShell::configure_io ( ChanCount  in,
ChanCount  out 
)

Definition at line 92 of file panner_shell.cc.

std::string ARDOUR::PannerShell::current_panner_uri ( ) const
inline

Definition at line 81 of file panner_shell.h.

std::string ARDOUR::PannerShell::describe_parameter ( Evoral::Parameter  param)
void PannerShell::distribute_no_automation ( BufferSet src,
BufferSet dest,
pframes_t  nframes,
gain_t  gain_coeff 
)
private

Definition at line 273 of file panner_shell.cc.

XMLNode & PannerShell::get_state ( void  )
virtual

Implements PBD::Stateful.

Definition at line 154 of file panner_shell.cc.

bool ARDOUR::PannerShell::is_linked_to_route ( ) const
inline

Definition at line 77 of file panner_shell.h.

bool ARDOUR::PannerShell::is_send ( ) const
inline

Definition at line 76 of file panner_shell.h.

boost::shared_ptr<Pannable> ARDOUR::PannerShell::pannable ( ) const
inline

Definition at line 71 of file panner_shell.h.

boost::shared_ptr<Panner> ARDOUR::PannerShell::panner ( ) const
inline

Definition at line 70 of file panner_shell.h.

std::string ARDOUR::PannerShell::panner_gui_uri ( ) const
inline

Definition at line 83 of file panner_shell.h.

void PannerShell::run ( BufferSet src,
BufferSet dest,
framepos_t  start_frame,
framepos_t  end_frames,
pframes_t  nframes 
)

The fundamental Panner function.

Definition at line 344 of file panner_shell.cc.

bool PannerShell::select_panner_by_uri ( std::string const  uri)

Definition at line 445 of file panner_shell.cc.

void PannerShell::set_bypassed ( bool  yn)

Definition at line 411 of file panner_shell.cc.

void PannerShell::set_linked_to_route ( bool  onoff)

Definition at line 465 of file panner_shell.cc.

int PannerShell::set_state ( const XMLNode node,
int  version 
)
virtual

Implements PBD::Stateful.

Definition at line 170 of file panner_shell.cc.

bool PannerShell::set_user_selected_panner_uri ( std::string const  uri)
private

Definition at line 435 of file panner_shell.cc.

std::string ARDOUR::PannerShell::user_selected_panner_uri ( ) const
inline

Definition at line 82 of file panner_shell.h.

Member Data Documentation

bool ARDOUR::PannerShell::_bypassed
private

Definition at line 98 of file panner_shell.h.

std::string ARDOUR::PannerShell::_current_panner_uri
private

Definition at line 100 of file panner_shell.h.

bool ARDOUR::PannerShell::_force_reselect
private

Definition at line 103 of file panner_shell.h.

bool ARDOUR::PannerShell::_is_send
private

Definition at line 96 of file panner_shell.h.

bool ARDOUR::PannerShell::_panlinked
private

Definition at line 97 of file panner_shell.h.

boost::shared_ptr<Pannable> ARDOUR::PannerShell::_pannable_internal
private

Definition at line 94 of file panner_shell.h.

boost::shared_ptr<Pannable> ARDOUR::PannerShell::_pannable_route
private

Definition at line 95 of file panner_shell.h.

boost::shared_ptr<Panner> ARDOUR::PannerShell::_panner
private

Definition at line 92 of file panner_shell.h.

std::string ARDOUR::PannerShell::_panner_gui_uri
private

Definition at line 102 of file panner_shell.h.

std::string ARDOUR::PannerShell::_user_selected_panner_uri
private

Definition at line 101 of file panner_shell.h.

PBD::Signal0<void> ARDOUR::PannerShell::Changed

Definition at line 68 of file panner_shell.h.

PBD::Signal0<void> ARDOUR::PannerShell::PannableChanged

Definition at line 67 of file panner_shell.h.


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