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>
2122 lines
75 KiB
C++
2122 lines
75 KiB
C++
|
|
|
|
/*
|
|
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
|
|
|
|
This file was generated from pdm_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 "pdm_enumsPlugin.hpp"
|
|
|
|
#include <ProjectDataManagement/pdm_export.h> // #define NDDSUSERDllExport for linux
|
|
namespace ProjectDataManagement {
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(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
|
|
L43_AngleGroupPlugin_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 L43_AngleGroupPluginSupport_print_data(
|
|
const L43_AngleGroup *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, "L43_AngleGroup", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
L46_GpsFrequencyPlugin_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 L46_GpsFrequencyPluginSupport_print_data(
|
|
const L46_GpsFrequency *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, "L46_GpsFrequency", 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
|
|
L48_TrajectoryRocketPlugin_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 L48_TrajectoryRocketPluginSupport_print_data(
|
|
const L48_TrajectoryRocket *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, "L48_TrajectoryRocket", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
DataErrorReasonPlugin_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 DataErrorReasonPluginSupport_print_data(
|
|
const DataErrorReason *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, "DataErrorReason", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
EffectSourcePlugin_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 EffectSourcePluginSupport_print_data(
|
|
const EffectSource *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, "EffectSource", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
PdmEventTypePlugin_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 PdmEventTypePluginSupport_print_data(
|
|
const PdmEventType *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, "PdmEventType", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
GearClassPlugin_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 GearClassPluginSupport_print_data(
|
|
const GearClass *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, "GearClass", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
HandgrenadeSearchModePlugin_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 HandgrenadeSearchModePluginSupport_print_data(
|
|
const HandgrenadeSearchMode *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, "HandgrenadeSearchMode", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
ABCProtectionModePlugin_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 ABCProtectionModePluginSupport_print_data(
|
|
const ABCProtectionMode *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, "ABCProtectionMode", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
HgrMineSearchFilterTypePlugin_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 HgrMineSearchFilterTypePluginSupport_print_data(
|
|
const HgrMineSearchFilterType *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, "HgrMineSearchFilterType", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
LanguageConfigurationPlugin_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 LanguageConfigurationPluginSupport_print_data(
|
|
const LanguageConfiguration *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, "LanguageConfiguration", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
OperationModePlugin_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 OperationModePluginSupport_print_data(
|
|
const OperationMode *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, "OperationMode", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
ParticipantTypePlugin_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 ParticipantTypePluginSupport_print_data(
|
|
const ParticipantType *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, "ParticipantType", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
PersonalProtectionPlugin_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 PersonalProtectionPluginSupport_print_data(
|
|
const PersonalProtection *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, "PersonalProtection", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
ProtectionLevelPlugin_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 ProtectionLevelPluginSupport_print_data(
|
|
const ProtectionLevel *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, "ProtectionLevel", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
StateChangeOriginatorPlugin_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 StateChangeOriginatorPluginSupport_print_data(
|
|
const StateChangeOriginator *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, "StateChangeOriginator", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
VulnerabilityClassPlugin_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 VulnerabilityClassPluginSupport_print_data(
|
|
const VulnerabilityClass *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, "VulnerabilityClass", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
VulnerabilityStatePlugin_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 VulnerabilityStatePluginSupport_print_data(
|
|
const VulnerabilityState *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, "VulnerabilityState", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
WphModePlugin_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 WphModePluginSupport_print_data(
|
|
const WphMode *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, "WphMode", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
ChargeTypePropertyPlugin_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 ChargeTypePropertyPluginSupport_print_data(
|
|
const ChargeTypeProperty *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, "ChargeTypeProperty", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
IgniterFunctionBasePlugin_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 IgniterFunctionBasePluginSupport_print_data(
|
|
const IgniterFunctionBase *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, "IgniterFunctionBase", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
SeverityTypePlugin_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 SeverityTypePluginSupport_print_data(
|
|
const SeverityType *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, "SeverityType", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
VolatilityTypePlugin_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 VolatilityTypePluginSupport_print_data(
|
|
const VolatilityType *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, "VolatilityType", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
InternationalModePlugin_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 InternationalModePluginSupport_print_data(
|
|
const InternationalMode *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, "InternationalMode", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
AvmFrequencyPlanTransmissionReasonPlugin_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 AvmFrequencyPlanTransmissionReasonPluginSupport_print_data(
|
|
const AvmFrequencyPlanTransmissionReason *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, "AvmFrequencyPlanTransmissionReason", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
OcCodePlugin_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 OcCodePluginSupport_print_data(
|
|
const OcCode *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, "OcCode", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
UasStatePlugin_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 UasStatePluginSupport_print_data(
|
|
const UasState *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, "UasState", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
(De)Serialize functions:
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
unsigned int
|
|
UasActionTaskPlugin_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 UasActionTaskPluginSupport_print_data(
|
|
const UasActionTask *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, "UasActionTask", indent_level + 1);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------
|
|
* Plug-in Installation Methods
|
|
* ------------------------------------------------------------------------ */
|
|
} /* namespace ProjectDataManagement */
|
|
|
|
#undef RTI_CDR_CURRENT_SUBMODULE
|