Files
qt6-migration-pipeline/external/rti_connext_dds-7.7.0/include/ndds/commend/commend_common.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

112 lines
3.1 KiB
C

/*
* Copyright (c) 2025 Real-Time Innovations, Inc. 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 commend_common_h
#define commend_common_h
#ifndef osapi_type_h
#include "osapi/osapi_type.h"
#endif
#ifndef commend_dll_h
#include "commend/commend_dll.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Doxygen file-level documentation =====================================*/
/*e \file
\brief COMMEND common definition
*/
/*e \defgroup COMMENDCommonModule COMMENDCommon
\ingroup COMMENDModule
*/
/* ----------------------------------------------------------------- */
/* QOS */
/*e \defgroup COMMENDQosModule QOS
\ingroup COMMENDCommonModule
*/
/*e \ingroup COMMENDCommonModule
* Maximum number of application ip addresses.
*/
#define COMMEND_COMMON_APP_IPADDRESS_COUNT_MAX \
(RTI_NETIO_RTPS_LOCATOR_LIST_MAX_SIZE)
#define COMMEND_COMMON_APP_IPADDRESS_REDUCED_COUNT_MAX \
(RTI_NETIO_RTPS_LOCATOR_REDUCED_LIST_MAX_SIZE)
#define COMMEND_COMMON_WR_LIST_DEFAULT \
{ \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID \
}
#define COMMEND_COMMON_WR_REDUCED_LIST_DEFAULT \
{ \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID, \
REDA_WEAK_REFERENCE_INVALID, REDA_WEAK_REFERENCE_INVALID \
}
#define COMMENDFilterSignature_bit(__signature) (0x80000000 >> (__signature))
/*e \ingroup COMMENDQosModule
* Auto length used to automatically resolve the receiver_pool.buffer_size
*/
#define COMMEND_LENGTH_AUTO -2
extern COMMENDDllExport int COMMEND_calculateAppendedSize(
int testType,
int suffixSize,
int suffixAlignment);
extern COMMENDDllExport int COMMEND_calculateAppendedAlignment(
int testType,
int suffixSize,
int suffixAlignment);
extern COMMENDDllExport void *COMMEND_calculateAppendedPtr(
void *entityPtr,
int testType,
int suffixSize,
int suffixAlignment);
typedef enum {
COMMEND_PROTOCOL_ACK_MODE,
COMMEND_AUTO_APP_ACK_MODE,
COMMEND_ORDERED_APP_ACK_MODE,
COMMEND_EXPLICIT_APP_ACK_MODE
} COMMENDAppAckMode;
typedef enum {
COMMEND_SEND_WINDOW_RESIZE_PUSH_PULL_RATIO_MODE,
COMMEND_SEND_WINDOW_RESIZE_NACK_MODE
} COMMENDSendWindowResizeMode;
#ifdef __cplusplus
} /* extern "C" */
#endif
#include "commend/commend_common_impl.h"
#endif /* commend_common_h */