#include <channel_object.hpp>
Container type for holding the output channel indices. Each entry marks all output channels to which a specific input is routed.
The data type used to represent the channels to which the contained audio signals are routed. This corresponds to the loudspeaker IDs used in the array configuration file, i.e., a string.
Container for all output loudspeakers (as loudspeaker labels) of one signal channel.
visr::objectmodel::ChannelObject::ChannelObject |
( |
| ) |
|
|
delete |
visr::objectmodel::ChannelObject::ChannelObject |
( |
ObjectId |
id | ) |
|
|
explicit |
visr::objectmodel::ChannelObject::~ChannelObject |
( |
| ) |
|
|
virtualdefault |
std::unique_ptr< Object > visr::objectmodel::ChannelObject::clone |
( |
| ) |
const |
|
virtual |
Clone function used to emulate 'virtual copy constructor' functionality. Must be implemented in every derived instantiated class.
Implements visr::objectmodel::Object.
LevelType visr::objectmodel::ChannelObject::diffuseness |
( |
| ) |
const |
Return all output loudspeaker indices for one channel.
- Exceptions
-
std::out_of_range | If index exceeds the number of signal channels of the channel object |
Return the vector of output channel indices. The number of elements is identical to the number of channels (numberOfChannels())
void visr::objectmodel::ChannelObject::setDiffuseness |
( |
LevelType |
newDiffuseness | ) |
|
void visr::objectmodel::ChannelObject::setOutputChannel |
( |
std::size_t |
index, |
|
|
OutputChannelId |
val |
|
) |
| |
Set a specific channel to a single output channel.
void visr::objectmodel::ChannelObject::setOutputChannel |
( |
std::size_t |
index, |
|
|
OutputChannelList const & |
outputChannels |
|
) |
| |
Set a list of output channels for a
Set the output channel for a specific channel index.
- Parameters
-
newChannels | Container containing the new output channel indices |
void visr::objectmodel::ChannelObject::setOutputChannels |
( |
OutputChannelId const * |
val, |
|
|
std::size_t |
numValues |
|
) |
| |
std::size_t visr::objectmodel::ChannelObject::size |
( |
| ) |
const |
Return the number of channels.
ObjectTypeId visr::objectmodel::ChannelObject::type |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: