Files
qt6-migration-pipeline/external/rti_connext_dds-7.7.0/include/ndds/osapi/osapi_rtpsGuid.h
T
torsten 77c67c12ca Execute the same instructions but now for tools in folders you are getti
Entire-Metadata: .entire/metadata/fb87247f-2a75-407e-b336-cbc8c20ba5a6
Entire-Session: fb87247f-2a75-407e-b336-cbc8c20ba5a6
Entire-Strategy: manual-commit
2026-09-24 16:24:51 +00:00

106 lines
2.9 KiB
C

/*
* (c) Copyright, Real-Time Innovations, 2020-2024.
* All rights reserved.
*
* No duplications, whole or partial, manual or electronic, may be made
* without express written permission. Any such copies, or
* revisions thereof, must display this notice unaltered.
* This code contains trade secrets of Real-Time Innovations, Inc.
*/
#ifndef osapi_rtpsGuid_h
#define osapi_rtpsGuid_h
#include "osapi/osapi_dll.h"
#include "osapi/osapi_type.h"
#ifdef __cplusplus
extern "C" {
#endif
/** @internal \ingroup RTIOsapiRtpsGuid
* Those structures are needed in the activityContext in order to log and
* compare the guid. They are reused in: /mig.2.0/interface/rtps.ifc
*/
/** @internal \ingroup RTIOsapiRtpsGuid
* Guid Prefix
*/
struct RTIOsapiRtpsGuidPrefix {
RTI_UINT32 hostId;
RTI_UINT32 appId;
RTI_UINT32 instanceId;
};
#define RTI_OSAPI_RTPS_HOST_ID_UNKNOWN 0x00000000
#define RTI_OSAPI_RTPS_APP_ID_UNKNOWN 0x00000000
#define RTI_OSAPI_RTPS_INSTANCE_ID_UNKNOWN 0x00000000
#define RTI_OSAPI_RTPS_GUID_PREFIX_UNKNOWN \
{ \
RTI_OSAPI_RTPS_HOST_ID_UNKNOWN, \
RTI_OSAPI_RTPS_APP_ID_UNKNOWN, \
RTI_OSAPI_RTPS_INSTANCE_ID_UNKNOWN \
}
/** @internal \ingroup RTIOsapiRtpsGuid
* Guid
*/
struct RTIOsapiRtpsGuid {
struct RTIOsapiRtpsGuidPrefix prefix;
RTI_UINT32 objectId;
};
#define RTI_OSAPI_RTPS_OBJECT_ID_UNKNOWN 0x00000000
#define RTI_OSAPI_RTPS_GUID_UNKNOWN \
{ \
RTI_OSAPI_RTPS_GUID_PREFIX_UNKNOWN, RTI_OSAPI_RTPS_OBJECT_ID_UNKNOWN \
}
/** @internal \ingroup RTIOsapiRtpsGuid
* @brief Check if two RTIOsapiPrefix are equal.
* @param a \In. RTIOsapiPrefix a
* @param b \In. RTIOsapiPrefix b
* @return RTI_TRUE if the RTIOsapiPrefix are equal.
*/
extern RTIOsapiDllExport RTIBool RTIOsapiRtpsGuidPrefix_equals(
const struct RTIOsapiRtpsGuidPrefix *a,
const struct RTIOsapiRtpsGuidPrefix *b);
/** @internal \ingroup RTIOsapiRtpsGuid
* @brief Check if two RTIOsapiRtpsGuid are equal.
* @param a \In. RTIOsapiRtpsGuid a
* @param b \In. RTIOsapiRtpsGuid b
* @return RTI_TRUE if the RTIOsapiRtpsGuid are equal.
*/
extern RTIOsapiDllExport RTIBool RTIOsapiRtpsGuid_equals(
const struct RTIOsapiRtpsGuid *a,
const struct RTIOsapiRtpsGuid *b);
/** @internal \ingroup RTIOsapiRtpsGuid
* @brief Copy the guid prefix.
* @param a \In. RTIOsapiRtpsGuidPrefix
* @param b \In. RTIOsapiRtpsGuidPrefix
*/
extern RTIOsapiDllExport void RTIOsapiRtpsGuidPrefix_copy(
struct RTIOsapiRtpsGuidPrefix *to,
struct RTIOsapiRtpsGuidPrefix *from);
/** @internal \ingroup RTIOsapiRtpsGuid
* @brief Copy the guid.
* @param a \In. RTIOsapiRtpsGuid
* @param b \In. RTIOsapiRtpsGuid
*/
extern RTIOsapiDllExport void RTIOsapiRtpsGuid_copy(
struct RTIOsapiRtpsGuid *to,
struct RTIOsapiRtpsGuid *from);
#ifdef __cplusplus
} /* extern "C" */
#endif
#include "osapi/osapi_rtpsGuid_impl.h"
#endif /* osapi_rtpsGuid_h */