- HandlerMinelayerData: BUILD_RTI Guards für RTI-Abhängigkeiten - svcTabCommon: Export-Header-Fix via Fallback-Target - TrainingAreaBase: Stub-Header für BUILD_RTI=OFF - ddsfts: Include-Pfad und Dependency-Fixes - BUILD_RTI=OFF Compilation vollständig unterstützt Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M0JNZA586SACX1PRZ2DJAE5S
65 lines
1.7 KiB
C
65 lines
1.7 KiB
C
/*
|
|
* (c) Copyright, Real-Time Innovations, 2002-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 routingservice_infrastructure_impl_h
|
|
#define routingservice_infrastructure_impl_h
|
|
|
|
#include "routingservice/routingservice_dll.h"
|
|
#include "routingservice/routingservice_infrastructure.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*i
|
|
* \ingroup RTI_RoutingServiceAdapterPluginModule
|
|
* @brief Error
|
|
*/
|
|
struct RTI_RoutingServiceError {
|
|
int error_code;
|
|
int nativeCode;
|
|
char message[RTI_ROUTING_SERVICE_ERROR_MAX_LENGTH+1];
|
|
};
|
|
|
|
/*i
|
|
* \ingroup RTI_RoutingServiceAdapterPluginModule
|
|
* @brief An environment shared across routing service.
|
|
* Allows reporting errors
|
|
*/
|
|
struct RTI_RoutingServiceEnvironmentImpl {
|
|
/*i @brief Error */
|
|
struct RTI_RoutingServiceError error;
|
|
|
|
void *_jniGlobal;
|
|
|
|
/*i @brief Reserved (e.g. for DDS-specific stuff) */
|
|
void *_reserved;
|
|
/*i @brief Current service verbosity */
|
|
RTI_RoutingServiceVerbosity verbosity;
|
|
};
|
|
|
|
#define RTI_RoutingServiceEnvironment_clearError(env) \
|
|
(env).error.error_code = RTI_ROUTING_SERVICE_OK; \
|
|
(env).error.message[0] = 0; \
|
|
(env).error.nativeCode = 0;
|
|
|
|
extern ROUTERDllExport
|
|
DDS_Boolean RTI_RoutingServiceProperties_assert_w_override(
|
|
struct RTI_RoutingServiceProperties *self,
|
|
const char *name,
|
|
const char *value,
|
|
RTIBool override_value);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* routingservice_infrastructure_impl_h */
|