Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Proxies/TrainingAreaBase/tab_enumsPlugin.cxx
T
torstenandCopilot 7173785915 Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list

Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF

Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
  - Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
  - Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)

Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified

Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:26 +00:00

1723 lines
60 KiB
C++

/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from tab_enums.idl
using RTI Code Generator (rtiddsgen) version 4.7.0.
The rtiddsgen tool is part of the RTI Connext DDS distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the Code Generator User's Manual.
*/
#include <string.h>
#ifndef ndds_c_h
#include "ndds/ndds_c.h"
#endif
#ifndef osapi_type_h
#include "osapi/osapi_type.h"
#endif
#ifndef osapi_heap_h
#include "osapi/osapi_heap.h"
#endif
#ifndef osapi_utility_h
#include "osapi/osapi_utility.h"
#endif
#ifndef cdr_log_h
#include "cdr/cdr_log.h"
#endif
#ifndef cdr_type_h
#include "cdr/cdr_type.h"
#endif
#ifndef cdr_type_object_h
#include "cdr/cdr_typeObject.h"
#endif
#ifndef cdr_encapsulation_h
#include "cdr/cdr_encapsulation.h"
#endif
#ifndef cdr_stream_h
#include "cdr/cdr_stream.h"
#endif
#ifndef cdr_log_h
#include "cdr/cdr_log.h"
#endif
#ifndef pres_typePlugin_h
#include "pres/pres_typePlugin.h"
#endif
#include "dds_c/dds_c_typecode_impl.h"
#include "rti/topic/cdr/Serialization.hpp"
#define RTI_CDR_CURRENT_SUBMODULE RTI_CDR_SUBMODULE_MASK_STREAM
#include "tab_enumsPlugin.hpp"
#include <TrainingAreaBase/tab_export.h> // #define NDDSUSERDllExport for linux
namespace TrainingAreaBase {
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
AgdusHwModePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void AgdusHwModePluginSupport_print_data(
const AgdusHwMode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "AgdusHwMode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
FaultPositionHandlingPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void FaultPositionHandlingPluginSupport_print_data(
const FaultPositionHandling *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "FaultPositionHandling", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
FirModePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void FirModePluginSupport_print_data(
const FirMode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "FirMode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L19_OiPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L19_OiPluginSupport_print_data(
const L19_Oi *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L19_Oi", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L22_FireHaltCategoryPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L22_FireHaltCategoryPluginSupport_print_data(
const L22_FireHaltCategory *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L22_FireHaltCategory", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L25_KindGuidingLinePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L25_KindGuidingLinePluginSupport_print_data(
const L25_KindGuidingLine *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L25_KindGuidingLine", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L26_EffectingSystemTypePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L26_EffectingSystemTypePluginSupport_print_data(
const L26_EffectingSystemType *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L26_EffectingSystemType", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L27_EffectorIdPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L27_EffectorIdPluginSupport_print_data(
const L27_EffectorId *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L27_EffectorId", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L28_StatusPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L28_StatusPluginSupport_print_data(
const L28_Status *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L28_Status", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L4_TargetGeometryPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L4_TargetGeometryPluginSupport_print_data(
const L4_TargetGeometry *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L4_TargetGeometry", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
L7_RequestPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void L7_RequestPluginSupport_print_data(
const L7_Request *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "L7_Request", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
MineHandgrenadeSensorModePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void MineHandgrenadeSensorModePluginSupport_print_data(
const MineHandgrenadeSensorMode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "MineHandgrenadeSensorMode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
MinelayerModePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void MinelayerModePluginSupport_print_data(
const MinelayerMode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "MinelayerMode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
OpticalCodePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void OpticalCodePluginSupport_print_data(
const OpticalCode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "OpticalCode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
PositionUpdateIntervallPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void PositionUpdateIntervallPluginSupport_print_data(
const PositionUpdateIntervall *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "PositionUpdateIntervall", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
PowerMethodPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void PowerMethodPluginSupport_print_data(
const PowerMethod *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "PowerMethod", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
ServiceControlEnumPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void ServiceControlEnumPluginSupport_print_data(
const ServiceControlEnum *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "ServiceControlEnum", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
SpecialSensorStandardModePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void SpecialSensorStandardModePluginSupport_print_data(
const SpecialSensorStandardMode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "SpecialSensorStandardMode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
SwitichingPositionIntervallPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void SwitichingPositionIntervallPluginSupport_print_data(
const SwitichingPositionIntervall *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "SwitichingPositionIntervall", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
ThrowingTypePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void ThrowingTypePluginSupport_print_data(
const ThrowingType *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "ThrowingType", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
BlockedAreaModePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void BlockedAreaModePluginSupport_print_data(
const BlockedAreaMode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "BlockedAreaMode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
ControlDataCodePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void ControlDataCodePluginSupport_print_data(
const ControlDataCode *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "ControlDataCode", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
QualificationPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void QualificationPluginSupport_print_data(
const Qualification *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "Qualification", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
SanitationResultPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void SanitationResultPluginSupport_print_data(
const SanitationResult *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "SanitationResult", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
SanitationEvaluationPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void SanitationEvaluationPluginSupport_print_data(
const SanitationEvaluation *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "SanitationEvaluation", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
ShootingResultPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void ShootingResultPluginSupport_print_data(
const ShootingResult *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "ShootingResult", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
TrajectoryErrorPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void TrajectoryErrorPluginSupport_print_data(
const TrajectoryError *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "TrajectoryError", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
TreatmentResultPlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void TreatmentResultPluginSupport_print_data(
const TreatmentResult *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "TreatmentResult", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------------
(De)Serialize functions:
* ------------------------------------------------------------------------- */
unsigned int
WeaponSystemTypePlugin_get_serialized_sample_max_size(
PRESTypePluginEndpointData endpoint_data,
RTIBool include_encapsulation,
RTIEncapsulationId encapsulation_id,
unsigned int current_alignment)
{
try {
unsigned int initial_alignment = current_alignment;
current_alignment += PRESTypePlugin_interpretedGetSerializedSampleMaxSize(
endpoint_data,
NULL,
include_encapsulation,
encapsulation_id, current_alignment);
return current_alignment - initial_alignment;
} catch (...) {
return 0;
}
}
/* --------------------------------------------------------------------------------------
Key Management functions:
* -------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
Support functions:
* ---------------------------------------------------------------------------- */
void WeaponSystemTypePluginSupport_print_data(
const WeaponSystemType *sample,
const char *description,
unsigned int indent_level)
{
if (description != NULL) {
RTICdrType_printIndent(indent_level);
RTILogParamString_printPlain("%s:\n", description);
}
if (sample == NULL) {
RTICdrType_printIndent(indent_level+1);
RTILogParamString_printPlain("NULL\n");
return;
}
RTICdrType_printEnum((RTICdrEnum *)sample, "WeaponSystemType", indent_level + 1);
}
/* ------------------------------------------------------------------------
* Plug-in Installation Methods
* ------------------------------------------------------------------------ */
} /* namespace TrainingAreaBase */
#undef RTI_CDR_CURRENT_SUBMODULE