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 FASTDDS_EXPORTED_API ~AllowedNetworkInterface() = default

Destructor.

FASTDDS_EXPORTED_API AllowedNetworkInterface(const AllowedNetworkInterface &iface) = default

Copy constructor.

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

Copy assignment.

FASTDDS_EXPORTED_API AllowedNetworkInterface(AllowedNetworkInterface &&iface) = default

Move constructor.

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

Move assignment.

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

Constructor by name and netmask filter.

FASTDDS_EXPORTED_API 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.

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

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

FASTDDS_EXPORTED_API NetworkInterfaceWithFilter(const NetworkInterfaceWithFilter &iface) = default

Copy constructor.

FASTDDS_EXPORTED_API NetworkInterfaceWithFilter(NetworkInterfaceWithFilter &&iface) = default

Move constructor.