|
| Bundle (bool i=true) |
|
| Bundle (std::string const &, bool i=true) |
|
| Bundle (boost::shared_ptr< Bundle >) |
|
virtual | ~Bundle () |
|
ChanCount | nchannels () const |
|
PortList const & | channel_ports (uint32_t) const |
|
void | add_channel (std::string const &, DataType) |
|
void | add_channel (std::string const &, DataType, std::string const &) |
|
void | add_channel (std::string const &, DataType, PortList) |
|
std::string | channel_name (uint32_t) const |
|
DataType | channel_type (uint32_t) const |
|
void | set_channel_name (uint32_t, std::string const &) |
|
void | add_port_to_channel (uint32_t, std::string) |
|
void | set_port (uint32_t, std::string) |
|
void | remove_port_from_channel (uint32_t, std::string) |
|
void | remove_ports_from_channel (uint32_t) |
|
void | remove_ports_from_channels () |
|
bool | port_attached_to_channel (uint32_t, std::string) |
|
bool | offers_port (std::string) const |
|
bool | offers_port_alone (std::string) const |
|
void | remove_channel (uint32_t) |
|
void | remove_channels () |
|
void | add_channels_from_bundle (boost::shared_ptr< Bundle >) |
|
void | connect (boost::shared_ptr< Bundle >, AudioEngine &) |
|
void | disconnect (boost::shared_ptr< Bundle >, AudioEngine &) |
|
bool | connected_to (boost::shared_ptr< Bundle >, AudioEngine &) |
|
bool | connected_to_anything (AudioEngine &) |
|
bool | has_same_ports (boost::shared_ptr< Bundle >) const |
|
uint32_t | type_channel_to_overall (DataType, uint32_t) const |
|
uint32_t | overall_channel_to_type (DataType, uint32_t) const |
|
void | set_name (std::string const &) |
|
std::string | name () const |
|
void | set_ports_are_inputs () |
|
void | set_ports_are_outputs () |
|
bool | ports_are_inputs () const |
|
bool | ports_are_outputs () const |
|
void | suspend_signals () |
|
void | resume_signals () |
|
bool | operator== (Bundle const &other) |
|
| ScopedConnectionList () |
|
virtual | ~ScopedConnectionList () |
|
void | add_connection (const UnscopedConnection &c) |
|
void | drop_connections () |
|
A set of `channels', each of which is associated with 0 or more ports. Each channel has a name which can be anything useful, and a data type. Intended for grouping things like, for example, a buss' outputs. `Channel' is a rather overloaded term but I can't think of a better one right now.
Definition at line 43 of file bundle.h.
uint32_t Bundle::type_channel_to_overall |
( |
DataType |
t, |
|
|
uint32_t |
c |
|
) |
| const |
Given an index of a channel as the nth channel of a particular type, return an index of that channel when considering channels of all types.
e.g. given a bundle with channels: fred [audio] jim [audio] sheila [midi]
If t == MIDI and c == 0, then we would return 2, as 2 is the index of the 0th MIDI channel.
If t == NIL, we just return c.
Definition at line 566 of file bundle.cc.