15.2.2.15.2. RemoteLocatorList¶
-
struct
eprosima::fastrtps::rtps
::
RemoteLocatorList
¶ Holds information about the locators of a remote entity.
Public Functions
-
RemoteLocatorList
()¶ Default constructor of RemoteLocatorList for deserialize.
-
RemoteLocatorList
(size_t max_unicast_locators, size_t max_multicast_locators)¶ Construct a RemoteLocatorList.
- Parameters
max_unicast_locators
: Maximum number of unicast locators to hold.max_multicast_locators
: Maximum number of multicast locators to hold.
-
RemoteLocatorList
(const RemoteLocatorList &other)¶ Copy-construct a RemoteLocatorList.
- Parameters
other
: RemoteLocatorList to copy data from.
-
RemoteLocatorList &
operator=
(const RemoteLocatorList &other)¶ Assign locator values from other RemoteLocatorList.
- Remark
Using the assignment operator is different from copy-constructing as in the first case the configuration with the maximum number of locators is not copied. This means that, for two lists with different maximum number of locators, the expression
(a = b) == b
may not be true.- Parameters
other
: RemoteLocatorList to copy data from.
-