Function eprosima::fastrtps::rtps::IsLocatorValid

Function Documentation

inline bool eprosima::fastrtps::rtps::IsLocatorValid(const Locator_t &loc)

Auxiliary method to check that locator kind is not LOCATOR_KIND_INVALID (-1).

Parameters

loc – Locator to be checked.

Returns

true if the locator kind is not LOCATOR_KIND_INVALID.

Returns

false otherwise.