#include <channel_object.hpp>
◆ OutputChannelContainer
Container type for holding the output channel indices. Each entry marks all output channels to which a specific input is routed.
◆ OutputChannelId
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.
◆ OutputChannelList
Container for all output loudspeakers (as loudspeaker labels) of one signal channel.
◆ ChannelObject() [1/2]
visr::objectmodel::ChannelObject::ChannelObject |
( |
| ) |
|
|
delete |
◆ ChannelObject() [2/2]
visr::objectmodel::ChannelObject::ChannelObject |
( |
ObjectId |
id | ) |
|
|
explicit |
◆ ~ChannelObject()
visr::objectmodel::ChannelObject::~ChannelObject |
( |
| ) |
|
|
virtualdefault |
◆ clone()
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.
◆ diffuseness()
LevelType visr::objectmodel::ChannelObject::diffuseness |
( |
| ) |
const |
◆ outputChannel()
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 |
◆ outputChannels()
Return the vector of output channel indices. The number of elements is identical to the number of channels (numberOfChannels())
◆ setDiffuseness()
void visr::objectmodel::ChannelObject::setDiffuseness |
( |
LevelType |
newDiffuseness | ) |
|
◆ setOutputChannel() [1/2]
void visr::objectmodel::ChannelObject::setOutputChannel |
( |
std::size_t |
index, |
|
|
OutputChannelId |
val |
|
) |
| |
Set a specific channel to a single output channel.
◆ setOutputChannel() [2/2]
void visr::objectmodel::ChannelObject::setOutputChannel |
( |
std::size_t |
index, |
|
|
OutputChannelList const & |
outputChannels |
|
) |
| |
Set a list of output channels for a
◆ setOutputChannels() [1/2]
Set the output channel for a specific channel index.
- Parameters
-
newChannels | Container containing the new output channel indices |
◆ setOutputChannels() [2/2]
void visr::objectmodel::ChannelObject::setOutputChannels |
( |
OutputChannelId const * |
val, |
|
|
std::size_t |
numValues |
|
) |
| |
◆ size()
std::size_t visr::objectmodel::ChannelObject::size |
( |
| ) |
const |
Return the number of channels.
◆ type()
ObjectTypeId visr::objectmodel::ChannelObject::type |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files:
- C:/Local/dev/gitlab-runner/builds/a913a013/0/s3a/VISR/src/libobjectmodel/channel_object.hpp
- C:/Local/dev/gitlab-runner/builds/a913a013/0/s3a/VISR/src/libobjectmodel/channel_object.cpp