ChannelGroup
ChannelGroup

Represents a group of channels that have combined settings.

Functions
ChannelGroup
ChannelGroup(
const ChannelMask &channelMask,
const std::string &groupName,
const SettingsMap &settings
)

Creates a ChannelGroup object.

Parameters
channelMask

The ChannelMask representing which channels are part of this group.

groupName
const std::string&

The name of the group.

settings
const SettingsMap&

A map of WirelessTypes::ChannelGroupSettings to EepromLocations.

Variables
m_channels
ChannelMask m_channels

The ChannelMask representing which channels are part of this group.

m_name
std::string m_name

The name of the group.

m_options

The WirelessTypes::ChannelGroupSettings that this group supports.

m_settingsMap
SettingsMap m_settingsMap

A map of WirelessTypes::ChannelGroupSetting to EepromLocation pairs.

Functions
getSettingEeprom
const EepromLocation& getSettingEeprom(
WirelessTypes::ChannelGroupSetting setting
) const

Gets the EepromLocation for the given <Setting>.

Exceptions
channels
const ChannelMask& channels() const

Gets the ChannelMask representing which channels are part of this group.

name
const std::string& name() const

Gets the name of the channel group.

settings
const WirelessTypes::ChannelGroupSettings& settings() const

Gets the WirelessTypes::ChannelGroupSettings that this group supports.

Types
ChannelGroups

A typedef for a vector of ChannelGroups.