- 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
84 lines
2.2 KiB
C
84 lines
2.2 KiB
C
/*
|
|
* (c) Copyright 2024, Real-Time Innovations, 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 disc_log_h
|
|
#define disc_log_h
|
|
|
|
#ifndef disc_dll_h
|
|
#include "disc/disc_dll.h"
|
|
#endif
|
|
#ifndef log_common_h
|
|
#include "log/log_common.h"
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*e \file
|
|
@brief Logging facilities for the discovery module
|
|
*/
|
|
|
|
/*e \mainpage
|
|
Discovery library to manipulate data represented in RTPS format.
|
|
*/
|
|
|
|
/*
|
|
NOTE: When a new submodule is added to DISC, it must be given
|
|
a number and entered here. Because of the use of this id
|
|
for logging, there are 16 submodule id's: 0x0000, 0x1000,...
|
|
..., 0xF000.
|
|
It is suggested we put the modules here in an order that
|
|
respects their dependencies: modules with a lower number
|
|
cannot depend on modules with a higher number.
|
|
*/
|
|
/*e \ingroup DISCLogModule
|
|
Submodule ID for builtin submodule
|
|
*/
|
|
#define SUBMODULE_DISC_BUILTIN (0x0000)
|
|
/*e \ingroup DISCLogModule
|
|
Submodule ID for common submodule
|
|
*/
|
|
#define SUBMODULE_DISC_COMMON (0x1000)
|
|
/*e \ingroup DISCLogModule
|
|
Submodule ID for pluggable submodule
|
|
*/
|
|
#define SUBMODULE_DISC_PLUGGABLE (0x2000)
|
|
/*e \ingroup DISCLogModule
|
|
Submodule ID for SDP submodule
|
|
*/
|
|
#define SUBMODULE_DISC_SIMPLE_DISCOVERY_PLUGIN (0x3000)
|
|
|
|
/*e \ingroup DISCLogModule
|
|
Mask for turning on logging for only the builtin submodule
|
|
*/
|
|
#define DISC_SUBMODULE_MASK_BUILTIN (0x0001)
|
|
/*e \ingroup DISCLogModule
|
|
Mask for turning on logging for only the pluggable submodule
|
|
*/
|
|
#define DISC_SUBMODULE_MASK_PLUGGABLE (0x0002)
|
|
/*e \ingroup DISCLogModule
|
|
Mask for turning on logging for only the SDP submodule
|
|
*/
|
|
#define DISC_SUBMODULE_MASK_SIMPLE_DISCOVERY_PLUGIN (0x0004)
|
|
|
|
/*e \ingroup DISCLogModule
|
|
Mask for turning on logging for only the common submodule
|
|
*/
|
|
#define DISC_SUBMODULE_MASK_COMMON (0x0008)
|
|
|
|
/*e \ingroup DISCLogModule
|
|
Mask for turning on logging for all submodules
|
|
*/
|
|
#define DISC_SUBMODULE_MASK_ALL RTI_LOG_SUBMODULE_MASK_ALL
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* disc_log_h */
|