Home
last modified time | relevance | path

Searched refs:mBitMask (Results 1 – 1 of 1) sorted by relevance

/openthread-latest/src/core/mac/
Dmac_types.hpp647 : mBitMask(0) in RadioTypes()
657 : mBitMask(aMask) in RadioTypes()
664 void Clear(void) { mBitMask = 0; } in Clear()
671 bool IsEmpty(void) const { return (mBitMask == 0); } in IsEmpty()
678 … bool ContainsSingleRadio(void) const { return !IsEmpty() && ((mBitMask & (mBitMask - 1)) == 0); } in ContainsSingleRadio()
687 bool Contains(RadioType aType) const { return ((mBitMask & BitFlag(aType)) != 0); } in Contains()
694 void Add(RadioType aType) { mBitMask |= BitFlag(aType); } in Add()
701 void Add(RadioTypes aTypes) { mBitMask |= aTypes.mBitMask; } in Add()
713 void Remove(RadioType aType) { mBitMask &= ~BitFlag(aType); } in Remove()
722 uint8_t GetAsBitMask(void) const { return mBitMask; } in GetAsBitMask()
[all …]