Class Locator_t
Defined in File Locator.h
Inheritance Relationships
Derived Type
public eprosima::fastdds::rtps::LocatorWithMask
(Class LocatorWithMask)
Class Documentation
-
class Locator_t
Class Locator_t, uniquely identifies a communication channel for a particular transport. For example, an address + port combination in the case of UDP.
Subclassed by eprosima::fastdds::rtps::LocatorWithMask
Public Functions
-
inline Locator_t()
Default constructor.
-
inline bool set_address(const Locator_t &other)
Set the locator IP address using another locator.
- Parameters
other – Locator which IP address is used to set this locator IP address.
- Returns
always true.
-
inline octet *get_address()
Getter for the locator IP address.
- Returns
IP address as octet pointer.
-
inline octet get_address(uint16_t field) const
Getter for a specific field of the locator IP address.
- Parameters
field – IP address element to be accessed.
- Returns
Octet value for the specific IP address element.
-
inline void set_Invalid_Address()
Automatic setter for setting locator IP address to invalid address (0).
-
inline Locator_t()