15.2.2.6.2. GUID_t¶
-
struct
eprosima::fastrtps::rtps
::
GUID_t
¶ Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
Public Functions
-
GUID_t
() noexcept¶ Default constructor.
Contructs an unknown GUID.
-
GUID_t
(const GuidPrefix_t &guid_prefix, uint32_t id) noexcept¶ Construct
- Parameters
guid_prefix
: Guid prefixid
: Entity id
-
GUID_t
(const GuidPrefix_t &guid_prefix, const EntityId_t &entity_id) noexcept¶ - Parameters
guid_prefix
: Guid prefixentity_id
: Entity id
-
bool
is_on_same_host_as
(const GUID_t &other_guid) const¶ Checks whether this guid is for an entity on the same host as another guid.
- Return
true when this guid is on the same host, false otherwise.
- Parameters
other_guid
: GUID_t to compare to.
-
bool
is_on_same_process_as
(const GUID_t &other_guid) const¶ Checks whether this guid is for an entity on the same host and process as another guid.
- Return
true when this guid is on the same host and process, false otherwise.
- Parameters
other_guid
: GUID_t to compare to.
-
bool
is_builtin
() const¶ Checks whether this guid corresponds to a builtin entity.
- Return
true when this guid corresponds to a builtin entity, false otherwise.
-