Struct BlockedNetworkInterface

Inheritance Relationships

Base Type

Struct Documentation

struct BlockedNetworkInterface : public eprosima::fastdds::rtps::NetworkInterface

Structure extending NetworkInterface with information specific to blocked 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 ~BlockedNetworkInterface() = default

Destructor.

FASTDDS_EXPORTED_API BlockedNetworkInterface(const BlockedNetworkInterface &iface) = default

Copy constructor.

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

Copy assignment.

FASTDDS_EXPORTED_API BlockedNetworkInterface(BlockedNetworkInterface &&iface) = default

Move constructor.

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

Move assignment.

FASTDDS_EXPORTED_API NetworkInterface(const std::string &name)

Constructor by name.

FASTDDS_EXPORTED_API NetworkInterface(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 NetworkInterface(const NetworkInterface &iface) = default

Copy constructor.

FASTDDS_EXPORTED_API NetworkInterface(NetworkInterface &&iface) = default

Move constructor.