Struct AllowedNetworkInterface

Inheritance Relationships

Base Type

Struct Documentation

struct AllowedNetworkInterface : public eprosima::fastdds::rtps::NetworkInterfaceWithFilter

Structure extending NetworkInterfaceWithFilter with information specific to allowed interfaces.

Note

When using this structure to interact with Fast-DDS, name is the only attribute the user needs to provide. The rest of the attributes are internally filled, and are in fact ignored even if already provided by the user.

Public Functions

virtual RTPS_DllAPI ~AllowedNetworkInterface() = default

Destructor.

RTPS_DllAPI AllowedNetworkInterface(const AllowedNetworkInterface &iface) = default

Copy constructor.

RTPS_DllAPI AllowedNetworkInterface & operator= (const AllowedNetworkInterface &iface)=default

Copy assignment.

RTPS_DllAPI AllowedNetworkInterface(AllowedNetworkInterface &&iface) = default

Move constructor.

RTPS_DllAPI AllowedNetworkInterface & operator= (AllowedNetworkInterface &&iface)=default

Move assignment.

RTPS_DllAPI NetworkInterfaceWithFilter(const std::string &name, NetmaskFilterKind netmask_filter)

Constructor by name and netmask filter.

RTPS_DllAPI NetworkInterfaceWithFilter(const std::string &name)

Constructor by name.

NetworkInterfaceWithFilter(const std::string &device, const std::string &ip, const LocatorWithMask &locator, NetmaskFilterKind netmask_filter)

Constructor by device name, IP address string, locator with mask and netmask filter.

RTPS_DllAPI NetworkInterfaceWithFilter(const std::string &device, const std::string &ip, const LocatorWithMask &locator)

Constructor by device name, IP address string and locator with mask.

RTPS_DllAPI NetworkInterfaceWithFilter(const NetworkInterfaceWithFilter &iface) = default

Copy constructor.

RTPS_DllAPI NetworkInterfaceWithFilter(NetworkInterfaceWithFilter &&iface) = default

Move constructor.