Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::ClickIO Class Reference

#include <click.h>

Inheritance diagram for ARDOUR::ClickIO:
[legend]

Public Member Functions

 ClickIO (Session &s, const std::string &name)
 
 ~ClickIO ()
 
- Public Member Functions inherited from ARDOUR::IO
 IO (Session &, const std::string &name, Direction, DataType default_type=DataType::AUDIO, bool sendish=false)
 
 IO (Session &, const XMLNode &, DataType default_type=DataType::AUDIO, bool sendish=false)
 
virtual ~IO ()
 
Direction direction () const
 
DataType default_type () const
 
void set_default_type (DataType t)
 
bool active () const
 
void set_active (bool yn)
 
bool set_name (const std::string &str)
 
void set_pretty_name (const std::string &str)
 
std::string pretty_name () const
 
void set_audio_channel_names (std::vector< std::string > const &acn)
 
virtual void silence (samplecnt_t)
 
int ensure_io (ChanCount cnt, bool clear, void *src)
 
int connect_ports_to_bundle (std::shared_ptr< Bundle >, bool exclusive, void *)
 
int connect_ports_to_bundle (std::shared_ptr< Bundle >, bool, bool, void *)
 
int disconnect_ports_from_bundle (std::shared_ptr< Bundle >, void *)
 
BundleList bundles_connected ()
 
std::shared_ptr< Bundlebundle ()
 
bool can_add_port (DataType) const
 
int add_port (std::string connection, void *src, DataType type=DataType::NIL)
 
int remove_port (std::shared_ptr< Port >, void *src)
 
int connect (std::shared_ptr< Port > our_port, std::string other_port, void *src)
 
int disconnect (std::shared_ptr< Port > our_port, std::string other_port, void *src)
 
int disconnect (void *src)
 
bool connected_to (std::shared_ptr< const IO >) const
 
bool connected_to (const std::string &) const
 
bool connected () const
 
bool physically_connected () const
 
bool has_ext_connection () const
 
samplecnt_t latency () const
 
samplecnt_t connected_latency (bool for_playback) const
 
void set_private_port_latencies (samplecnt_t value, bool playback)
 
void set_public_port_latencies (samplecnt_t value, bool playback) const
 
void set_public_port_latency_from_connections () const
 
std::shared_ptr< PortSetports ()
 
std::shared_ptr< PortSet const > ports () const
 
bool has_port (std::shared_ptr< Port >) const
 
std::shared_ptr< Portnth (uint32_t n) const
 
std::shared_ptr< Portport_by_name (const std::string &str) const
 
std::shared_ptr< AudioPortaudio (uint32_t n) const
 
std::shared_ptr< MidiPortmidi (uint32_t n) const
 
const ChanCountn_ports () const
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
int set_state_2X (const XMLNode &, int, bool)
 
void collect_input (BufferSet &bufs, pframes_t nframes, ChanCount offset)
 
void copy_to_outputs (BufferSet &bufs, DataType type, pframes_t nframes, samplecnt_t offset)
 
void flush_buffers (pframes_t nframes)
 
int set_ports (const std::string &str)
 
- Public Member Functions inherited from ARDOUR::SessionObject
 SessionObject (Session &session, const std::string &name)
 
Sessionsession () const
 
std::string name () const
 
- 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 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 PBD::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 

Protected Member Functions

uint32_t pans_required () const
 
- Protected Member Functions inherited from ARDOUR::IO
virtual XMLNodestate () const
 
- 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 &) 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
 

Additional Inherited Members

- Public Types inherited from ARDOUR::IO
enum  Direction { Input , Output }
 
- Static Public Member Functions inherited from ARDOUR::IO
static void prepare_for_reset (XMLNode &, const std::string &)
 
static std::string name_from_state (const XMLNode &)
 
static void set_name_in_state (XMLNode &, const std::string &)
 
- Static Public Member Functions inherited from ARDOUR::SessionObject
static void make_property_quarks ()
 
- Public Attributes inherited from ARDOUR::IO
PBD::Signal< void(IOChange, void *)> changed
 
PBD::SignalWithCombiner< BoolCombiner, bool(ChanCount)> PortCountChanging
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 
- Static Public Attributes inherited from ARDOUR::IO
static const std::string state_node_name
 
static PBD::Signal< void(ChanCount)> PortCountChanged
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 
- Protected Attributes inherited from ARDOUR::IO
Direction _direction
 
DataType _default_type
 
bool _active
 
bool _sendish
 
- 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

Definition at line 53 of file click.h.

Constructor & Destructor Documentation

◆ ClickIO()

ARDOUR::ClickIO::ClickIO ( Session s,
const std::string &  name 
)
inline

Definition at line 56 of file click.h.

◆ ~ClickIO()

ARDOUR::ClickIO::~ClickIO ( )
inline

Definition at line 57 of file click.h.

Member Function Documentation

◆ pans_required()

uint32_t ARDOUR::ClickIO::pans_required ( ) const
inlineprotected

Definition at line 60 of file click.h.


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