Holds information about the locators of a remote entity. More...
#include <RemoteLocators.hpp>
Public Member Functions | |
| RemoteLocatorList () | |
| Default constructor of RemoteLocatorList for deserialize. | |
| RemoteLocatorList (size_t max_unicast_locators, size_t max_multicast_locators) | |
| Construct a RemoteLocatorList. | |
| RemoteLocatorList (const RemoteLocatorList &other) | |
| Copy-construct a RemoteLocatorList. | |
| RemoteLocatorList & | operator= (const RemoteLocatorList &other) |
| Assign locator values from other RemoteLocatorList. | |
| void | add_unicast_locator (const Locator_t &locator) |
| Adds a locator to the unicast list. | |
| void | add_multicast_locator (const Locator_t &locator) |
| Adds a locator to the multicast list. | |
Public Attributes | |
| ResourceLimitedVector< Locator_t > | unicast |
| List of unicast locators. | |
| ResourceLimitedVector< Locator_t > | multicast |
| List of multicast locators. | |
Holds information about the locators of a remote entity.
|
inline |
Default constructor of RemoteLocatorList for deserialize.
|
inline |
Construct a RemoteLocatorList.
| max_unicast_locators | Maximum number of unicast locators to hold. |
| max_multicast_locators | Maximum number of multicast locators to hold. |
|
inline |
Copy-construct a RemoteLocatorList.
| other | RemoteLocatorList to copy data from. |
|
inline |
Adds a locator to the multicast list.
If the locator already exists in the multicast list, or the maximum number of multicast locators has been reached, the new locator is silently discarded.
| locator | Multicast locator to be added. |
|
inline |
Adds a locator to the unicast list.
If the locator already exists in the unicast list, or the maximum number of unicast locators has been reached, the new locator is silently discarded.
| locator | Unicast locator to be added. |
|
inline |
Assign locator values from other RemoteLocatorList.
| other | RemoteLocatorList to copy data from. |
(a = b) == b may not be true. | ResourceLimitedVector<Locator_t> multicast |
List of multicast locators.
| ResourceLimitedVector<Locator_t> unicast |
List of unicast locators.