Add a clear method to channel mask
This commit is contained in:
parent
c5d9b119af
commit
b6301ab9c9
@ -153,3 +153,8 @@ QDebug operator<<(QDebug debug, const ZigbeeChannelMask &channelMaks)
|
||||
debug.nospace() << ") ";
|
||||
return debug;
|
||||
}
|
||||
|
||||
void ZigbeeChannelMask::clear()
|
||||
{
|
||||
m_channelMask = 0;
|
||||
}
|
||||
|
||||
@ -59,6 +59,7 @@ public:
|
||||
bool isSet(Zigbee::ZigbeeChannel channel) const;
|
||||
void setChannel(Zigbee::ZigbeeChannel channel);
|
||||
void unsetChannel(Zigbee::ZigbeeChannel channel);
|
||||
void clear();
|
||||
|
||||
ZigbeeChannelMask &operator=(const ZigbeeChannelMask &other);
|
||||
bool operator==(const ZigbeeChannelMask &other) const;
|
||||
|
||||
Reference in New Issue
Block a user