Structure encapsulating relevant network interface information.
More...
#include <NetworkInterface.hpp>
|
| std::string | name |
| | Interface device name or IP address in string format (to be filled by the user).
|
| std::string | device |
| | Interface device name.
|
| std::string | ip |
| | IP address in string format (includes scope ID in the IPv6 case).
|
| LocatorWithMask | locator |
| | IP address with network mask.
|
Structure encapsulating relevant network interface information.
- 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.
◆ NetworkInterface() [1/4]
| FASTDDS_EXPORTED_API NetworkInterface |
( |
const std::string & | name | ) |
|
◆ NetworkInterface() [2/4]
| 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.
◆ ~NetworkInterface()
◆ NetworkInterface() [3/4]
| FASTDDS_EXPORTED_API NetworkInterface |
( |
const NetworkInterface & | iface | ) |
|
|
default |
◆ NetworkInterface() [4/4]
| FASTDDS_EXPORTED_API NetworkInterface |
( |
NetworkInterface && | iface | ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
◆ device
◆ ip
IP address in string format (includes scope ID in the IPv6 case).
◆ locator
IP address with network mask.
◆ name
Interface device name or IP address in string format (to be filled by the user).
The documentation for this struct was generated from the following file: