17.2.3.12. LocatorWithMask¶
-
class LocatorWithMask : public eprosima::fastrtps::rtps::Locator_t¶
A Locator with a mask that defines the number of significant bits of its address.
Public Functions
-
inline uint8_t mask() const¶
Get the number of significant bits on the address of this locator.
- Returns
number of significant bits on the address of this locator.
-
inline void mask(uint8_t mask)¶
Set the number of significant bits on the address of this locator.
- Parameters
mask – number of significant bits on the address of this locator.
-
inline uint8_t mask() const¶