Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
More...
#include <Guid.hpp>
Structure GUID_t, entity identifier, unique in DDS-RTPS Domain.
◆ GUID_t() [1/3]
Default constructor.
Contructs an unknown GUID.
◆ GUID_t() [2/3]
Construct.
- Parameters
-
guid_prefix | Guid prefix |
id | Entity id |
◆ GUID_t() [3/3]
- Parameters
-
guid_prefix | Guid prefix |
entity_id | Entity id |
◆ is_builtin()
bool is_builtin |
( |
| ) |
const |
|
inline |
Checks whether this guid corresponds to a builtin entity.
- Returns
- true when this guid corresponds to a builtin entity, false otherwise.
◆ is_from_this_host()
bool is_from_this_host |
( |
| ) |
const |
|
inline |
Checks whether this guid is from a (Fast-DDS) entity created on this host (from where this method is called).
- Returns
- true when this guid is from a (Fast-DDS) entity created on this host, false otherwise.
◆ is_from_this_process()
bool is_from_this_process |
( |
| ) |
const |
|
inline |
Checks whether this guid is from a (Fast-DDS) entity created on this process (from where this method is called).
- Returns
- true when this guid is from a (Fast-DDS) entity created on this process, false otherwise.
◆ is_on_same_host_as()
bool is_on_same_host_as |
( |
const GUID_t & |
other_guid | ) |
const |
|
inline |
Checks whether this guid is from an entity on the same host as another guid.
- Note
- This method assumes the value of
other_guid
was originally assigned by Fast-DDS vendor.
- Parameters
-
other_guid | GUID_t to compare to. |
- Returns
- true when this guid is on the same host, false otherwise.
◆ is_on_same_process_as()
bool is_on_same_process_as |
( |
const GUID_t & |
other_guid | ) |
const |
|
inline |
Checks whether this guid is for an entity on the same host and process as another guid.
- Note
- This method assumes the value of
other_guid
was originally assigned by Fast-DDS vendor.
- Parameters
-
other_guid | GUID_t to compare to. |
- Returns
- true when this guid is on the same host and process, false otherwise.
◆ operator const InstanceHandle_t &()
◆ unknown()
◆ entityId
◆ guidPrefix
The documentation for this struct was generated from the following file: