Class Layout

Class Documentation

class ear::Layout

Representation of a loudspeaker layout, with a name and a list of channels.

Public Functions

Layout(std::string name = "", std::vector<Channel> channels = std::vector<Channel>(), boost::optional<Screen> screen = getDefaultScreen())
std::string name() const
std::vector<Channel> &channels()
std::vector<Channel> channels() const
boost::optional<Screen> screen() const
void name(std::string name)
void screen(boost::optional<Screen> screen)
Layout withoutLfe() const
std::vector<bool> isLfe() const
std::vector<std::string> channelNames() const
void checkPositions(std::function<void(const std::string&)> callback) const
Channel channelWithName(const std::string &name) const
boost::optional<int> indexForName(const std::string &name) const
std::vector<PolarPosition> positions() const
std::vector<PolarPosition> nominalPositions() const