Ardour
9.0-pre0-582-g084a23a80d
|
#include <port_group.h>
Classes | |
struct | BundleRecord |
Public Types | |
typedef std::list< BundleRecord * > | BundleList |
Public Member Functions | |
PortGroup (std::string const &n) | |
~PortGroup () | |
void | add_bundle (std::shared_ptr< ARDOUR::Bundle >, bool allow_dups=false) |
void | add_bundle (std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO > io) |
void | add_bundle (std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO >, Gdk::Color) |
void | remove_bundle (std::shared_ptr< ARDOUR::Bundle >) |
std::shared_ptr< ARDOUR::Bundle > | only_bundle () |
void | clear () |
ARDOUR::ChanCount | total_channels () const |
std::shared_ptr< ARDOUR::IO > | io_from_bundle (std::shared_ptr< ARDOUR::Bundle >) const |
void | remove_duplicates () |
bool | has_port (std::string const &) const |
BundleList const & | bundles () const |
Public Attributes | |
std::string | name |
name for the group More... | |
PBD::Signal< void()> | Changed |
PBD::Signal< void(ARDOUR::Bundle::Change)> | BundleChanged |
Private Member Functions | |
void | bundle_changed (ARDOUR::Bundle::Change) |
void | add_bundle_internal (std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO >, bool, Gdk::Color, bool) |
Private Attributes | |
BundleList | _bundles |
A list of bundles grouped by some aspect of their type e.g. busses, tracks, system. A group has 0 or more bundles.
Definition at line 49 of file port_group.h.
typedef std::list<BundleRecord*> PortGroup::BundleList |
Definition at line 87 of file port_group.h.
PortGroup::PortGroup | ( | std::string const & | n | ) |
PortGroup::~PortGroup | ( | ) |
void PortGroup::add_bundle | ( | std::shared_ptr< ARDOUR::Bundle > | , |
bool | allow_dups = false |
||
) |
void PortGroup::add_bundle | ( | std::shared_ptr< ARDOUR::Bundle > | , |
std::shared_ptr< ARDOUR::IO > | io | ||
) |
void PortGroup::add_bundle | ( | std::shared_ptr< ARDOUR::Bundle > | , |
std::shared_ptr< ARDOUR::IO > | , | ||
Gdk::Color | |||
) |
|
private |
|
private |
|
inline |
Definition at line 89 of file port_group.h.
void PortGroup::clear | ( | ) |
bool PortGroup::has_port | ( | std::string const & | ) | const |
std::shared_ptr<ARDOUR::IO> PortGroup::io_from_bundle | ( | std::shared_ptr< ARDOUR::Bundle > | ) | const |
std::shared_ptr<ARDOUR::Bundle> PortGroup::only_bundle | ( | ) |
void PortGroup::remove_bundle | ( | std::shared_ptr< ARDOUR::Bundle > | ) |
void PortGroup::remove_duplicates | ( | ) |
ARDOUR::ChanCount PortGroup::total_channels | ( | ) | const |
|
private |
Definition at line 97 of file port_group.h.
PBD::Signal<void(ARDOUR::Bundle::Change)> PortGroup::BundleChanged |
An individual bundle on our list has changed in some way
Definition at line 73 of file port_group.h.
PBD::Signal<void()> PortGroup::Changed |
The bundle list has changed in some way; a bundle has been added or removed, or the list cleared etc.
Definition at line 70 of file port_group.h.
std::string PortGroup::name |
name for the group
Definition at line 65 of file port_group.h.