17.2.3.12. LocatorWithMask

class eprosima::fastdds::rtps::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.