19#ifndef FASTDDS_RTPS_COMMON__LOCATORWITHMASK_HPP
20#define FASTDDS_RTPS_COMMON__LOCATORWITHMASK_HPP
24#include <fastdds/fastdds_dll.hpp>
25#include <fastdds/rtps/common/Locator.hpp>
Class Locator_t, uniquely identifies a communication channel for a particular transport.
Definition Locator.hpp:71
A Locator with a mask that defines the number of significant bits of its address.
Definition LocatorWithMask.hpp:35
void mask(uint8_t mask)
Set the number of significant bits on the address of this locator.
bool matches(const Locator &loc) const
Check whether the given locator is from the same network as this locator.
uint8_t mask() const
Get the number of significant bits on the address of this locator.
std::ostream & operator<<(std::ostream &output, BuiltinTransports transports)
Definition BuiltinTransports.hpp:117