Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Proxies/TrainingAreaBase/tab.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

44179 lines
2.0 MiB
Plaintext

/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from tab.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 <iosfwd>
#include <iomanip>
#include <atomic>
#include <cmath>
#include <limits>
#ifndef NDDS_STANDALONE_TYPE
#include "rti/topic/cdr/Serialization.hpp"
#include "tabPlugin.hpp"
#else
#include "rti/topic/cdr/SerializationHelpers.hpp"
#endif
#include "tab.hpp"
#include <rti/util/ostream_operators.hpp>
#include <TrainingAreaBase/tab_export.h> // #define NDDSUSERDllExport for linux
#include "tab_enums.hpp"
#include </workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/DDS/Core/core.hpp>
#include </workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus/build4/Lts/Services/ProjectDataManagement/pdm.hpp>
namespace TrainingAreaBase {
// ---- TrajectoryCalculationData:
TrajectoryCalculationData::TrajectoryCalculationData() :
chargeTypeId (0) ,
igniterTypeId (0) ,
igniterFunctionId (0) ,
loadTypeId (0) ,
loadNumber (0) ,
fuseTime (0) {
}
TrajectoryCalculationData::TrajectoryCalculationData (int32_t chargeTypeId_,int32_t igniterTypeId_,int32_t igniterFunctionId_,int32_t loadTypeId_,int32_t loadNumber_,int32_t fuseTime_) {
chargeTypeId = chargeTypeId_;
igniterTypeId = igniterTypeId_;
igniterFunctionId = igniterFunctionId_;
loadTypeId = loadTypeId_;
loadNumber = loadNumber_;
fuseTime = fuseTime_;
}
bool operator == (const TrajectoryCalculationData& a, const TrajectoryCalculationData& b) {
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.igniterTypeId != b.igniterTypeId) {
return false;
}
if (a.igniterFunctionId != b.igniterFunctionId) {
return false;
}
if (a.loadTypeId != b.loadTypeId) {
return false;
}
if (a.loadNumber != b.loadNumber) {
return false;
}
if (a.fuseTime != b.fuseTime) {
return false;
}
return true;
}
bool operator != (const TrajectoryCalculationData& a, const TrajectoryCalculationData& b) {
return !operator ==(a, b);
}
void swap(TrajectoryCalculationData& a, TrajectoryCalculationData& b) noexcept
{
using std::swap;
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.igniterTypeId, b.igniterTypeId);
swap(a.igniterFunctionId, b.igniterFunctionId);
swap(a.loadTypeId, b.loadTypeId);
swap(a.loadNumber, b.loadNumber);
swap(a.fuseTime, b.fuseTime);
}
std::ostream& operator << (std::ostream& o,const TrajectoryCalculationData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "igniterTypeId: " << sample.igniterTypeId<<", ";
o << "igniterFunctionId: " << sample.igniterFunctionId<<", ";
o << "loadTypeId: " << sample.loadTypeId<<", ";
o << "loadNumber: " << sample.loadNumber<<", ";
o << "fuseTime: " << sample.fuseTime;
o <<"]";
return o;
}
// ---- AdlerCalculateTrajectoryRequest:
AdlerCalculateTrajectoryRequest::AdlerCalculateTrajectoryRequest() :
weaponSystemType(TrainingAreaBase::WeaponSystemType::PZH) ,
angleGroup(ProjectDataManagement::L43_AngleGroup::Lower) ,
explosionHeight (0) ,
partyId (0) ,
aesItemId (0) ,
explosionIndex (0) ,
properties ("") {
}
AdlerCalculateTrajectoryRequest::AdlerCalculateTrajectoryRequest (const ::Core::GeoPosition& positionLaunch_,const ::Core::GeoPosition& positionTarget_,const ::TrainingAreaBase::WeaponSystemType& weaponSystemType_,const ::TrainingAreaBase::TrajectoryCalculationData& trajectory_,const ::ProjectDataManagement::L43_AngleGroup& angleGroup_,int32_t explosionHeight_,int32_t partyId_,int32_t aesItemId_,int32_t explosionIndex_,const ::omg::types::string_view& properties_) {
positionLaunch = positionLaunch_;
positionTarget = positionTarget_;
weaponSystemType = weaponSystemType_;
trajectory = trajectory_;
angleGroup = angleGroup_;
explosionHeight = explosionHeight_;
partyId = partyId_;
aesItemId = aesItemId_;
explosionIndex = explosionIndex_;
properties = properties_;
}
bool operator == (const AdlerCalculateTrajectoryRequest& a, const AdlerCalculateTrajectoryRequest& b) {
if (a.positionLaunch != b.positionLaunch) {
return false;
}
if (a.positionTarget != b.positionTarget) {
return false;
}
if (a.weaponSystemType != b.weaponSystemType) {
return false;
}
if (a.trajectory != b.trajectory) {
return false;
}
if (a.angleGroup != b.angleGroup) {
return false;
}
if (a.explosionHeight != b.explosionHeight) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
if (a.aesItemId != b.aesItemId) {
return false;
}
if (a.explosionIndex != b.explosionIndex) {
return false;
}
if (a.properties != b.properties) {
return false;
}
return true;
}
bool operator != (const AdlerCalculateTrajectoryRequest& a, const AdlerCalculateTrajectoryRequest& b) {
return !operator ==(a, b);
}
void swap(AdlerCalculateTrajectoryRequest& a, AdlerCalculateTrajectoryRequest& b) noexcept
{
using std::swap;
swap(a.positionLaunch, b.positionLaunch);
swap(a.positionTarget, b.positionTarget);
swap(a.weaponSystemType, b.weaponSystemType);
swap(a.trajectory, b.trajectory);
swap(a.angleGroup, b.angleGroup);
swap(a.explosionHeight, b.explosionHeight);
swap(a.partyId, b.partyId);
swap(a.aesItemId, b.aesItemId);
swap(a.explosionIndex, b.explosionIndex);
swap(a.properties, b.properties);
}
std::ostream& operator << (std::ostream& o,const AdlerCalculateTrajectoryRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "positionLaunch: " << sample.positionLaunch<<", ";
o << "positionTarget: " << sample.positionTarget<<", ";
o << "weaponSystemType: " << sample.weaponSystemType<<", ";
o << "trajectory: " << sample.trajectory<<", ";
o << "angleGroup: " << sample.angleGroup<<", ";
o << "explosionHeight: " << sample.explosionHeight<<", ";
o << "partyId: " << sample.partyId<<", ";
o << "aesItemId: " << sample.aesItemId<<", ";
o << "explosionIndex: " << sample.explosionIndex<<", ";
o << "properties: " << sample.properties;
o <<"]";
return o;
}
// ---- AdlerFqAfRequest:
AdlerFqAfRequest::AdlerFqAfRequest() :
sampleTime (0ll) ,
aesItemId (0) {
}
AdlerFqAfRequest::AdlerFqAfRequest (int64_t sampleTime_,int32_t aesItemId_) {
sampleTime = sampleTime_;
aesItemId = aesItemId_;
}
bool operator == (const AdlerFqAfRequest& a, const AdlerFqAfRequest& b) {
if (a.sampleTime != b.sampleTime) {
return false;
}
if (a.aesItemId != b.aesItemId) {
return false;
}
return true;
}
bool operator != (const AdlerFqAfRequest& a, const AdlerFqAfRequest& b) {
return !operator ==(a, b);
}
void swap(AdlerFqAfRequest& a, AdlerFqAfRequest& b) noexcept
{
using std::swap;
swap(a.sampleTime, b.sampleTime);
swap(a.aesItemId, b.aesItemId);
}
std::ostream& operator << (std::ostream& o,const AdlerFqAfRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "sampleTime: " << sample.sampleTime<<", ";
o << "aesItemId: " << sample.aesItemId;
o <<"]";
return o;
}
// ---- AdlerFqFbRequest:
AdlerFqFbRequest::AdlerFqFbRequest() :
sampleTime (0ll) ,
aesItemId (0) {
}
AdlerFqFbRequest::AdlerFqFbRequest (int64_t sampleTime_,int32_t aesItemId_) {
sampleTime = sampleTime_;
aesItemId = aesItemId_;
}
bool operator == (const AdlerFqFbRequest& a, const AdlerFqFbRequest& b) {
if (a.sampleTime != b.sampleTime) {
return false;
}
if (a.aesItemId != b.aesItemId) {
return false;
}
return true;
}
bool operator != (const AdlerFqFbRequest& a, const AdlerFqFbRequest& b) {
return !operator ==(a, b);
}
void swap(AdlerFqFbRequest& a, AdlerFqFbRequest& b) noexcept
{
using std::swap;
swap(a.sampleTime, b.sampleTime);
swap(a.aesItemId, b.aesItemId);
}
std::ostream& operator << (std::ostream& o,const AdlerFqFbRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "sampleTime: " << sample.sampleTime<<", ";
o << "aesItemId: " << sample.aesItemId;
o <<"]";
return o;
}
// ---- AdlerFqVmRequest:
AdlerFqVmRequest::AdlerFqVmRequest() :
sampleTime (0ll) ,
aesItemId (0) {
}
AdlerFqVmRequest::AdlerFqVmRequest (int64_t sampleTime_,int32_t aesItemId_) {
sampleTime = sampleTime_;
aesItemId = aesItemId_;
}
bool operator == (const AdlerFqVmRequest& a, const AdlerFqVmRequest& b) {
if (a.sampleTime != b.sampleTime) {
return false;
}
if (a.aesItemId != b.aesItemId) {
return false;
}
return true;
}
bool operator != (const AdlerFqVmRequest& a, const AdlerFqVmRequest& b) {
return !operator ==(a, b);
}
void swap(AdlerFqVmRequest& a, AdlerFqVmRequest& b) noexcept
{
using std::swap;
swap(a.sampleTime, b.sampleTime);
swap(a.aesItemId, b.aesItemId);
}
std::ostream& operator << (std::ostream& o,const AdlerFqVmRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "sampleTime: " << sample.sampleTime<<", ";
o << "aesItemId: " << sample.aesItemId;
o <<"]";
return o;
}
// ---- EquipmentBase:
EquipmentBase::EquipmentBase() :
equipmentNumber (0) ,
sampleTime (0ll) {
}
EquipmentBase::EquipmentBase (int32_t equipmentNumber_,int64_t sampleTime_) {
equipmentNumber = equipmentNumber_;
sampleTime = sampleTime_;
}
bool operator == (const EquipmentBase& a, const EquipmentBase& b) {
if (a.equipmentNumber != b.equipmentNumber) {
return false;
}
if (a.sampleTime != b.sampleTime) {
return false;
}
return true;
}
bool operator != (const EquipmentBase& a, const EquipmentBase& b) {
return !operator ==(a, b);
}
void swap(EquipmentBase& a, EquipmentBase& b) noexcept
{
using std::swap;
swap(a.equipmentNumber, b.equipmentNumber);
swap(a.sampleTime, b.sampleTime);
}
std::ostream& operator << (std::ostream& o,const EquipmentBase& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "equipmentNumber: " << sample.equipmentNumber<<", ";
o << "sampleTime: " << sample.sampleTime;
o <<"]";
return o;
}
// ---- BatteryAlarm:
BatteryAlarm::BatteryAlarm() :
batteryPort (0) ,
description ("") ,
acknowledge (0) ,
condition (0) ,
uniqueAlarmNumber (0) ,
alarmTime (0ll) {
}
BatteryAlarm::BatteryAlarm (int32_t equipmentNumber_,int64_t sampleTime_,int32_t batteryPort_,const ::omg::types::string_view& description_,bool acknowledge_,bool condition_,int32_t uniqueAlarmNumber_,int64_t alarmTime_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
batteryPort = batteryPort_;
description = description_;
acknowledge = acknowledge_;
condition = condition_;
uniqueAlarmNumber = uniqueAlarmNumber_;
alarmTime = alarmTime_;
}
bool operator == (const BatteryAlarm& a, const BatteryAlarm& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.batteryPort != b.batteryPort) {
return false;
}
if (a.description != b.description) {
return false;
}
if (a.acknowledge != b.acknowledge) {
return false;
}
if (a.condition != b.condition) {
return false;
}
if (a.uniqueAlarmNumber != b.uniqueAlarmNumber) {
return false;
}
if (a.alarmTime != b.alarmTime) {
return false;
}
return true;
}
bool operator != (const BatteryAlarm& a, const BatteryAlarm& b) {
return !operator ==(a, b);
}
void swap(BatteryAlarm& a, BatteryAlarm& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.batteryPort, b.batteryPort);
swap(a.description, b.description);
swap(a.acknowledge, b.acknowledge);
swap(a.condition, b.condition);
swap(a.uniqueAlarmNumber, b.uniqueAlarmNumber);
swap(a.alarmTime, b.alarmTime);
}
std::ostream& operator << (std::ostream& o,const BatteryAlarm& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "batteryPort: " << sample.batteryPort<<", ";
o << "description: " << sample.description<<", ";
o << "acknowledge: " << sample.acknowledge<<", ";
o << "condition: " << sample.condition<<", ";
o << "uniqueAlarmNumber: " << sample.uniqueAlarmNumber<<", ";
o << "alarmTime: " << sample.alarmTime;
o <<"]";
return o;
}
// ---- BatteryState:
BatteryState::BatteryState() :
batteryPort (0) ,
batteryPercent (0) ,
temperature (0) ,
frequency (0) ,
generic (0.0) ,
current (0) ,
switchOrValue (0) ,
voltage (0) ,
serialNumber ("") {
}
BatteryState::BatteryState (int32_t batteryPort_,int32_t batteryPercent_,int32_t temperature_,int32_t frequency_,double generic_,int32_t current_,bool switchOrValue_,int32_t voltage_,const ::omg::types::string_view& serialNumber_) {
batteryPort = batteryPort_;
batteryPercent = batteryPercent_;
temperature = temperature_;
frequency = frequency_;
generic = generic_;
current = current_;
switchOrValue = switchOrValue_;
voltage = voltage_;
serialNumber = serialNumber_;
}
bool operator == (const BatteryState& a, const BatteryState& b) {
if (a.batteryPort != b.batteryPort) {
return false;
}
if (a.batteryPercent != b.batteryPercent) {
return false;
}
if (a.temperature != b.temperature) {
return false;
}
if (a.frequency != b.frequency) {
return false;
}
if (std::fabs(a.generic - b.generic) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.generic - b.generic) < (std::numeric_limits< double>::min)())) {
return false;
}
if (a.current != b.current) {
return false;
}
if (a.switchOrValue != b.switchOrValue) {
return false;
}
if (a.voltage != b.voltage) {
return false;
}
if (a.serialNumber != b.serialNumber) {
return false;
}
return true;
}
bool operator != (const BatteryState& a, const BatteryState& b) {
return !operator ==(a, b);
}
void swap(BatteryState& a, BatteryState& b) noexcept
{
using std::swap;
swap(a.batteryPort, b.batteryPort);
swap(a.batteryPercent, b.batteryPercent);
swap(a.temperature, b.temperature);
swap(a.frequency, b.frequency);
swap(a.generic, b.generic);
swap(a.current, b.current);
swap(a.switchOrValue, b.switchOrValue);
swap(a.voltage, b.voltage);
swap(a.serialNumber, b.serialNumber);
}
std::ostream& operator << (std::ostream& o,const BatteryState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "batteryPort: " << sample.batteryPort<<", ";
o << "batteryPercent: " << sample.batteryPercent<<", ";
o << "temperature: " << sample.temperature<<", ";
o << "frequency: " << sample.frequency<<", ";
o << "generic: " << std::setprecision(15) << sample.generic<<", ";
o << "current: " << sample.current<<", ";
o << "switchOrValue: " << sample.switchOrValue<<", ";
o << "voltage: " << sample.voltage<<", ";
o << "serialNumber: " << sample.serialNumber;
o <<"]";
return o;
}
// ---- BatteryInfo:
BatteryInfo::BatteryInfo() {
}
BatteryInfo::BatteryInfo (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< ::TrainingAreaBase::BatteryState >& batteryStates_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
batteryStates = batteryStates_;
}
bool operator == (const BatteryInfo& a, const BatteryInfo& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.batteryStates != b.batteryStates) {
return false;
}
return true;
}
bool operator != (const BatteryInfo& a, const BatteryInfo& b) {
return !operator ==(a, b);
}
void swap(BatteryInfo& a, BatteryInfo& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.batteryStates, b.batteryStates);
}
std::ostream& operator << (std::ostream& o,const BatteryInfo& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "batteryStates: " << sample.batteryStates;
o <<"]";
return o;
}
// ---- ConnectionState:
ConnectionState::ConnectionState() :
name ("") ,
state (0) {
}
ConnectionState::ConnectionState (const ::omg::types::string_view& name_,bool state_) {
name = name_;
state = state_;
}
bool operator == (const ConnectionState& a, const ConnectionState& b) {
if (a.name != b.name) {
return false;
}
if (a.state != b.state) {
return false;
}
return true;
}
bool operator != (const ConnectionState& a, const ConnectionState& b) {
return !operator ==(a, b);
}
void swap(ConnectionState& a, ConnectionState& b) noexcept
{
using std::swap;
swap(a.name, b.name);
swap(a.state, b.state);
}
std::ostream& operator << (std::ostream& o,const ConnectionState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "name: " << sample.name<<", ";
o << "state: " << sample.state;
o <<"]";
return o;
}
// ---- Connections:
Connections::Connections() :
id (0) {
}
Connections::Connections (int32_t id_,const ::omg::types::sequence< ::TrainingAreaBase::ConnectionState >& connections_) {
id = id_;
connections = connections_;
}
bool operator == (const Connections& a, const Connections& b) {
if (a.id != b.id) {
return false;
}
if (a.connections != b.connections) {
return false;
}
return true;
}
bool operator != (const Connections& a, const Connections& b) {
return !operator ==(a, b);
}
void swap(Connections& a, Connections& b) noexcept
{
using std::swap;
swap(a.id, b.id);
swap(a.connections, b.connections);
}
std::ostream& operator << (std::ostream& o,const Connections& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "id: " << sample.id<<", ";
o << "connections: " << sample.connections;
o <<"]";
return o;
}
// ---- CtaDataError:
CtaDataError::CtaDataError() :
reason(ProjectDataManagement::DataErrorReason::DataErrorReason_Unknown) ,
originTelegramId (0) {
}
CtaDataError::CtaDataError (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::DataErrorReason& reason_,int32_t originTelegramId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
reason = reason_;
originTelegramId = originTelegramId_;
}
bool operator == (const CtaDataError& a, const CtaDataError& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.reason != b.reason) {
return false;
}
if (a.originTelegramId != b.originTelegramId) {
return false;
}
return true;
}
bool operator != (const CtaDataError& a, const CtaDataError& b) {
return !operator ==(a, b);
}
void swap(CtaDataError& a, CtaDataError& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.reason, b.reason);
swap(a.originTelegramId, b.originTelegramId);
}
std::ostream& operator << (std::ostream& o,const CtaDataError& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "reason: " << sample.reason<<", ";
o << "originTelegramId: " << sample.originTelegramId;
o <<"]";
return o;
}
// ---- IedBaseData:
IedBaseData::IedBaseData() :
iedId (0) ,
tacticalState (0) ,
statePyrotechnics (0) {
}
IedBaseData::IedBaseData (int32_t equipmentNumber_,int64_t sampleTime_,int32_t iedId_,int32_t tacticalState_,int32_t statePyrotechnics_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
iedId = iedId_;
tacticalState = tacticalState_;
statePyrotechnics = statePyrotechnics_;
}
bool operator == (const IedBaseData& a, const IedBaseData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.iedId != b.iedId) {
return false;
}
if (a.tacticalState != b.tacticalState) {
return false;
}
if (a.statePyrotechnics != b.statePyrotechnics) {
return false;
}
return true;
}
bool operator != (const IedBaseData& a, const IedBaseData& b) {
return !operator ==(a, b);
}
void swap(IedBaseData& a, IedBaseData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.iedId, b.iedId);
swap(a.tacticalState, b.tacticalState);
swap(a.statePyrotechnics, b.statePyrotechnics);
}
std::ostream& operator << (std::ostream& o,const IedBaseData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "iedId: " << sample.iedId<<", ";
o << "tacticalState: " << sample.tacticalState<<", ";
o << "statePyrotechnics: " << sample.statePyrotechnics;
o <<"]";
return o;
}
// ---- DefinitionIed:
DefinitionIed::DefinitionIed() :
type (0) ,
remoteTrigger (0) ,
switchTrigger (0) ,
lightBarrierTrigger (0) ,
tautWireTrigger (0) ,
explosiveForce (0) ,
partyId (0) ,
pairingState (0) {
}
DefinitionIed::DefinitionIed (int32_t equipmentNumber_,int64_t sampleTime_,int32_t iedId_,int32_t tacticalState_,int32_t statePyrotechnics_,const ::Core::GeoPosition2D& position_,int32_t type_,bool remoteTrigger_,bool switchTrigger_,bool lightBarrierTrigger_,bool tautWireTrigger_,int32_t explosiveForce_,int32_t partyId_,int32_t pairingState_,const ::omg::types::optional< int32_t >& pairedId_) :
::TrainingAreaBase::IedBaseData(equipmentNumber_, sampleTime_, iedId_, tacticalState_, statePyrotechnics_) {
position = position_;
type = type_;
remoteTrigger = remoteTrigger_;
switchTrigger = switchTrigger_;
lightBarrierTrigger = lightBarrierTrigger_;
tautWireTrigger = tautWireTrigger_;
explosiveForce = explosiveForce_;
partyId = partyId_;
pairingState = pairingState_;
pairedId = pairedId_;
}
bool operator == (const DefinitionIed& a, const DefinitionIed& b) {
if (!operator == ((::TrainingAreaBase::IedBaseData) a, (::TrainingAreaBase::IedBaseData) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.type != b.type) {
return false;
}
if (a.remoteTrigger != b.remoteTrigger) {
return false;
}
if (a.switchTrigger != b.switchTrigger) {
return false;
}
if (a.lightBarrierTrigger != b.lightBarrierTrigger) {
return false;
}
if (a.tautWireTrigger != b.tautWireTrigger) {
return false;
}
if (a.explosiveForce != b.explosiveForce) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
if (a.pairingState != b.pairingState) {
return false;
}
if (a.pairedId != b.pairedId) {
return false;
}
return true;
}
bool operator != (const DefinitionIed& a, const DefinitionIed& b) {
return !operator ==(a, b);
}
void swap(DefinitionIed& a, DefinitionIed& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::IedBaseData&) a, (::TrainingAreaBase::IedBaseData&) b);
swap(a.position, b.position);
swap(a.type, b.type);
swap(a.remoteTrigger, b.remoteTrigger);
swap(a.switchTrigger, b.switchTrigger);
swap(a.lightBarrierTrigger, b.lightBarrierTrigger);
swap(a.tautWireTrigger, b.tautWireTrigger);
swap(a.explosiveForce, b.explosiveForce);
swap(a.partyId, b.partyId);
swap(a.pairingState, b.pairingState);
swap(a.pairedId, b.pairedId);
}
std::ostream& operator << (std::ostream& o,const DefinitionIed& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::IedBaseData &>(sample);
o << "position: " << sample.position<<", ";
o << "type: " << sample.type<<", ";
o << "remoteTrigger: " << sample.remoteTrigger<<", ";
o << "switchTrigger: " << sample.switchTrigger<<", ";
o << "lightBarrierTrigger: " << sample.lightBarrierTrigger<<", ";
o << "tautWireTrigger: " << sample.tautWireTrigger<<", ";
o << "explosiveForce: " << sample.explosiveForce<<", ";
o << "partyId: " << sample.partyId<<", ";
o << "pairingState: " << sample.pairingState<<", ";
o << "pairedId: " << sample.pairedId;
o <<"]";
return o;
}
// ---- DemandBiteRequest:
DemandBiteRequest::DemandBiteRequest() :
requestId (0) ,
withSelfTest (0) {
}
DemandBiteRequest::DemandBiteRequest (int32_t requestId_,const ::omg::types::sequence< int32_t >& equipmentNumbers_,bool withSelfTest_) {
requestId = requestId_;
equipmentNumbers = equipmentNumbers_;
withSelfTest = withSelfTest_;
}
bool operator == (const DemandBiteRequest& a, const DemandBiteRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.equipmentNumbers != b.equipmentNumbers) {
return false;
}
if (a.withSelfTest != b.withSelfTest) {
return false;
}
return true;
}
bool operator != (const DemandBiteRequest& a, const DemandBiteRequest& b) {
return !operator ==(a, b);
}
void swap(DemandBiteRequest& a, DemandBiteRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.equipmentNumbers, b.equipmentNumbers);
swap(a.withSelfTest, b.withSelfTest);
}
std::ostream& operator << (std::ostream& o,const DemandBiteRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "equipmentNumbers: " << sample.equipmentNumbers<<", ";
o << "withSelfTest: " << sample.withSelfTest;
o <<"]";
return o;
}
// ---- FtEquipmentBase:
FtEquipmentBase::FtEquipmentBase() :
equipmentNumber (0) ,
participantId (0) {
}
FtEquipmentBase::FtEquipmentBase (int32_t equipmentNumber_,int32_t participantId_) {
equipmentNumber = equipmentNumber_;
participantId = participantId_;
}
bool operator == (const FtEquipmentBase& a, const FtEquipmentBase& b) {
if (a.equipmentNumber != b.equipmentNumber) {
return false;
}
if (a.participantId != b.participantId) {
return false;
}
return true;
}
bool operator != (const FtEquipmentBase& a, const FtEquipmentBase& b) {
return !operator ==(a, b);
}
void swap(FtEquipmentBase& a, FtEquipmentBase& b) noexcept
{
using std::swap;
swap(a.equipmentNumber, b.equipmentNumber);
swap(a.participantId, b.participantId);
}
std::ostream& operator << (std::ostream& o,const FtEquipmentBase& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "equipmentNumber: " << sample.equipmentNumber<<", ";
o << "participantId: " << sample.participantId;
o <<"]";
return o;
}
// ---- DemandConfigurationReportRequest:
DemandConfigurationReportRequest::DemandConfigurationReportRequest() :
dummy (0) {
}
DemandConfigurationReportRequest::DemandConfigurationReportRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t dummy_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
dummy = dummy_;
}
bool operator == (const DemandConfigurationReportRequest& a, const DemandConfigurationReportRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.dummy != b.dummy) {
return false;
}
return true;
}
bool operator != (const DemandConfigurationReportRequest& a, const DemandConfigurationReportRequest& b) {
return !operator ==(a, b);
}
void swap(DemandConfigurationReportRequest& a, DemandConfigurationReportRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.dummy, b.dummy);
}
std::ostream& operator << (std::ostream& o,const DemandConfigurationReportRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "dummy: " << sample.dummy;
o <<"]";
return o;
}
// ---- DemandInitRequest:
DemandInitRequest::DemandInitRequest() :
requestId (0) ,
workstationId (0) ,
restockCharges (0) ,
resetManipulation (0) ,
resetVulnerabilityState (0) ,
restockSanitationMaterial (0) {
}
DemandInitRequest::DemandInitRequest (int32_t requestId_,int32_t workstationId_,const ::omg::types::sequence< int32_t >& equipmentNumbers_,bool restockCharges_,bool resetManipulation_,bool resetVulnerabilityState_,bool restockSanitationMaterial_) {
requestId = requestId_;
workstationId = workstationId_;
equipmentNumbers = equipmentNumbers_;
restockCharges = restockCharges_;
resetManipulation = resetManipulation_;
resetVulnerabilityState = resetVulnerabilityState_;
restockSanitationMaterial = restockSanitationMaterial_;
}
bool operator == (const DemandInitRequest& a, const DemandInitRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.workstationId != b.workstationId) {
return false;
}
if (a.equipmentNumbers != b.equipmentNumbers) {
return false;
}
if (a.restockCharges != b.restockCharges) {
return false;
}
if (a.resetManipulation != b.resetManipulation) {
return false;
}
if (a.resetVulnerabilityState != b.resetVulnerabilityState) {
return false;
}
if (a.restockSanitationMaterial != b.restockSanitationMaterial) {
return false;
}
return true;
}
bool operator != (const DemandInitRequest& a, const DemandInitRequest& b) {
return !operator ==(a, b);
}
void swap(DemandInitRequest& a, DemandInitRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.workstationId, b.workstationId);
swap(a.equipmentNumbers, b.equipmentNumbers);
swap(a.restockCharges, b.restockCharges);
swap(a.resetManipulation, b.resetManipulation);
swap(a.resetVulnerabilityState, b.resetVulnerabilityState);
swap(a.restockSanitationMaterial, b.restockSanitationMaterial);
}
std::ostream& operator << (std::ostream& o,const DemandInitRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "workstationId: " << sample.workstationId<<", ";
o << "equipmentNumbers: " << sample.equipmentNumbers<<", ";
o << "restockCharges: " << sample.restockCharges<<", ";
o << "resetManipulation: " << sample.resetManipulation<<", ";
o << "resetVulnerabilityState: " << sample.resetVulnerabilityState<<", ";
o << "restockSanitationMaterial: " << sample.restockSanitationMaterial;
o <<"]";
return o;
}
// ---- DemandParticipantConfigurationRequest:
DemandParticipantConfigurationRequest::DemandParticipantConfigurationRequest() :
dummy (0) {
}
DemandParticipantConfigurationRequest::DemandParticipantConfigurationRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t dummy_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
dummy = dummy_;
}
bool operator == (const DemandParticipantConfigurationRequest& a, const DemandParticipantConfigurationRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.dummy != b.dummy) {
return false;
}
return true;
}
bool operator != (const DemandParticipantConfigurationRequest& a, const DemandParticipantConfigurationRequest& b) {
return !operator ==(a, b);
}
void swap(DemandParticipantConfigurationRequest& a, DemandParticipantConfigurationRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.dummy, b.dummy);
}
std::ostream& operator << (std::ostream& o,const DemandParticipantConfigurationRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "dummy: " << sample.dummy;
o <<"]";
return o;
}
// ---- DemandParticipantModeRequest:
DemandParticipantModeRequest::DemandParticipantModeRequest() :
dummy (0) {
}
DemandParticipantModeRequest::DemandParticipantModeRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t dummy_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
dummy = dummy_;
}
bool operator == (const DemandParticipantModeRequest& a, const DemandParticipantModeRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.dummy != b.dummy) {
return false;
}
return true;
}
bool operator != (const DemandParticipantModeRequest& a, const DemandParticipantModeRequest& b) {
return !operator ==(a, b);
}
void swap(DemandParticipantModeRequest& a, DemandParticipantModeRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.dummy, b.dummy);
}
std::ostream& operator << (std::ostream& o,const DemandParticipantModeRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "dummy: " << sample.dummy;
o <<"]";
return o;
}
// ---- DemandVulnerabilityStateChangeRequest:
DemandVulnerabilityStateChangeRequest::DemandVulnerabilityStateChangeRequest() :
requestId (0) ,
workstationId (0) ,
vulnerabilityState(ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange) ,
vulnerabilityKind (0) ,
vitality (0) {
}
DemandVulnerabilityStateChangeRequest::DemandVulnerabilityStateChangeRequest (int32_t requestId_,int32_t workstationId_,const ::omg::types::sequence< int32_t >& equipmentNumbers_,const ::ProjectDataManagement::VulnerabilityState& vulnerabilityState_,int32_t vulnerabilityKind_,int32_t vitality_) {
requestId = requestId_;
workstationId = workstationId_;
equipmentNumbers = equipmentNumbers_;
vulnerabilityState = vulnerabilityState_;
vulnerabilityKind = vulnerabilityKind_;
vitality = vitality_;
}
bool operator == (const DemandVulnerabilityStateChangeRequest& a, const DemandVulnerabilityStateChangeRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.workstationId != b.workstationId) {
return false;
}
if (a.equipmentNumbers != b.equipmentNumbers) {
return false;
}
if (a.vulnerabilityState != b.vulnerabilityState) {
return false;
}
if (a.vulnerabilityKind != b.vulnerabilityKind) {
return false;
}
if (a.vitality != b.vitality) {
return false;
}
return true;
}
bool operator != (const DemandVulnerabilityStateChangeRequest& a, const DemandVulnerabilityStateChangeRequest& b) {
return !operator ==(a, b);
}
void swap(DemandVulnerabilityStateChangeRequest& a, DemandVulnerabilityStateChangeRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.workstationId, b.workstationId);
swap(a.equipmentNumbers, b.equipmentNumbers);
swap(a.vulnerabilityState, b.vulnerabilityState);
swap(a.vulnerabilityKind, b.vulnerabilityKind);
swap(a.vitality, b.vitality);
}
std::ostream& operator << (std::ostream& o,const DemandVulnerabilityStateChangeRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "workstationId: " << sample.workstationId<<", ";
o << "equipmentNumbers: " << sample.equipmentNumbers<<", ";
o << "vulnerabilityState: " << sample.vulnerabilityState<<", ";
o << "vulnerabilityKind: " << sample.vulnerabilityKind<<", ";
o << "vitality: " << sample.vitality;
o <<"]";
return o;
}
// ---- Dispersion:
Dispersion::Dispersion() :
longitudinal (0.0) ,
lateral (0.0) ,
longitudinalH (0.0) ,
lateralH (0.0) {
}
Dispersion::Dispersion (double longitudinal_,double lateral_,double longitudinalH_,double lateralH_) {
longitudinal = longitudinal_;
lateral = lateral_;
longitudinalH = longitudinalH_;
lateralH = lateralH_;
}
bool operator == (const Dispersion& a, const Dispersion& b) {
if (std::fabs(a.longitudinal - b.longitudinal) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.longitudinal - b.longitudinal) < (std::numeric_limits< double>::min)())) {
return false;
}
if (std::fabs(a.lateral - b.lateral) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.lateral - b.lateral) < (std::numeric_limits< double>::min)())) {
return false;
}
if (std::fabs(a.longitudinalH - b.longitudinalH) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.longitudinalH - b.longitudinalH) < (std::numeric_limits< double>::min)())) {
return false;
}
if (std::fabs(a.lateralH - b.lateralH) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.lateralH - b.lateralH) < (std::numeric_limits< double>::min)())) {
return false;
}
return true;
}
bool operator != (const Dispersion& a, const Dispersion& b) {
return !operator ==(a, b);
}
void swap(Dispersion& a, Dispersion& b) noexcept
{
using std::swap;
swap(a.longitudinal, b.longitudinal);
swap(a.lateral, b.lateral);
swap(a.longitudinalH, b.longitudinalH);
swap(a.lateralH, b.lateralH);
}
std::ostream& operator << (std::ostream& o,const Dispersion& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "longitudinal: " << std::setprecision(15) << sample.longitudinal<<", ";
o << "lateral: " << std::setprecision(15) << sample.lateral<<", ";
o << "longitudinalH: " << std::setprecision(15) << sample.longitudinalH<<", ";
o << "lateralH: " << std::setprecision(15) << sample.lateralH;
o <<"]";
return o;
}
// ---- DusSingleMineState:
DusSingleMineState::DusSingleMineState() :
mineId (0) ,
effectStart (0ll) ,
chargeTypeId (0) ,
state (0) {
}
DusSingleMineState::DusSingleMineState (int32_t equipmentNumber_,int64_t sampleTime_,int32_t mineId_,int64_t effectStart_,const ::Core::GeoPosition2D& position_,int32_t chargeTypeId_,bool state_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
mineId = mineId_;
effectStart = effectStart_;
position = position_;
chargeTypeId = chargeTypeId_;
state = state_;
}
bool operator == (const DusSingleMineState& a, const DusSingleMineState& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.mineId != b.mineId) {
return false;
}
if (a.effectStart != b.effectStart) {
return false;
}
if (a.position != b.position) {
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.state != b.state) {
return false;
}
return true;
}
bool operator != (const DusSingleMineState& a, const DusSingleMineState& b) {
return !operator ==(a, b);
}
void swap(DusSingleMineState& a, DusSingleMineState& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.mineId, b.mineId);
swap(a.effectStart, b.effectStart);
swap(a.position, b.position);
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.state, b.state);
}
std::ostream& operator << (std::ostream& o,const DusSingleMineState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "mineId: " << sample.mineId<<", ";
o << "effectStart: " << sample.effectStart<<", ";
o << "position: " << sample.position<<", ";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "state: " << sample.state;
o <<"]";
return o;
}
// ---- EX_CeaseFiring:
EX_CeaseFiring::EX_CeaseFiring() :
identifier ("") ,
effectorId(ProjectDataManagement::L27_EffectorId::A) ,
category(ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_A) ,
reference ("") ,
targetPosNumber (0) ,
radius (0) ,
unloadRound (0) {
}
EX_CeaseFiring::EX_CeaseFiring (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::string_view& identifier_,const ::ProjectDataManagement::L27_EffectorId& effectorId_,const ::ProjectDataManagement::L22_FireHaltCategory& category_,const ::omg::types::string_view& reference_,int32_t targetPosNumber_,const ::Core::GeoPosition2D& coordinate_,int32_t radius_,int32_t unloadRound_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
identifier = identifier_;
effectorId = effectorId_;
category = category_;
reference = reference_;
targetPosNumber = targetPosNumber_;
coordinate = coordinate_;
radius = radius_;
unloadRound = unloadRound_;
}
bool operator == (const EX_CeaseFiring& a, const EX_CeaseFiring& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.identifier != b.identifier) {
return false;
}
if (a.effectorId != b.effectorId) {
return false;
}
if (a.category != b.category) {
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.targetPosNumber != b.targetPosNumber) {
return false;
}
if (a.coordinate != b.coordinate) {
return false;
}
if (a.radius != b.radius) {
return false;
}
if (a.unloadRound != b.unloadRound) {
return false;
}
return true;
}
bool operator != (const EX_CeaseFiring& a, const EX_CeaseFiring& b) {
return !operator ==(a, b);
}
void swap(EX_CeaseFiring& a, EX_CeaseFiring& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.identifier, b.identifier);
swap(a.effectorId, b.effectorId);
swap(a.category, b.category);
swap(a.reference, b.reference);
swap(a.targetPosNumber, b.targetPosNumber);
swap(a.coordinate, b.coordinate);
swap(a.radius, b.radius);
swap(a.unloadRound, b.unloadRound);
}
std::ostream& operator << (std::ostream& o,const EX_CeaseFiring& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "identifier: " << sample.identifier<<", ";
o << "effectorId: " << sample.effectorId<<", ";
o << "category: " << sample.category<<", ";
o << "reference: " << sample.reference<<", ";
o << "targetPosNumber: " << sample.targetPosNumber<<", ";
o << "coordinate: " << sample.coordinate<<", ";
o << "radius: " << sample.radius<<", ";
o << "unloadRound: " << sample.unloadRound;
o <<"]";
return o;
}
// ---- EX_DoNotFire:
EX_DoNotFire::EX_DoNotFire() :
reference ("") ,
identifier ("") ,
effectorId(ProjectDataManagement::L27_EffectorId::A) {
}
EX_DoNotFire::EX_DoNotFire (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::string_view& reference_,const ::omg::types::string_view& identifier_,const ::ProjectDataManagement::L27_EffectorId& effectorId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
reference = reference_;
identifier = identifier_;
effectorId = effectorId_;
}
bool operator == (const EX_DoNotFire& a, const EX_DoNotFire& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.identifier != b.identifier) {
return false;
}
if (a.effectorId != b.effectorId) {
return false;
}
return true;
}
bool operator != (const EX_DoNotFire& a, const EX_DoNotFire& b) {
return !operator ==(a, b);
}
void swap(EX_DoNotFire& a, EX_DoNotFire& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.reference, b.reference);
swap(a.identifier, b.identifier);
swap(a.effectorId, b.effectorId);
}
std::ostream& operator << (std::ostream& o,const EX_DoNotFire& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "reference: " << sample.reference<<", ";
o << "identifier: " << sample.identifier<<", ";
o << "effectorId: " << sample.effectorId;
o <<"]";
return o;
}
// ---- L29_ReconnaissanceUnit:
L29_ReconnaissanceUnit::L29_ReconnaissanceUnit() :
identifier ("") ,
r (0) ,
oi(ProjectDataManagement::L19_Oi::L19_Oi_Empty) {
}
L29_ReconnaissanceUnit::L29_ReconnaissanceUnit (const ::omg::types::string_view& identifier_,int32_t r_,const ::ProjectDataManagement::L19_Oi& oi_) {
identifier = identifier_;
r = r_;
oi = oi_;
}
bool operator == (const L29_ReconnaissanceUnit& a, const L29_ReconnaissanceUnit& b) {
if (a.identifier != b.identifier) {
return false;
}
if (a.r != b.r) {
return false;
}
if (a.oi != b.oi) {
return false;
}
return true;
}
bool operator != (const L29_ReconnaissanceUnit& a, const L29_ReconnaissanceUnit& b) {
return !operator ==(a, b);
}
void swap(L29_ReconnaissanceUnit& a, L29_ReconnaissanceUnit& b) noexcept
{
using std::swap;
swap(a.identifier, b.identifier);
swap(a.r, b.r);
swap(a.oi, b.oi);
}
std::ostream& operator << (std::ostream& o,const L29_ReconnaissanceUnit& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "identifier: " << sample.identifier<<", ";
o << "r: " << sample.r<<", ";
o << "oi: " << sample.oi;
o <<"]";
return o;
}
// ---- L30_reconnaissancePositionArea:
L30_reconnaissancePositionArea::L30_reconnaissancePositionArea() :
direction (0) ,
left (0) ,
right (0) {
}
L30_reconnaissancePositionArea::L30_reconnaissancePositionArea (int32_t direction_,int32_t left_,int32_t right_) {
direction = direction_;
left = left_;
right = right_;
}
bool operator == (const L30_reconnaissancePositionArea& a, const L30_reconnaissancePositionArea& b) {
if (a.direction != b.direction) {
return false;
}
if (a.left != b.left) {
return false;
}
if (a.right != b.right) {
return false;
}
return true;
}
bool operator != (const L30_reconnaissancePositionArea& a, const L30_reconnaissancePositionArea& b) {
return !operator ==(a, b);
}
void swap(L30_reconnaissancePositionArea& a, L30_reconnaissancePositionArea& b) noexcept
{
using std::swap;
swap(a.direction, b.direction);
swap(a.left, b.left);
swap(a.right, b.right);
}
std::ostream& operator << (std::ostream& o,const L30_reconnaissancePositionArea& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "direction: " << sample.direction<<", ";
o << "left: " << sample.left<<", ";
o << "right: " << sample.right;
o <<"]";
return o;
}
// ---- EX_ExplorationResult:
EX_ExplorationResult::EX_ExplorationResult() {
}
EX_ExplorationResult::EX_ExplorationResult (const ::TrainingAreaBase::L29_ReconnaissanceUnit& reconnaissanceUnit_,const ::Core::GeoPosition& loadingArea_,const ::omg::types::sequence< ::TrainingAreaBase::L30_reconnaissancePositionArea >& positions_) {
reconnaissanceUnit = reconnaissanceUnit_;
loadingArea = loadingArea_;
positions = positions_;
}
bool operator == (const EX_ExplorationResult& a, const EX_ExplorationResult& b) {
if (a.reconnaissanceUnit != b.reconnaissanceUnit) {
return false;
}
if (a.loadingArea != b.loadingArea) {
return false;
}
if (a.positions != b.positions) {
return false;
}
return true;
}
bool operator != (const EX_ExplorationResult& a, const EX_ExplorationResult& b) {
return !operator ==(a, b);
}
void swap(EX_ExplorationResult& a, EX_ExplorationResult& b) noexcept
{
using std::swap;
swap(a.reconnaissanceUnit, b.reconnaissanceUnit);
swap(a.loadingArea, b.loadingArea);
swap(a.positions, b.positions);
}
std::ostream& operator << (std::ostream& o,const EX_ExplorationResult& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "reconnaissanceUnit: " << sample.reconnaissanceUnit<<", ";
o << "loadingArea: " << sample.loadingArea<<", ";
o << "positions: " << sample.positions;
o <<"]";
return o;
}
// ---- EX_Fire:
EX_Fire::EX_Fire() :
reference ("") ,
identifier ("") ,
effectorId(ProjectDataManagement::L27_EffectorId::A) {
}
EX_Fire::EX_Fire (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::string_view& reference_,const ::omg::types::string_view& identifier_,const ::ProjectDataManagement::L27_EffectorId& effectorId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
reference = reference_;
identifier = identifier_;
effectorId = effectorId_;
}
bool operator == (const EX_Fire& a, const EX_Fire& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.identifier != b.identifier) {
return false;
}
if (a.effectorId != b.effectorId) {
return false;
}
return true;
}
bool operator != (const EX_Fire& a, const EX_Fire& b) {
return !operator ==(a, b);
}
void swap(EX_Fire& a, EX_Fire& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.reference, b.reference);
swap(a.identifier, b.identifier);
swap(a.effectorId, b.effectorId);
}
std::ostream& operator << (std::ostream& o,const EX_Fire& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "reference: " << sample.reference<<", ";
o << "identifier: " << sample.identifier<<", ";
o << "effectorId: " << sample.effectorId;
o <<"]";
return o;
}
// ---- L31_MailAddress:
L31_MailAddress::L31_MailAddress() :
mailAddres ("") {
}
L31_MailAddress::L31_MailAddress (const ::omg::types::string_view& mailAddres_) {
mailAddres = mailAddres_;
}
bool operator == (const L31_MailAddress& a, const L31_MailAddress& b) {
if (a.mailAddres != b.mailAddres) {
return false;
}
return true;
}
bool operator != (const L31_MailAddress& a, const L31_MailAddress& b) {
return !operator ==(a, b);
}
void swap(L31_MailAddress& a, L31_MailAddress& b) noexcept
{
using std::swap;
swap(a.mailAddres, b.mailAddres);
}
std::ostream& operator << (std::ostream& o,const L31_MailAddress& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "mailAddres: " << sample.mailAddres;
o <<"]";
return o;
}
// ---- EX_GuidingLines:
EX_GuidingLines::EX_GuidingLines() :
kindGuidingLine(ProjectDataManagement::L25_KindGuidingLine::FFA) ,
name ("") ,
reportNumber (0) ,
startTime (0) ,
endTime (0) ,
radius (0) ,
height (0) {
}
EX_GuidingLines::EX_GuidingLines (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::L25_KindGuidingLine& kindGuidingLine_,const ::omg::types::string_view& name_,int32_t reportNumber_,const ::TrainingAreaBase::L31_MailAddress& partOfTroup_,int32_t startTime_,int32_t endTime_,const ::omg::types::sequence< ::Core::GeoPosition2D >& coordinates_,const ::Core::GeoPosition2D& center_,int32_t radius_,int32_t height_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
kindGuidingLine = kindGuidingLine_;
name = name_;
reportNumber = reportNumber_;
partOfTroup = partOfTroup_;
startTime = startTime_;
endTime = endTime_;
coordinates = coordinates_;
center = center_;
radius = radius_;
height = height_;
}
bool operator == (const EX_GuidingLines& a, const EX_GuidingLines& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.kindGuidingLine != b.kindGuidingLine) {
return false;
}
if (a.name != b.name) {
return false;
}
if (a.reportNumber != b.reportNumber) {
return false;
}
if (a.partOfTroup != b.partOfTroup) {
return false;
}
if (a.startTime != b.startTime) {
return false;
}
if (a.endTime != b.endTime) {
return false;
}
if (a.coordinates != b.coordinates) {
return false;
}
if (a.center != b.center) {
return false;
}
if (a.radius != b.radius) {
return false;
}
if (a.height != b.height) {
return false;
}
return true;
}
bool operator != (const EX_GuidingLines& a, const EX_GuidingLines& b) {
return !operator ==(a, b);
}
void swap(EX_GuidingLines& a, EX_GuidingLines& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.kindGuidingLine, b.kindGuidingLine);
swap(a.name, b.name);
swap(a.reportNumber, b.reportNumber);
swap(a.partOfTroup, b.partOfTroup);
swap(a.startTime, b.startTime);
swap(a.endTime, b.endTime);
swap(a.coordinates, b.coordinates);
swap(a.center, b.center);
swap(a.radius, b.radius);
swap(a.height, b.height);
}
std::ostream& operator << (std::ostream& o,const EX_GuidingLines& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "kindGuidingLine: " << sample.kindGuidingLine<<", ";
o << "name: " << sample.name<<", ";
o << "reportNumber: " << sample.reportNumber<<", ";
o << "partOfTroup: " << sample.partOfTroup<<", ";
o << "startTime: " << sample.startTime<<", ";
o << "endTime: " << sample.endTime<<", ";
o << "coordinates: " << sample.coordinates<<", ";
o << "center: " << sample.center<<", ";
o << "radius: " << sample.radius<<", ";
o << "height: " << sample.height;
o <<"]";
return o;
}
// ---- EX_GuidingLinesAndBoundaries:
EX_GuidingLinesAndBoundaries::EX_GuidingLinesAndBoundaries() :
kind(ProjectDataManagement::L25_KindGuidingLine::FFA) ,
name ("") ,
reportNumber (0) ,
startTinme (0) ,
endTinme (0) ,
radius (0) ,
maxHeight (0) {
}
EX_GuidingLinesAndBoundaries::EX_GuidingLinesAndBoundaries (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::L25_KindGuidingLine& kind_,const ::omg::types::string_view& name_,int32_t reportNumber_,const ::TrainingAreaBase::L31_MailAddress& partOfTroup_,int32_t startTinme_,int32_t endTinme_,const ::omg::types::sequence< ::Core::GeoPosition2D >& coordinates_,const ::Core::GeoPosition2D& center_,int32_t radius_,int32_t maxHeight_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
kind = kind_;
name = name_;
reportNumber = reportNumber_;
partOfTroup = partOfTroup_;
startTinme = startTinme_;
endTinme = endTinme_;
coordinates = coordinates_;
center = center_;
radius = radius_;
maxHeight = maxHeight_;
}
bool operator == (const EX_GuidingLinesAndBoundaries& a, const EX_GuidingLinesAndBoundaries& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.kind != b.kind) {
return false;
}
if (a.name != b.name) {
return false;
}
if (a.reportNumber != b.reportNumber) {
return false;
}
if (a.partOfTroup != b.partOfTroup) {
return false;
}
if (a.startTinme != b.startTinme) {
return false;
}
if (a.endTinme != b.endTinme) {
return false;
}
if (a.coordinates != b.coordinates) {
return false;
}
if (a.center != b.center) {
return false;
}
if (a.radius != b.radius) {
return false;
}
if (a.maxHeight != b.maxHeight) {
return false;
}
return true;
}
bool operator != (const EX_GuidingLinesAndBoundaries& a, const EX_GuidingLinesAndBoundaries& b) {
return !operator ==(a, b);
}
void swap(EX_GuidingLinesAndBoundaries& a, EX_GuidingLinesAndBoundaries& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.kind, b.kind);
swap(a.name, b.name);
swap(a.reportNumber, b.reportNumber);
swap(a.partOfTroup, b.partOfTroup);
swap(a.startTinme, b.startTinme);
swap(a.endTinme, b.endTinme);
swap(a.coordinates, b.coordinates);
swap(a.center, b.center);
swap(a.radius, b.radius);
swap(a.maxHeight, b.maxHeight);
}
std::ostream& operator << (std::ostream& o,const EX_GuidingLinesAndBoundaries& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "kind: " << sample.kind<<", ";
o << "name: " << sample.name<<", ";
o << "reportNumber: " << sample.reportNumber<<", ";
o << "partOfTroup: " << sample.partOfTroup<<", ";
o << "startTinme: " << sample.startTinme<<", ";
o << "endTinme: " << sample.endTinme<<", ";
o << "coordinates: " << sample.coordinates<<", ";
o << "center: " << sample.center<<", ";
o << "radius: " << sample.radius<<", ";
o << "maxHeight: " << sample.maxHeight;
o <<"]";
return o;
}
// ---- EX_MessageRevocation:
EX_MessageRevocation::EX_MessageRevocation() :
messageIdentifier (0) {
}
EX_MessageRevocation::EX_MessageRevocation (int32_t equipmentNumber_,int64_t sampleTime_,const ::TrainingAreaBase::L31_MailAddress& messageSource_,int32_t messageIdentifier_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
messageSource = messageSource_;
messageIdentifier = messageIdentifier_;
}
bool operator == (const EX_MessageRevocation& a, const EX_MessageRevocation& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.messageSource != b.messageSource) {
return false;
}
if (a.messageIdentifier != b.messageIdentifier) {
return false;
}
return true;
}
bool operator != (const EX_MessageRevocation& a, const EX_MessageRevocation& b) {
return !operator ==(a, b);
}
void swap(EX_MessageRevocation& a, EX_MessageRevocation& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.messageSource, b.messageSource);
swap(a.messageIdentifier, b.messageIdentifier);
}
std::ostream& operator << (std::ostream& o,const EX_MessageRevocation& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "messageSource: " << sample.messageSource<<", ";
o << "messageIdentifier: " << sample.messageIdentifier;
o <<"]";
return o;
}
// ---- L3_Unit:
L3_Unit::L3_Unit() :
identifier ("") ,
r (0) ,
oi(ProjectDataManagement::L19_Oi::L19_Oi_Empty) {
}
L3_Unit::L3_Unit (const ::omg::types::string_view& identifier_,int32_t r_,const ::ProjectDataManagement::L19_Oi& oi_) {
identifier = identifier_;
r = r_;
oi = oi_;
}
bool operator == (const L3_Unit& a, const L3_Unit& b) {
if (a.identifier != b.identifier) {
return false;
}
if (a.r != b.r) {
return false;
}
if (a.oi != b.oi) {
return false;
}
return true;
}
bool operator != (const L3_Unit& a, const L3_Unit& b) {
return !operator ==(a, b);
}
void swap(L3_Unit& a, L3_Unit& b) noexcept
{
using std::swap;
swap(a.identifier, b.identifier);
swap(a.r, b.r);
swap(a.oi, b.oi);
}
std::ostream& operator << (std::ostream& o,const L3_Unit& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "identifier: " << sample.identifier<<", ";
o << "r: " << sample.r<<", ";
o << "oi: " << sample.oi;
o <<"]";
return o;
}
// ---- L8_Charges:
L8_Charges::L8_Charges() :
chargeTypeId (0) ,
loadTypeId (0) ,
igniterTypeId (0) ,
count (0) {
}
L8_Charges::L8_Charges (int32_t chargeTypeId_,int32_t loadTypeId_,int32_t igniterTypeId_,int32_t count_) {
chargeTypeId = chargeTypeId_;
loadTypeId = loadTypeId_;
igniterTypeId = igniterTypeId_;
count = count_;
}
bool operator == (const L8_Charges& a, const L8_Charges& b) {
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.loadTypeId != b.loadTypeId) {
return false;
}
if (a.igniterTypeId != b.igniterTypeId) {
return false;
}
if (a.count != b.count) {
return false;
}
return true;
}
bool operator != (const L8_Charges& a, const L8_Charges& b) {
return !operator ==(a, b);
}
void swap(L8_Charges& a, L8_Charges& b) noexcept
{
using std::swap;
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.loadTypeId, b.loadTypeId);
swap(a.igniterTypeId, b.igniterTypeId);
swap(a.count, b.count);
}
std::ostream& operator << (std::ostream& o,const L8_Charges& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "loadTypeId: " << sample.loadTypeId<<", ";
o << "igniterTypeId: " << sample.igniterTypeId<<", ";
o << "count: " << sample.count;
o <<"]";
return o;
}
// ---- L18_EffectableArea:
L18_EffectableArea::L18_EffectableArea() :
direction (0) ,
left (0) ,
right (0) {
}
L18_EffectableArea::L18_EffectableArea (int32_t direction_,int32_t left_,int32_t right_) {
direction = direction_;
left = left_;
right = right_;
}
bool operator == (const L18_EffectableArea& a, const L18_EffectableArea& b) {
if (a.direction != b.direction) {
return false;
}
if (a.left != b.left) {
return false;
}
if (a.right != b.right) {
return false;
}
return true;
}
bool operator != (const L18_EffectableArea& a, const L18_EffectableArea& b) {
return !operator ==(a, b);
}
void swap(L18_EffectableArea& a, L18_EffectableArea& b) noexcept
{
using std::swap;
swap(a.direction, b.direction);
swap(a.left, b.left);
swap(a.right, b.right);
}
std::ostream& operator << (std::ostream& o,const L18_EffectableArea& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "direction: " << sample.direction<<", ";
o << "left: " << sample.left<<", ";
o << "right: " << sample.right;
o <<"]";
return o;
}
// ---- EX_ReportEffectorUnit:
EX_ReportEffectorUnit::EX_ReportEffectorUnit() :
effectingSystemType(ProjectDataManagement::L26_EffectingSystemType::Pzh2000) ,
status(ProjectDataManagement::L28_Status::NichtEinsatzbereit) {
}
EX_ReportEffectorUnit::EX_ReportEffectorUnit (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::L26_EffectingSystemType& effectingSystemType_,const ::ProjectDataManagement::L28_Status& status_,const ::TrainingAreaBase::L3_Unit& unit_,const ::Core::GeoPosition& center_,const ::omg::types::sequence< ::Core::GeoPosition >& coordinates_,const ::TrainingAreaBase::L8_Charges& charges_,const ::TrainingAreaBase::L18_EffectableArea& effectableArea_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
effectingSystemType = effectingSystemType_;
status = status_;
unit = unit_;
center = center_;
coordinates = coordinates_;
charges = charges_;
effectableArea = effectableArea_;
}
bool operator == (const EX_ReportEffectorUnit& a, const EX_ReportEffectorUnit& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.effectingSystemType != b.effectingSystemType) {
return false;
}
if (a.status != b.status) {
return false;
}
if (a.unit != b.unit) {
return false;
}
if (a.center != b.center) {
return false;
}
if (a.coordinates != b.coordinates) {
return false;
}
if (a.charges != b.charges) {
return false;
}
if (a.effectableArea != b.effectableArea) {
return false;
}
return true;
}
bool operator != (const EX_ReportEffectorUnit& a, const EX_ReportEffectorUnit& b) {
return !operator ==(a, b);
}
void swap(EX_ReportEffectorUnit& a, EX_ReportEffectorUnit& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.effectingSystemType, b.effectingSystemType);
swap(a.status, b.status);
swap(a.unit, b.unit);
swap(a.center, b.center);
swap(a.coordinates, b.coordinates);
swap(a.charges, b.charges);
swap(a.effectableArea, b.effectableArea);
}
std::ostream& operator << (std::ostream& o,const EX_ReportEffectorUnit& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "effectingSystemType: " << sample.effectingSystemType<<", ";
o << "status: " << sample.status<<", ";
o << "unit: " << sample.unit<<", ";
o << "center: " << sample.center<<", ";
o << "coordinates: " << sample.coordinates<<", ";
o << "charges: " << sample.charges<<", ";
o << "effectableArea: " << sample.effectableArea;
o <<"]";
return o;
}
// ---- EX_StartFiring:
EX_StartFiring::EX_StartFiring() :
reference ("") ,
identifier ("") ,
effectorId(ProjectDataManagement::L27_EffectorId::A) {
}
EX_StartFiring::EX_StartFiring (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::string_view& reference_,const ::omg::types::string_view& identifier_,const ::ProjectDataManagement::L27_EffectorId& effectorId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
reference = reference_;
identifier = identifier_;
effectorId = effectorId_;
}
bool operator == (const EX_StartFiring& a, const EX_StartFiring& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.identifier != b.identifier) {
return false;
}
if (a.effectorId != b.effectorId) {
return false;
}
return true;
}
bool operator != (const EX_StartFiring& a, const EX_StartFiring& b) {
return !operator ==(a, b);
}
void swap(EX_StartFiring& a, EX_StartFiring& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.reference, b.reference);
swap(a.identifier, b.identifier);
swap(a.effectorId, b.effectorId);
}
std::ostream& operator << (std::ostream& o,const EX_StartFiring& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "reference: " << sample.reference<<", ";
o << "identifier: " << sample.identifier<<", ";
o << "effectorId: " << sample.effectorId;
o <<"]";
return o;
}
// ---- EmergencyCall:
EmergencyCall::EmergencyCall() {
}
EmergencyCall::EmergencyCall (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
}
bool operator == (const EmergencyCall& a, const EmergencyCall& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
return true;
}
bool operator != (const EmergencyCall& a, const EmergencyCall& b) {
return !operator ==(a, b);
}
void swap(EmergencyCall& a, EmergencyCall& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
}
std::ostream& operator << (std::ostream& o,const EmergencyCall& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position;
o <<"]";
return o;
}
// ---- Equipment:
Equipment::Equipment() :
equipmentFunctionId (0) ,
subDeviceId (0) ,
unqiueId (0) {
}
Equipment::Equipment (int32_t equipmentFunctionId_,int32_t subDeviceId_,int32_t unqiueId_) {
equipmentFunctionId = equipmentFunctionId_;
subDeviceId = subDeviceId_;
unqiueId = unqiueId_;
}
bool operator == (const Equipment& a, const Equipment& b) {
if (a.equipmentFunctionId != b.equipmentFunctionId) {
return false;
}
if (a.subDeviceId != b.subDeviceId) {
return false;
}
if (a.unqiueId != b.unqiueId) {
return false;
}
return true;
}
bool operator != (const Equipment& a, const Equipment& b) {
return !operator ==(a, b);
}
void swap(Equipment& a, Equipment& b) noexcept
{
using std::swap;
swap(a.equipmentFunctionId, b.equipmentFunctionId);
swap(a.subDeviceId, b.subDeviceId);
swap(a.unqiueId, b.unqiueId);
}
std::ostream& operator << (std::ostream& o,const Equipment& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "equipmentFunctionId: " << sample.equipmentFunctionId<<", ";
o << "subDeviceId: " << sample.subDeviceId<<", ";
o << "unqiueId: " << sample.unqiueId;
o <<"]";
return o;
}
// ---- EquipmentBiteError:
EquipmentBiteError::EquipmentBiteError() :
errorNumber (0) ,
canDeviceNumber (0) ,
subdeviceNumber (0) ,
uniqueId (0) {
}
EquipmentBiteError::EquipmentBiteError (int32_t errorNumber_,int32_t canDeviceNumber_,int32_t subdeviceNumber_,int32_t uniqueId_) {
errorNumber = errorNumber_;
canDeviceNumber = canDeviceNumber_;
subdeviceNumber = subdeviceNumber_;
uniqueId = uniqueId_;
}
bool operator == (const EquipmentBiteError& a, const EquipmentBiteError& b) {
if (a.errorNumber != b.errorNumber) {
return false;
}
if (a.canDeviceNumber != b.canDeviceNumber) {
return false;
}
if (a.subdeviceNumber != b.subdeviceNumber) {
return false;
}
if (a.uniqueId != b.uniqueId) {
return false;
}
return true;
}
bool operator != (const EquipmentBiteError& a, const EquipmentBiteError& b) {
return !operator ==(a, b);
}
void swap(EquipmentBiteError& a, EquipmentBiteError& b) noexcept
{
using std::swap;
swap(a.errorNumber, b.errorNumber);
swap(a.canDeviceNumber, b.canDeviceNumber);
swap(a.subdeviceNumber, b.subdeviceNumber);
swap(a.uniqueId, b.uniqueId);
}
std::ostream& operator << (std::ostream& o,const EquipmentBiteError& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "errorNumber: " << sample.errorNumber<<", ";
o << "canDeviceNumber: " << sample.canDeviceNumber<<", ";
o << "subdeviceNumber: " << sample.subdeviceNumber<<", ";
o << "uniqueId: " << sample.uniqueId;
o <<"]";
return o;
}
// ---- EquipmentBite:
EquipmentBite::EquipmentBite() :
registerType (0) ,
biteState (0) ,
configState (0) ,
batteryState (0) ,
configError (0) {
}
EquipmentBite::EquipmentBite (int32_t equipmentNumber_,int64_t sampleTime_,int32_t registerType_,int32_t biteState_,int32_t configState_,int32_t batteryState_,bool configError_,const ::omg::types::sequence< ::TrainingAreaBase::EquipmentBiteError >& biteErrors_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
registerType = registerType_;
biteState = biteState_;
configState = configState_;
batteryState = batteryState_;
configError = configError_;
biteErrors = biteErrors_;
}
bool operator == (const EquipmentBite& a, const EquipmentBite& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.registerType != b.registerType) {
return false;
}
if (a.biteState != b.biteState) {
return false;
}
if (a.configState != b.configState) {
return false;
}
if (a.batteryState != b.batteryState) {
return false;
}
if (a.configError != b.configError) {
return false;
}
if (a.biteErrors != b.biteErrors) {
return false;
}
return true;
}
bool operator != (const EquipmentBite& a, const EquipmentBite& b) {
return !operator ==(a, b);
}
void swap(EquipmentBite& a, EquipmentBite& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.registerType, b.registerType);
swap(a.biteState, b.biteState);
swap(a.configState, b.configState);
swap(a.batteryState, b.batteryState);
swap(a.configError, b.configError);
swap(a.biteErrors, b.biteErrors);
}
std::ostream& operator << (std::ostream& o,const EquipmentBite& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "registerType: " << sample.registerType<<", ";
o << "biteState: " << sample.biteState<<", ";
o << "configState: " << sample.configState<<", ";
o << "batteryState: " << sample.batteryState<<", ";
o << "configError: " << sample.configError<<", ";
o << "biteErrors: " << sample.biteErrors;
o <<"]";
return o;
}
// ---- EquipmentConfigurationReport:
EquipmentConfigurationReport::EquipmentConfigurationReport() :
canStartupTime (0) ,
equipmentType (0) ,
loginWaittimeBitweenTrys (0) ,
loginMaxRetryCount (0) ,
loginMasteringFlag (0) ,
canDeviceConfiguration (0) ,
displayDeviceVoiceOutput (0) ,
displayDeviceLanguage(ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange) ,
pyrotechnics (0) ,
mineHandgrenadeSensorMode(TrainingAreaBase::MineHandgrenadeSensorMode::PersonellMode) ,
mineHandgrenadeSensorEnergySaving (0) ,
firMode(TrainingAreaBase::FirMode::NoFir) ,
minelayerMode(TrainingAreaBase::MinelayerMode::NoMinelayerDevice) ,
specialSensorStandard(TrainingAreaBase::SpecialSensorStandardMode::NoSpecialSensorStandard) ,
agdusHwMode(TrainingAreaBase::AgdusHwMode::withoutHelmetWithoutVest) ,
positionUpdateIntervall(TrainingAreaBase::PositionUpdateIntervall::Vehicle) ,
displayTextMainGroup (0) ,
displayTextSubGroup (0) ,
vulnerabilityModelAgdus (0) ,
vulnerabilityModelMineIed (0) ,
vulnerabilityModelAreaFire (0) ,
vulnerabilityModelOperatingResource (0) ,
vulnerabilityModelACWeaponry (0) {
}
EquipmentConfigurationReport::EquipmentConfigurationReport (int32_t equipmentNumber_,int64_t sampleTime_,int32_t canStartupTime_,int32_t equipmentType_,int32_t loginWaittimeBitweenTrys_,int32_t loginMaxRetryCount_,bool loginMasteringFlag_,int32_t canDeviceConfiguration_,bool displayDeviceVoiceOutput_,const ::ProjectDataManagement::LanguageConfiguration& displayDeviceLanguage_,bool pyrotechnics_,const ::TrainingAreaBase::MineHandgrenadeSensorMode& mineHandgrenadeSensorMode_,bool mineHandgrenadeSensorEnergySaving_,const ::TrainingAreaBase::FirMode& firMode_,const ::TrainingAreaBase::MinelayerMode& minelayerMode_,const ::TrainingAreaBase::SpecialSensorStandardMode& specialSensorStandard_,const ::TrainingAreaBase::AgdusHwMode& agdusHwMode_,const ::TrainingAreaBase::PositionUpdateIntervall& positionUpdateIntervall_,int32_t displayTextMainGroup_,int32_t displayTextSubGroup_,int32_t vulnerabilityModelAgdus_,int32_t vulnerabilityModelMineIed_,int32_t vulnerabilityModelAreaFire_,int32_t vulnerabilityModelOperatingResource_,int32_t vulnerabilityModelACWeaponry_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
canStartupTime = canStartupTime_;
equipmentType = equipmentType_;
loginWaittimeBitweenTrys = loginWaittimeBitweenTrys_;
loginMaxRetryCount = loginMaxRetryCount_;
loginMasteringFlag = loginMasteringFlag_;
canDeviceConfiguration = canDeviceConfiguration_;
displayDeviceVoiceOutput = displayDeviceVoiceOutput_;
displayDeviceLanguage = displayDeviceLanguage_;
pyrotechnics = pyrotechnics_;
mineHandgrenadeSensorMode = mineHandgrenadeSensorMode_;
mineHandgrenadeSensorEnergySaving = mineHandgrenadeSensorEnergySaving_;
firMode = firMode_;
minelayerMode = minelayerMode_;
specialSensorStandard = specialSensorStandard_;
agdusHwMode = agdusHwMode_;
positionUpdateIntervall = positionUpdateIntervall_;
displayTextMainGroup = displayTextMainGroup_;
displayTextSubGroup = displayTextSubGroup_;
vulnerabilityModelAgdus = vulnerabilityModelAgdus_;
vulnerabilityModelMineIed = vulnerabilityModelMineIed_;
vulnerabilityModelAreaFire = vulnerabilityModelAreaFire_;
vulnerabilityModelOperatingResource = vulnerabilityModelOperatingResource_;
vulnerabilityModelACWeaponry = vulnerabilityModelACWeaponry_;
}
bool operator == (const EquipmentConfigurationReport& a, const EquipmentConfigurationReport& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.canStartupTime != b.canStartupTime) {
return false;
}
if (a.equipmentType != b.equipmentType) {
return false;
}
if (a.loginWaittimeBitweenTrys != b.loginWaittimeBitweenTrys) {
return false;
}
if (a.loginMaxRetryCount != b.loginMaxRetryCount) {
return false;
}
if (a.loginMasteringFlag != b.loginMasteringFlag) {
return false;
}
if (a.canDeviceConfiguration != b.canDeviceConfiguration) {
return false;
}
if (a.displayDeviceVoiceOutput != b.displayDeviceVoiceOutput) {
return false;
}
if (a.displayDeviceLanguage != b.displayDeviceLanguage) {
return false;
}
if (a.pyrotechnics != b.pyrotechnics) {
return false;
}
if (a.mineHandgrenadeSensorMode != b.mineHandgrenadeSensorMode) {
return false;
}
if (a.mineHandgrenadeSensorEnergySaving != b.mineHandgrenadeSensorEnergySaving) {
return false;
}
if (a.firMode != b.firMode) {
return false;
}
if (a.minelayerMode != b.minelayerMode) {
return false;
}
if (a.specialSensorStandard != b.specialSensorStandard) {
return false;
}
if (a.agdusHwMode != b.agdusHwMode) {
return false;
}
if (a.positionUpdateIntervall != b.positionUpdateIntervall) {
return false;
}
if (a.displayTextMainGroup != b.displayTextMainGroup) {
return false;
}
if (a.displayTextSubGroup != b.displayTextSubGroup) {
return false;
}
if (a.vulnerabilityModelAgdus != b.vulnerabilityModelAgdus) {
return false;
}
if (a.vulnerabilityModelMineIed != b.vulnerabilityModelMineIed) {
return false;
}
if (a.vulnerabilityModelAreaFire != b.vulnerabilityModelAreaFire) {
return false;
}
if (a.vulnerabilityModelOperatingResource != b.vulnerabilityModelOperatingResource) {
return false;
}
if (a.vulnerabilityModelACWeaponry != b.vulnerabilityModelACWeaponry) {
return false;
}
return true;
}
bool operator != (const EquipmentConfigurationReport& a, const EquipmentConfigurationReport& b) {
return !operator ==(a, b);
}
void swap(EquipmentConfigurationReport& a, EquipmentConfigurationReport& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.canStartupTime, b.canStartupTime);
swap(a.equipmentType, b.equipmentType);
swap(a.loginWaittimeBitweenTrys, b.loginWaittimeBitweenTrys);
swap(a.loginMaxRetryCount, b.loginMaxRetryCount);
swap(a.loginMasteringFlag, b.loginMasteringFlag);
swap(a.canDeviceConfiguration, b.canDeviceConfiguration);
swap(a.displayDeviceVoiceOutput, b.displayDeviceVoiceOutput);
swap(a.displayDeviceLanguage, b.displayDeviceLanguage);
swap(a.pyrotechnics, b.pyrotechnics);
swap(a.mineHandgrenadeSensorMode, b.mineHandgrenadeSensorMode);
swap(a.mineHandgrenadeSensorEnergySaving, b.mineHandgrenadeSensorEnergySaving);
swap(a.firMode, b.firMode);
swap(a.minelayerMode, b.minelayerMode);
swap(a.specialSensorStandard, b.specialSensorStandard);
swap(a.agdusHwMode, b.agdusHwMode);
swap(a.positionUpdateIntervall, b.positionUpdateIntervall);
swap(a.displayTextMainGroup, b.displayTextMainGroup);
swap(a.displayTextSubGroup, b.displayTextSubGroup);
swap(a.vulnerabilityModelAgdus, b.vulnerabilityModelAgdus);
swap(a.vulnerabilityModelMineIed, b.vulnerabilityModelMineIed);
swap(a.vulnerabilityModelAreaFire, b.vulnerabilityModelAreaFire);
swap(a.vulnerabilityModelOperatingResource, b.vulnerabilityModelOperatingResource);
swap(a.vulnerabilityModelACWeaponry, b.vulnerabilityModelACWeaponry);
}
std::ostream& operator << (std::ostream& o,const EquipmentConfigurationReport& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "canStartupTime: " << sample.canStartupTime<<", ";
o << "equipmentType: " << sample.equipmentType<<", ";
o << "loginWaittimeBitweenTrys: " << sample.loginWaittimeBitweenTrys<<", ";
o << "loginMaxRetryCount: " << sample.loginMaxRetryCount<<", ";
o << "loginMasteringFlag: " << sample.loginMasteringFlag<<", ";
o << "canDeviceConfiguration: " << sample.canDeviceConfiguration<<", ";
o << "displayDeviceVoiceOutput: " << sample.displayDeviceVoiceOutput<<", ";
o << "displayDeviceLanguage: " << sample.displayDeviceLanguage<<", ";
o << "pyrotechnics: " << sample.pyrotechnics<<", ";
o << "mineHandgrenadeSensorMode: " << sample.mineHandgrenadeSensorMode<<", ";
o << "mineHandgrenadeSensorEnergySaving: " << sample.mineHandgrenadeSensorEnergySaving<<", ";
o << "firMode: " << sample.firMode<<", ";
o << "minelayerMode: " << sample.minelayerMode<<", ";
o << "specialSensorStandard: " << sample.specialSensorStandard<<", ";
o << "agdusHwMode: " << sample.agdusHwMode<<", ";
o << "positionUpdateIntervall: " << sample.positionUpdateIntervall<<", ";
o << "displayTextMainGroup: " << sample.displayTextMainGroup<<", ";
o << "displayTextSubGroup: " << sample.displayTextSubGroup<<", ";
o << "vulnerabilityModelAgdus: " << sample.vulnerabilityModelAgdus<<", ";
o << "vulnerabilityModelMineIed: " << sample.vulnerabilityModelMineIed<<", ";
o << "vulnerabilityModelAreaFire: " << sample.vulnerabilityModelAreaFire<<", ";
o << "vulnerabilityModelOperatingResource: " << sample.vulnerabilityModelOperatingResource<<", ";
o << "vulnerabilityModelACWeaponry: " << sample.vulnerabilityModelACWeaponry;
o <<"]";
return o;
}
// ---- EquipmentEvent:
EquipmentEvent::EquipmentEvent() :
code (0) {
}
EquipmentEvent::EquipmentEvent (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,const ::TrainingAreaBase::Equipment& source_,int32_t code_,const ::omg::types::optional< ::omg::types::sequence< uint8_t > >& data_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
source = source_;
code = code_;
data = data_;
}
bool operator == (const EquipmentEvent& a, const EquipmentEvent& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.source != b.source) {
return false;
}
if (a.code != b.code) {
return false;
}
if (a.data != b.data) {
return false;
}
return true;
}
bool operator != (const EquipmentEvent& a, const EquipmentEvent& b) {
return !operator ==(a, b);
}
void swap(EquipmentEvent& a, EquipmentEvent& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.source, b.source);
swap(a.code, b.code);
swap(a.data, b.data);
}
std::ostream& operator << (std::ostream& o,const EquipmentEvent& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "source: " << sample.source<<", ";
o << "code: " << sample.code<<", ";
o << "data: " << sample.data;
o <<"]";
return o;
}
// ---- Gear:
Gear::Gear() :
gearId (0) ,
gearTypeId (0) ,
chargeCounting (0) {
}
Gear::Gear (int32_t gearId_,int32_t gearTypeId_,bool chargeCounting_) {
gearId = gearId_;
gearTypeId = gearTypeId_;
chargeCounting = chargeCounting_;
}
bool operator == (const Gear& a, const Gear& b) {
if (a.gearId != b.gearId) {
return false;
}
if (a.gearTypeId != b.gearTypeId) {
return false;
}
if (a.chargeCounting != b.chargeCounting) {
return false;
}
return true;
}
bool operator != (const Gear& a, const Gear& b) {
return !operator ==(a, b);
}
void swap(Gear& a, Gear& b) noexcept
{
using std::swap;
swap(a.gearId, b.gearId);
swap(a.gearTypeId, b.gearTypeId);
swap(a.chargeCounting, b.chargeCounting);
}
std::ostream& operator << (std::ostream& o,const Gear& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "gearId: " << sample.gearId<<", ";
o << "gearTypeId: " << sample.gearTypeId<<", ";
o << "chargeCounting: " << sample.chargeCounting;
o <<"]";
return o;
}
// ---- EquipmentGearAssignment:
EquipmentGearAssignment::EquipmentGearAssignment() {
}
EquipmentGearAssignment::EquipmentGearAssignment (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< ::TrainingAreaBase::Gear >& gears_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
gears = gears_;
}
bool operator == (const EquipmentGearAssignment& a, const EquipmentGearAssignment& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.gears != b.gears) {
return false;
}
return true;
}
bool operator != (const EquipmentGearAssignment& a, const EquipmentGearAssignment& b) {
return !operator ==(a, b);
}
void swap(EquipmentGearAssignment& a, EquipmentGearAssignment& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.gears, b.gears);
}
std::ostream& operator << (std::ostream& o,const EquipmentGearAssignment& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "gears: " << sample.gears;
o <<"]";
return o;
}
// ---- GearCharge:
GearCharge::GearCharge() :
gearId (0) ,
gearTypeId (0) ,
chargeTypeId (0) ,
remain (0) {
}
GearCharge::GearCharge (int32_t gearId_,int32_t gearTypeId_,int32_t chargeTypeId_,int32_t remain_) {
gearId = gearId_;
gearTypeId = gearTypeId_;
chargeTypeId = chargeTypeId_;
remain = remain_;
}
bool operator == (const GearCharge& a, const GearCharge& b) {
if (a.gearId != b.gearId) {
return false;
}
if (a.gearTypeId != b.gearTypeId) {
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.remain != b.remain) {
return false;
}
return true;
}
bool operator != (const GearCharge& a, const GearCharge& b) {
return !operator ==(a, b);
}
void swap(GearCharge& a, GearCharge& b) noexcept
{
using std::swap;
swap(a.gearId, b.gearId);
swap(a.gearTypeId, b.gearTypeId);
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.remain, b.remain);
}
std::ostream& operator << (std::ostream& o,const GearCharge& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "gearId: " << sample.gearId<<", ";
o << "gearTypeId: " << sample.gearTypeId<<", ";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "remain: " << sample.remain;
o <<"]";
return o;
}
// ---- EquipmentGearChargeState:
EquipmentGearChargeState::EquipmentGearChargeState() {
}
EquipmentGearChargeState::EquipmentGearChargeState (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< ::TrainingAreaBase::GearCharge >& charge_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
charge = charge_;
}
bool operator == (const EquipmentGearChargeState& a, const EquipmentGearChargeState& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.charge != b.charge) {
return false;
}
return true;
}
bool operator != (const EquipmentGearChargeState& a, const EquipmentGearChargeState& b) {
return !operator ==(a, b);
}
void swap(EquipmentGearChargeState& a, EquipmentGearChargeState& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.charge, b.charge);
}
std::ostream& operator << (std::ostream& o,const EquipmentGearChargeState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "charge: " << sample.charge;
o <<"]";
return o;
}
// ---- EquipmentGearEvent:
EquipmentGearEvent::EquipmentGearEvent() :
chargeAmount (0) {
}
EquipmentGearEvent::EquipmentGearEvent (int32_t equipmentNumber_,int64_t sampleTime_,int32_t chargeAmount_,const ::TrainingAreaBase::GearCharge& charge_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
chargeAmount = chargeAmount_;
charge = charge_;
}
bool operator == (const EquipmentGearEvent& a, const EquipmentGearEvent& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.chargeAmount != b.chargeAmount) {
return false;
}
if (a.charge != b.charge) {
return false;
}
return true;
}
bool operator != (const EquipmentGearEvent& a, const EquipmentGearEvent& b) {
return !operator ==(a, b);
}
void swap(EquipmentGearEvent& a, EquipmentGearEvent& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.chargeAmount, b.chargeAmount);
swap(a.charge, b.charge);
}
std::ostream& operator << (std::ostream& o,const EquipmentGearEvent& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "chargeAmount: " << sample.chargeAmount<<", ";
o << "charge: " << sample.charge;
o <<"]";
return o;
}
// ---- EquipmentMessage:
EquipmentMessage::EquipmentMessage() :
subject ("") ,
text ("") ,
sender (0) ,
receiver (0) {
}
EquipmentMessage::EquipmentMessage (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::string_view& subject_,const ::omg::types::string_view& text_,int32_t sender_,int32_t receiver_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
subject = subject_;
text = text_;
sender = sender_;
receiver = receiver_;
}
bool operator == (const EquipmentMessage& a, const EquipmentMessage& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.subject != b.subject) {
return false;
}
if (a.text != b.text) {
return false;
}
if (a.sender != b.sender) {
return false;
}
if (a.receiver != b.receiver) {
return false;
}
return true;
}
bool operator != (const EquipmentMessage& a, const EquipmentMessage& b) {
return !operator ==(a, b);
}
void swap(EquipmentMessage& a, EquipmentMessage& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.subject, b.subject);
swap(a.text, b.text);
swap(a.sender, b.sender);
swap(a.receiver, b.receiver);
}
std::ostream& operator << (std::ostream& o,const EquipmentMessage& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "subject: " << sample.subject<<", ";
o << "text: " << sample.text<<", ";
o << "sender: " << sample.sender<<", ";
o << "receiver: " << sample.receiver;
o <<"]";
return o;
}
// ---- EquipmentOperationalState:
EquipmentOperationalState::EquipmentOperationalState() {
}
EquipmentOperationalState::EquipmentOperationalState (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::optional< bool >& isManipulation_,const ::omg::types::optional< int32_t >& equipmentFunctionId_,const ::omg::types::optional< bool >& nbcProtectionActive_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
isManipulation = isManipulation_;
equipmentFunctionId = equipmentFunctionId_;
nbcProtectionActive = nbcProtectionActive_;
}
bool operator == (const EquipmentOperationalState& a, const EquipmentOperationalState& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.isManipulation != b.isManipulation) {
return false;
}
if (a.equipmentFunctionId != b.equipmentFunctionId) {
return false;
}
if (a.nbcProtectionActive != b.nbcProtectionActive) {
return false;
}
return true;
}
bool operator != (const EquipmentOperationalState& a, const EquipmentOperationalState& b) {
return !operator ==(a, b);
}
void swap(EquipmentOperationalState& a, EquipmentOperationalState& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.isManipulation, b.isManipulation);
swap(a.equipmentFunctionId, b.equipmentFunctionId);
swap(a.nbcProtectionActive, b.nbcProtectionActive);
}
std::ostream& operator << (std::ostream& o,const EquipmentOperationalState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "isManipulation: " << sample.isManipulation<<", ";
o << "equipmentFunctionId: " << sample.equipmentFunctionId<<", ";
o << "nbcProtectionActive: " << sample.nbcProtectionActive;
o <<"]";
return o;
}
// ---- TabPosition:
TabPosition::TabPosition() :
reportingSource(Core::PositionReportingSource::Gps) {
}
TabPosition::TabPosition (const ::Core::GeoPosition& position_,const ::Core::PositionReportingSource& reportingSource_,const ::omg::types::optional< int32_t >& moutObjectId_,const ::omg::types::optional< int32_t >& moutRoomId_) {
position = position_;
reportingSource = reportingSource_;
moutObjectId = moutObjectId_;
moutRoomId = moutRoomId_;
}
bool operator == (const TabPosition& a, const TabPosition& b) {
if (a.position != b.position) {
return false;
}
if (a.reportingSource != b.reportingSource) {
return false;
}
if (a.moutObjectId != b.moutObjectId) {
return false;
}
if (a.moutRoomId != b.moutRoomId) {
return false;
}
return true;
}
bool operator != (const TabPosition& a, const TabPosition& b) {
return !operator ==(a, b);
}
void swap(TabPosition& a, TabPosition& b) noexcept
{
using std::swap;
swap(a.position, b.position);
swap(a.reportingSource, b.reportingSource);
swap(a.moutObjectId, b.moutObjectId);
swap(a.moutRoomId, b.moutRoomId);
}
std::ostream& operator << (std::ostream& o,const TabPosition& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "position: " << sample.position<<", ";
o << "reportingSource: " << sample.reportingSource<<", ";
o << "moutObjectId: " << sample.moutObjectId<<", ";
o << "moutRoomId: " << sample.moutRoomId;
o <<"]";
return o;
}
// ---- EquipmentPosition:
EquipmentPosition::EquipmentPosition() {
}
EquipmentPosition::EquipmentPosition (int32_t equipmentNumber_,int64_t sampleTime_,const ::TrainingAreaBase::TabPosition& position_,const ::omg::types::optional< ::omg::types::sequence< int32_t > >& mountedParticipants_,const ::omg::types::optional< ::Core::Orientation >& orientation_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
mountedParticipants = mountedParticipants_;
orientation = orientation_;
}
bool operator == (const EquipmentPosition& a, const EquipmentPosition& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.mountedParticipants != b.mountedParticipants) {
return false;
}
if (a.orientation != b.orientation) {
return false;
}
return true;
}
bool operator != (const EquipmentPosition& a, const EquipmentPosition& b) {
return !operator ==(a, b);
}
void swap(EquipmentPosition& a, EquipmentPosition& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.mountedParticipants, b.mountedParticipants);
swap(a.orientation, b.orientation);
}
std::ostream& operator << (std::ostream& o,const EquipmentPosition& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "mountedParticipants: " << sample.mountedParticipants<<", ";
o << "orientation: " << sample.orientation;
o <<"]";
return o;
}
// ---- EquipmentState:
EquipmentState::EquipmentState() :
vulnerabilityState(ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange) ,
vulnerabilityKindId (0) ,
vitality (0) ,
vulnerabilityBits (0) ,
originatorId (0) ,
originatorType(ProjectDataManagement::StateChangeOriginator::StateChangeOriginator_Unknown) ,
originatorChargeTypeId (0) {
}
EquipmentState::EquipmentState (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::VulnerabilityState& vulnerabilityState_,int32_t vulnerabilityKindId_,int32_t vitality_,int32_t vulnerabilityBits_,const ::omg::types::optional< ::TrainingAreaBase::TabPosition >& position_,int32_t originatorId_,const ::ProjectDataManagement::StateChangeOriginator& originatorType_,int32_t originatorChargeTypeId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
vulnerabilityState = vulnerabilityState_;
vulnerabilityKindId = vulnerabilityKindId_;
vitality = vitality_;
vulnerabilityBits = vulnerabilityBits_;
position = position_;
originatorId = originatorId_;
originatorType = originatorType_;
originatorChargeTypeId = originatorChargeTypeId_;
}
bool operator == (const EquipmentState& a, const EquipmentState& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.vulnerabilityState != b.vulnerabilityState) {
return false;
}
if (a.vulnerabilityKindId != b.vulnerabilityKindId) {
return false;
}
if (a.vitality != b.vitality) {
return false;
}
if (a.vulnerabilityBits != b.vulnerabilityBits) {
return false;
}
if (a.position != b.position) {
return false;
}
if (a.originatorId != b.originatorId) {
return false;
}
if (a.originatorType != b.originatorType) {
return false;
}
if (a.originatorChargeTypeId != b.originatorChargeTypeId) {
return false;
}
return true;
}
bool operator != (const EquipmentState& a, const EquipmentState& b) {
return !operator ==(a, b);
}
void swap(EquipmentState& a, EquipmentState& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.vulnerabilityState, b.vulnerabilityState);
swap(a.vulnerabilityKindId, b.vulnerabilityKindId);
swap(a.vitality, b.vitality);
swap(a.vulnerabilityBits, b.vulnerabilityBits);
swap(a.position, b.position);
swap(a.originatorId, b.originatorId);
swap(a.originatorType, b.originatorType);
swap(a.originatorChargeTypeId, b.originatorChargeTypeId);
}
std::ostream& operator << (std::ostream& o,const EquipmentState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "vulnerabilityState: " << sample.vulnerabilityState<<", ";
o << "vulnerabilityKindId: " << sample.vulnerabilityKindId<<", ";
o << "vitality: " << sample.vitality<<", ";
o << "vulnerabilityBits: " << sample.vulnerabilityBits<<", ";
o << "position: " << sample.position<<", ";
o << "originatorId: " << sample.originatorId<<", ";
o << "originatorType: " << sample.originatorType<<", ";
o << "originatorChargeTypeId: " << sample.originatorChargeTypeId;
o <<"]";
return o;
}
// ---- EquipmentSwVersion:
EquipmentSwVersion::EquipmentSwVersion() :
swVersion (0) {
}
EquipmentSwVersion::EquipmentSwVersion (int32_t equipmentFunctionId_,int32_t subDeviceId_,int32_t unqiueId_,int32_t swVersion_) :
::TrainingAreaBase::Equipment(equipmentFunctionId_, subDeviceId_, unqiueId_) {
swVersion = swVersion_;
}
bool operator == (const EquipmentSwVersion& a, const EquipmentSwVersion& b) {
if (!operator == ((::TrainingAreaBase::Equipment) a, (::TrainingAreaBase::Equipment) b)){
return false;
}
if (a.swVersion != b.swVersion) {
return false;
}
return true;
}
bool operator != (const EquipmentSwVersion& a, const EquipmentSwVersion& b) {
return !operator ==(a, b);
}
void swap(EquipmentSwVersion& a, EquipmentSwVersion& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::Equipment&) a, (::TrainingAreaBase::Equipment&) b);
swap(a.swVersion, b.swVersion);
}
std::ostream& operator << (std::ostream& o,const EquipmentSwVersion& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::Equipment &>(sample);
o << "swVersion: " << sample.swVersion;
o <<"]";
return o;
}
// ---- L12_TargetData:
L12_TargetData::L12_TargetData() :
number (0) ,
geometry(ProjectDataManagement::L4_TargetGeometry::Point) ,
radius (0) ,
width (0) ,
length (0) ,
targetAxis (0) ,
zog (0) ,
elements (0) ,
tagetType (0) ,
tagetSubtype (0) {
}
L12_TargetData::L12_TargetData (int32_t number_,const ::ProjectDataManagement::L4_TargetGeometry& geometry_,const ::Core::GeoPosition& coordinate_,const ::Core::GeoPosition& relativeCoordinate_,int32_t radius_,int32_t width_,int32_t length_,int32_t targetAxis_,int32_t zog_,int32_t elements_,int32_t tagetType_,int32_t tagetSubtype_) {
number = number_;
geometry = geometry_;
coordinate = coordinate_;
relativeCoordinate = relativeCoordinate_;
radius = radius_;
width = width_;
length = length_;
targetAxis = targetAxis_;
zog = zog_;
elements = elements_;
tagetType = tagetType_;
tagetSubtype = tagetSubtype_;
}
bool operator == (const L12_TargetData& a, const L12_TargetData& b) {
if (a.number != b.number) {
return false;
}
if (a.geometry != b.geometry) {
return false;
}
if (a.coordinate != b.coordinate) {
return false;
}
if (a.relativeCoordinate != b.relativeCoordinate) {
return false;
}
if (a.radius != b.radius) {
return false;
}
if (a.width != b.width) {
return false;
}
if (a.length != b.length) {
return false;
}
if (a.targetAxis != b.targetAxis) {
return false;
}
if (a.zog != b.zog) {
return false;
}
if (a.elements != b.elements) {
return false;
}
if (a.tagetType != b.tagetType) {
return false;
}
if (a.tagetSubtype != b.tagetSubtype) {
return false;
}
return true;
}
bool operator != (const L12_TargetData& a, const L12_TargetData& b) {
return !operator ==(a, b);
}
void swap(L12_TargetData& a, L12_TargetData& b) noexcept
{
using std::swap;
swap(a.number, b.number);
swap(a.geometry, b.geometry);
swap(a.coordinate, b.coordinate);
swap(a.relativeCoordinate, b.relativeCoordinate);
swap(a.radius, b.radius);
swap(a.width, b.width);
swap(a.length, b.length);
swap(a.targetAxis, b.targetAxis);
swap(a.zog, b.zog);
swap(a.elements, b.elements);
swap(a.tagetType, b.tagetType);
swap(a.tagetSubtype, b.tagetSubtype);
}
std::ostream& operator << (std::ostream& o,const L12_TargetData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "number: " << sample.number<<", ";
o << "geometry: " << sample.geometry<<", ";
o << "coordinate: " << sample.coordinate<<", ";
o << "relativeCoordinate: " << sample.relativeCoordinate<<", ";
o << "radius: " << sample.radius<<", ";
o << "width: " << sample.width<<", ";
o << "length: " << sample.length<<", ";
o << "targetAxis: " << sample.targetAxis<<", ";
o << "zog: " << sample.zog<<", ";
o << "elements: " << sample.elements<<", ";
o << "tagetType: " << sample.tagetType<<", ";
o << "tagetSubtype: " << sample.tagetSubtype;
o <<"]";
return o;
}
// ---- L36_FiringCommandCharges:
L36_FiringCommandCharges::L36_FiringCommandCharges() :
chargeType (0) ,
loadTypeId (0) ,
loadNumber (0) ,
igniterTypeId (0) ,
igniterFunctionId (0) ,
igniterTime (0) ,
amount (0) ,
interval (0.0) {
}
L36_FiringCommandCharges::L36_FiringCommandCharges (int32_t chargeType_,int32_t loadTypeId_,int32_t loadNumber_,int32_t igniterTypeId_,int32_t igniterFunctionId_,int32_t igniterTime_,int32_t amount_,double interval_) {
chargeType = chargeType_;
loadTypeId = loadTypeId_;
loadNumber = loadNumber_;
igniterTypeId = igniterTypeId_;
igniterFunctionId = igniterFunctionId_;
igniterTime = igniterTime_;
amount = amount_;
interval = interval_;
}
bool operator == (const L36_FiringCommandCharges& a, const L36_FiringCommandCharges& b) {
if (a.chargeType != b.chargeType) {
return false;
}
if (a.loadTypeId != b.loadTypeId) {
return false;
}
if (a.loadNumber != b.loadNumber) {
return false;
}
if (a.igniterTypeId != b.igniterTypeId) {
return false;
}
if (a.igniterFunctionId != b.igniterFunctionId) {
return false;
}
if (a.igniterTime != b.igniterTime) {
return false;
}
if (a.amount != b.amount) {
return false;
}
if (std::fabs(a.interval - b.interval) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.interval - b.interval) < (std::numeric_limits< double>::min)())) {
return false;
}
return true;
}
bool operator != (const L36_FiringCommandCharges& a, const L36_FiringCommandCharges& b) {
return !operator ==(a, b);
}
void swap(L36_FiringCommandCharges& a, L36_FiringCommandCharges& b) noexcept
{
using std::swap;
swap(a.chargeType, b.chargeType);
swap(a.loadTypeId, b.loadTypeId);
swap(a.loadNumber, b.loadNumber);
swap(a.igniterTypeId, b.igniterTypeId);
swap(a.igniterFunctionId, b.igniterFunctionId);
swap(a.igniterTime, b.igniterTime);
swap(a.amount, b.amount);
swap(a.interval, b.interval);
}
std::ostream& operator << (std::ostream& o,const L36_FiringCommandCharges& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "chargeType: " << sample.chargeType<<", ";
o << "loadTypeId: " << sample.loadTypeId<<", ";
o << "loadNumber: " << sample.loadNumber<<", ";
o << "igniterTypeId: " << sample.igniterTypeId<<", ";
o << "igniterFunctionId: " << sample.igniterFunctionId<<", ";
o << "igniterTime: " << sample.igniterTime<<", ";
o << "amount: " << sample.amount<<", ";
o << "interval: " << std::setprecision(15) << sample.interval;
o <<"]";
return o;
}
// ---- L35_TrajectoryPoint:
L35_TrajectoryPoint::L35_TrajectoryPoint() :
time (0.0) {
}
L35_TrajectoryPoint::L35_TrajectoryPoint (double time_,const ::Core::RelativePosition& relPos_) {
time = time_;
relPos = relPos_;
}
bool operator == (const L35_TrajectoryPoint& a, const L35_TrajectoryPoint& b) {
if (std::fabs(a.time - b.time) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.time - b.time) < (std::numeric_limits< double>::min)())) {
return false;
}
if (a.relPos != b.relPos) {
return false;
}
return true;
}
bool operator != (const L35_TrajectoryPoint& a, const L35_TrajectoryPoint& b) {
return !operator ==(a, b);
}
void swap(L35_TrajectoryPoint& a, L35_TrajectoryPoint& b) noexcept
{
using std::swap;
swap(a.time, b.time);
swap(a.relPos, b.relPos);
}
std::ostream& operator << (std::ostream& o,const L35_TrajectoryPoint& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "time: " << std::setprecision(15) << sample.time<<", ";
o << "relPos: " << sample.relPos;
o <<"]";
return o;
}
// ---- L39_ScatteringData:
L39_ScatteringData::L39_ScatteringData() :
mphWidth (0.0) ,
mphLength (0.0) ,
mphWidthDetonationHeight (0.0) ,
mphLengthDetonationHeight (0.0) {
}
L39_ScatteringData::L39_ScatteringData (double mphWidth_,double mphLength_,double mphWidthDetonationHeight_,double mphLengthDetonationHeight_) {
mphWidth = mphWidth_;
mphLength = mphLength_;
mphWidthDetonationHeight = mphWidthDetonationHeight_;
mphLengthDetonationHeight = mphLengthDetonationHeight_;
}
bool operator == (const L39_ScatteringData& a, const L39_ScatteringData& b) {
if (std::fabs(a.mphWidth - b.mphWidth) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.mphWidth - b.mphWidth) < (std::numeric_limits< double>::min)())) {
return false;
}
if (std::fabs(a.mphLength - b.mphLength) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.mphLength - b.mphLength) < (std::numeric_limits< double>::min)())) {
return false;
}
if (std::fabs(a.mphWidthDetonationHeight - b.mphWidthDetonationHeight) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.mphWidthDetonationHeight - b.mphWidthDetonationHeight) < (std::numeric_limits< double>::min)())) {
return false;
}
if (std::fabs(a.mphLengthDetonationHeight - b.mphLengthDetonationHeight) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.mphLengthDetonationHeight - b.mphLengthDetonationHeight) < (std::numeric_limits< double>::min)())) {
return false;
}
return true;
}
bool operator != (const L39_ScatteringData& a, const L39_ScatteringData& b) {
return !operator ==(a, b);
}
void swap(L39_ScatteringData& a, L39_ScatteringData& b) noexcept
{
using std::swap;
swap(a.mphWidth, b.mphWidth);
swap(a.mphLength, b.mphLength);
swap(a.mphWidthDetonationHeight, b.mphWidthDetonationHeight);
swap(a.mphLengthDetonationHeight, b.mphLengthDetonationHeight);
}
std::ostream& operator << (std::ostream& o,const L39_ScatteringData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "mphWidth: " << std::setprecision(15) << sample.mphWidth<<", ";
o << "mphLength: " << std::setprecision(15) << sample.mphLength<<", ";
o << "mphWidthDetonationHeight: " << std::setprecision(15) << sample.mphWidthDetonationHeight<<", ";
o << "mphLengthDetonationHeight: " << std::setprecision(15) << sample.mphLengthDetonationHeight;
o <<"]";
return o;
}
// ---- L34_effector:
L34_effector::L34_effector() :
effectorId(ProjectDataManagement::L27_EffectorId::A) ,
flightTime (0.0) ,
maxHeight (0) ,
direction (0) ,
angleOfFall (0) {
}
L34_effector::L34_effector (const ::ProjectDataManagement::L27_EffectorId& effectorId_,const ::Core::GeoPosition& targetPos_,double flightTime_,int32_t maxHeight_,int32_t direction_,int32_t angleOfFall_,const ::TrainingAreaBase::L36_FiringCommandCharges& firingCommandCharges_,const ::omg::types::sequence< ::TrainingAreaBase::L35_TrajectoryPoint >& trajectory_,const ::TrainingAreaBase::L39_ScatteringData& scattering_) {
effectorId = effectorId_;
targetPos = targetPos_;
flightTime = flightTime_;
maxHeight = maxHeight_;
direction = direction_;
angleOfFall = angleOfFall_;
firingCommandCharges = firingCommandCharges_;
trajectory = trajectory_;
scattering = scattering_;
}
bool operator == (const L34_effector& a, const L34_effector& b) {
if (a.effectorId != b.effectorId) {
return false;
}
if (a.targetPos != b.targetPos) {
return false;
}
if (std::fabs(a.flightTime - b.flightTime) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.flightTime - b.flightTime) < (std::numeric_limits< double>::min)())) {
return false;
}
if (a.maxHeight != b.maxHeight) {
return false;
}
if (a.direction != b.direction) {
return false;
}
if (a.angleOfFall != b.angleOfFall) {
return false;
}
if (a.firingCommandCharges != b.firingCommandCharges) {
return false;
}
if (a.trajectory != b.trajectory) {
return false;
}
if (a.scattering != b.scattering) {
return false;
}
return true;
}
bool operator != (const L34_effector& a, const L34_effector& b) {
return !operator ==(a, b);
}
void swap(L34_effector& a, L34_effector& b) noexcept
{
using std::swap;
swap(a.effectorId, b.effectorId);
swap(a.targetPos, b.targetPos);
swap(a.flightTime, b.flightTime);
swap(a.maxHeight, b.maxHeight);
swap(a.direction, b.direction);
swap(a.angleOfFall, b.angleOfFall);
swap(a.firingCommandCharges, b.firingCommandCharges);
swap(a.trajectory, b.trajectory);
swap(a.scattering, b.scattering);
}
std::ostream& operator << (std::ostream& o,const L34_effector& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "effectorId: " << sample.effectorId<<", ";
o << "targetPos: " << sample.targetPos<<", ";
o << "flightTime: " << std::setprecision(15) << sample.flightTime<<", ";
o << "maxHeight: " << sample.maxHeight<<", ";
o << "direction: " << sample.direction<<", ";
o << "angleOfFall: " << sample.angleOfFall<<", ";
o << "firingCommandCharges: " << sample.firingCommandCharges<<", ";
o << "trajectory: " << sample.trajectory<<", ";
o << "scattering: " << sample.scattering;
o <<"]";
return o;
}
// ---- L33_FireCommand:
L33_FireCommand::L33_FireCommand() :
identifier ("") ,
type (0) {
}
L33_FireCommand::L33_FireCommand (const ::omg::types::string_view& identifier_,int32_t type_,const ::omg::types::sequence< ::TrainingAreaBase::L34_effector >& L34_effector_) {
identifier = identifier_;
type = type_;
L34_effector = L34_effector_;
}
bool operator == (const L33_FireCommand& a, const L33_FireCommand& b) {
if (a.identifier != b.identifier) {
return false;
}
if (a.type != b.type) {
return false;
}
if (a.L34_effector != b.L34_effector) {
return false;
}
return true;
}
bool operator != (const L33_FireCommand& a, const L33_FireCommand& b) {
return !operator ==(a, b);
}
void swap(L33_FireCommand& a, L33_FireCommand& b) noexcept
{
using std::swap;
swap(a.identifier, b.identifier);
swap(a.type, b.type);
swap(a.L34_effector, b.L34_effector);
}
std::ostream& operator << (std::ostream& o,const L33_FireCommand& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "identifier: " << sample.identifier<<", ";
o << "type: " << sample.type<<", ";
o << "L34_effector: " << sample.L34_effector;
o <<"]";
return o;
}
// ---- ExAwesPlanning:
ExAwesPlanning::ExAwesPlanning() :
reference ("") ,
firingType (0) ,
request ("") ,
duration (0) {
}
ExAwesPlanning::ExAwesPlanning (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::string_view& reference_,const ::TrainingAreaBase::L12_TargetData& targetData_,int32_t firingType_,const ::omg::types::string_view& request_,int32_t duration_,const ::TrainingAreaBase::L33_FireCommand& fireCommand_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
reference = reference_;
targetData = targetData_;
firingType = firingType_;
request = request_;
duration = duration_;
fireCommand = fireCommand_;
}
bool operator == (const ExAwesPlanning& a, const ExAwesPlanning& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.targetData != b.targetData) {
return false;
}
if (a.firingType != b.firingType) {
return false;
}
if (a.request != b.request) {
return false;
}
if (a.duration != b.duration) {
return false;
}
if (a.fireCommand != b.fireCommand) {
return false;
}
return true;
}
bool operator != (const ExAwesPlanning& a, const ExAwesPlanning& b) {
return !operator ==(a, b);
}
void swap(ExAwesPlanning& a, ExAwesPlanning& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.reference, b.reference);
swap(a.targetData, b.targetData);
swap(a.firingType, b.firingType);
swap(a.request, b.request);
swap(a.duration, b.duration);
swap(a.fireCommand, b.fireCommand);
}
std::ostream& operator << (std::ostream& o,const ExAwesPlanning& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "reference: " << sample.reference<<", ";
o << "targetData: " << sample.targetData<<", ";
o << "firingType: " << sample.firingType<<", ";
o << "request: " << sample.request<<", ";
o << "duration: " << sample.duration<<", ";
o << "fireCommand: " << sample.fireCommand;
o <<"]";
return o;
}
// ---- L13_EffectorUnit:
L13_EffectorUnit::L13_EffectorUnit() :
identifier ("") ,
r (0) ,
oi(ProjectDataManagement::L19_Oi::L19_Oi_Empty) {
}
L13_EffectorUnit::L13_EffectorUnit (const ::omg::types::string_view& identifier_,int32_t r_,const ::ProjectDataManagement::L19_Oi& oi_) {
identifier = identifier_;
r = r_;
oi = oi_;
}
bool operator == (const L13_EffectorUnit& a, const L13_EffectorUnit& b) {
if (a.identifier != b.identifier) {
return false;
}
if (a.r != b.r) {
return false;
}
if (a.oi != b.oi) {
return false;
}
return true;
}
bool operator != (const L13_EffectorUnit& a, const L13_EffectorUnit& b) {
return !operator ==(a, b);
}
void swap(L13_EffectorUnit& a, L13_EffectorUnit& b) noexcept
{
using std::swap;
swap(a.identifier, b.identifier);
swap(a.r, b.r);
swap(a.oi, b.oi);
}
std::ostream& operator << (std::ostream& o,const L13_EffectorUnit& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "identifier: " << sample.identifier<<", ";
o << "r: " << sample.r<<", ";
o << "oi: " << sample.oi;
o <<"]";
return o;
}
// ---- ExReportEffector:
ExReportEffector::ExReportEffector() :
effectingSystemType(ProjectDataManagement::L26_EffectingSystemType::Pzh2000) ,
effectorId(ProjectDataManagement::L27_EffectorId::A) ,
status(ProjectDataManagement::L28_Status::NichtEinsatzbereit) {
}
ExReportEffector::ExReportEffector (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::L26_EffectingSystemType& effectingSystemType_,const ::ProjectDataManagement::L27_EffectorId& effectorId_,const ::ProjectDataManagement::L28_Status& status_,const ::TrainingAreaBase::L13_EffectorUnit& effectorUnit_,const ::omg::types::sequence< ::TrainingAreaBase::L8_Charges >& charges_,const ::Core::GeoPosition& coordinate_,const ::TrainingAreaBase::L18_EffectableArea& effectableArea_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
effectingSystemType = effectingSystemType_;
effectorId = effectorId_;
status = status_;
effectorUnit = effectorUnit_;
charges = charges_;
coordinate = coordinate_;
effectableArea = effectableArea_;
}
bool operator == (const ExReportEffector& a, const ExReportEffector& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.effectingSystemType != b.effectingSystemType) {
return false;
}
if (a.effectorId != b.effectorId) {
return false;
}
if (a.status != b.status) {
return false;
}
if (a.effectorUnit != b.effectorUnit) {
return false;
}
if (a.charges != b.charges) {
return false;
}
if (a.coordinate != b.coordinate) {
return false;
}
if (a.effectableArea != b.effectableArea) {
return false;
}
return true;
}
bool operator != (const ExReportEffector& a, const ExReportEffector& b) {
return !operator ==(a, b);
}
void swap(ExReportEffector& a, ExReportEffector& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.effectingSystemType, b.effectingSystemType);
swap(a.effectorId, b.effectorId);
swap(a.status, b.status);
swap(a.effectorUnit, b.effectorUnit);
swap(a.charges, b.charges);
swap(a.coordinate, b.coordinate);
swap(a.effectableArea, b.effectableArea);
}
std::ostream& operator << (std::ostream& o,const ExReportEffector& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "effectingSystemType: " << sample.effectingSystemType<<", ";
o << "effectorId: " << sample.effectorId<<", ";
o << "status: " << sample.status<<", ";
o << "effectorUnit: " << sample.effectorUnit<<", ";
o << "charges: " << sample.charges<<", ";
o << "coordinate: " << sample.coordinate<<", ";
o << "effectableArea: " << sample.effectableArea;
o <<"]";
return o;
}
// ---- Ex_ReconResults:
Ex_ReconResults::Ex_ReconResults() {
}
Ex_ReconResults::Ex_ReconResults (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< ::TrainingAreaBase::EX_ExplorationResult >& explorationResult_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
explorationResult = explorationResult_;
}
bool operator == (const Ex_ReconResults& a, const Ex_ReconResults& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.explorationResult != b.explorationResult) {
return false;
}
return true;
}
bool operator != (const Ex_ReconResults& a, const Ex_ReconResults& b) {
return !operator ==(a, b);
}
void swap(Ex_ReconResults& a, Ex_ReconResults& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.explorationResult, b.explorationResult);
}
std::ostream& operator << (std::ostream& o,const Ex_ReconResults& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "explorationResult: " << sample.explorationResult;
o <<"]";
return o;
}
// ---- Ex_ReportSupplyZone:
Ex_ReportSupplyZone::Ex_ReportSupplyZone() {
}
Ex_ReportSupplyZone::Ex_ReportSupplyZone (int32_t equipmentNumber_,int64_t sampleTime_,const ::TrainingAreaBase::L13_EffectorUnit& effectorUnit_,const ::Core::GeoPosition& coordinate_,const ::TrainingAreaBase::L8_Charges& charges_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
effectorUnit = effectorUnit_;
coordinate = coordinate_;
charges = charges_;
}
bool operator == (const Ex_ReportSupplyZone& a, const Ex_ReportSupplyZone& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.effectorUnit != b.effectorUnit) {
return false;
}
if (a.coordinate != b.coordinate) {
return false;
}
if (a.charges != b.charges) {
return false;
}
return true;
}
bool operator != (const Ex_ReportSupplyZone& a, const Ex_ReportSupplyZone& b) {
return !operator ==(a, b);
}
void swap(Ex_ReportSupplyZone& a, Ex_ReportSupplyZone& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.effectorUnit, b.effectorUnit);
swap(a.coordinate, b.coordinate);
swap(a.charges, b.charges);
}
std::ostream& operator << (std::ostream& o,const Ex_ReportSupplyZone& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "effectorUnit: " << sample.effectorUnit<<", ";
o << "coordinate: " << sample.coordinate<<", ";
o << "charges: " << sample.charges;
o <<"]";
return o;
}
// ---- FireSmokeMarkerData:
FireSmokeMarkerData::FireSmokeMarkerData() {
}
FireSmokeMarkerData::FireSmokeMarkerData (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
payload = payload_;
}
bool operator == (const FireSmokeMarkerData& a, const FireSmokeMarkerData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const FireSmokeMarkerData& a, const FireSmokeMarkerData& b) {
return !operator ==(a, b);
}
void swap(FireSmokeMarkerData& a, FireSmokeMarkerData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const FireSmokeMarkerData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- FunctionalAreaEntry:
FunctionalAreaEntry::FunctionalAreaEntry() :
aesItemId (0) {
}
FunctionalAreaEntry::FunctionalAreaEntry (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,int32_t aesItemId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
aesItemId = aesItemId_;
}
bool operator == (const FunctionalAreaEntry& a, const FunctionalAreaEntry& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.aesItemId != b.aesItemId) {
return false;
}
return true;
}
bool operator != (const FunctionalAreaEntry& a, const FunctionalAreaEntry& b) {
return !operator ==(a, b);
}
void swap(FunctionalAreaEntry& a, FunctionalAreaEntry& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.aesItemId, b.aesItemId);
}
std::ostream& operator << (std::ostream& o,const FunctionalAreaEntry& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "aesItemId: " << sample.aesItemId;
o <<"]";
return o;
}
// ---- GeopairingData:
GeopairingData::GeopairingData() {
}
GeopairingData::GeopairingData (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
payload = payload_;
}
bool operator == (const GeopairingData& a, const GeopairingData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const GeopairingData& a, const GeopairingData& b) {
return !operator ==(a, b);
}
void swap(GeopairingData& a, GeopairingData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const GeopairingData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- LaserDesignation:
LaserDesignation::LaserDesignation() :
gearId (0) ,
code (0) ,
outputPower (0.0) {
}
LaserDesignation::LaserDesignation (int32_t equipmentNumber_,int64_t sampleTime_,int32_t gearId_,int32_t code_,double outputPower_,const ::Core::GeoPosition2D& spotLocation_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
gearId = gearId_;
code = code_;
outputPower = outputPower_;
spotLocation = spotLocation_;
}
bool operator == (const LaserDesignation& a, const LaserDesignation& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.gearId != b.gearId) {
return false;
}
if (a.code != b.code) {
return false;
}
if (std::fabs(a.outputPower - b.outputPower) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.outputPower - b.outputPower) < (std::numeric_limits< double>::min)())) {
return false;
}
if (a.spotLocation != b.spotLocation) {
return false;
}
return true;
}
bool operator != (const LaserDesignation& a, const LaserDesignation& b) {
return !operator ==(a, b);
}
void swap(LaserDesignation& a, LaserDesignation& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.gearId, b.gearId);
swap(a.code, b.code);
swap(a.outputPower, b.outputPower);
swap(a.spotLocation, b.spotLocation);
}
std::ostream& operator << (std::ostream& o,const LaserDesignation& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "gearId: " << sample.gearId<<", ";
o << "code: " << sample.code<<", ";
o << "outputPower: " << std::setprecision(15) << sample.outputPower<<", ";
o << "spotLocation: " << sample.spotLocation;
o <<"]";
return o;
}
// ---- MineTriggered:
MineTriggered::MineTriggered() :
mineAreaId (0) ,
mineIndex (0) {
}
MineTriggered::MineTriggered (int32_t equipmentNumber_,int64_t sampleTime_,int32_t mineAreaId_,int32_t mineIndex_,const ::omg::types::optional< ::Core::GeoPosition2D >& position_,const ::omg::types::optional< int32_t >& chargeTypeId_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
mineAreaId = mineAreaId_;
mineIndex = mineIndex_;
position = position_;
chargeTypeId = chargeTypeId_;
}
bool operator == (const MineTriggered& a, const MineTriggered& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.mineAreaId != b.mineAreaId) {
return false;
}
if (a.mineIndex != b.mineIndex) {
return false;
}
if (a.position != b.position) {
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
return true;
}
bool operator != (const MineTriggered& a, const MineTriggered& b) {
return !operator ==(a, b);
}
void swap(MineTriggered& a, MineTriggered& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.mineAreaId, b.mineAreaId);
swap(a.mineIndex, b.mineIndex);
swap(a.position, b.position);
swap(a.chargeTypeId, b.chargeTypeId);
}
std::ostream& operator << (std::ostream& o,const MineTriggered& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "mineAreaId: " << sample.mineAreaId<<", ";
o << "mineIndex: " << sample.mineIndex<<", ";
o << "position: " << sample.position<<", ";
o << "chargeTypeId: " << sample.chargeTypeId;
o <<"]";
return o;
}
// ---- MinelayerTrailerData:
MinelayerTrailerData::MinelayerTrailerData() :
barrierId (0) ,
layingDensity (0) ,
effectStart (0ll) ,
effectDuration (0) ,
chargeTypeId (0) ,
mineCount (0) {
}
MinelayerTrailerData::MinelayerTrailerData (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,int32_t barrierId_,int32_t layingDensity_,int64_t effectStart_,int32_t effectDuration_,int32_t chargeTypeId_,int32_t mineCount_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
barrierId = barrierId_;
layingDensity = layingDensity_;
effectStart = effectStart_;
effectDuration = effectDuration_;
chargeTypeId = chargeTypeId_;
mineCount = mineCount_;
}
bool operator == (const MinelayerTrailerData& a, const MinelayerTrailerData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.barrierId != b.barrierId) {
return false;
}
if (a.layingDensity != b.layingDensity) {
return false;
}
if (a.effectStart != b.effectStart) {
return false;
}
if (a.effectDuration != b.effectDuration) {
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.mineCount != b.mineCount) {
return false;
}
return true;
}
bool operator != (const MinelayerTrailerData& a, const MinelayerTrailerData& b) {
return !operator ==(a, b);
}
void swap(MinelayerTrailerData& a, MinelayerTrailerData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.barrierId, b.barrierId);
swap(a.layingDensity, b.layingDensity);
swap(a.effectStart, b.effectStart);
swap(a.effectDuration, b.effectDuration);
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.mineCount, b.mineCount);
}
std::ostream& operator << (std::ostream& o,const MinelayerTrailerData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "barrierId: " << sample.barrierId<<", ";
o << "layingDensity: " << sample.layingDensity<<", ";
o << "effectStart: " << sample.effectStart<<", ";
o << "effectDuration: " << sample.effectDuration<<", ";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "mineCount: " << sample.mineCount;
o <<"]";
return o;
}
// ---- MinelayerThrowerData:
MinelayerThrowerData::MinelayerThrowerData() :
throwingType(TrainingAreaBase::ThrowingType::Straight) {
}
MinelayerThrowerData::MinelayerThrowerData (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,int32_t barrierId_,int32_t layingDensity_,int64_t effectStart_,int32_t effectDuration_,int32_t chargeTypeId_,int32_t mineCount_,const ::TrainingAreaBase::ThrowingType& throwingType_) :
::TrainingAreaBase::MinelayerTrailerData(equipmentNumber_, sampleTime_, position_, barrierId_, layingDensity_, effectStart_, effectDuration_, chargeTypeId_, mineCount_) {
throwingType = throwingType_;
}
bool operator == (const MinelayerThrowerData& a, const MinelayerThrowerData& b) {
if (!operator == ((::TrainingAreaBase::MinelayerTrailerData) a, (::TrainingAreaBase::MinelayerTrailerData) b)){
return false;
}
if (a.throwingType != b.throwingType) {
return false;
}
return true;
}
bool operator != (const MinelayerThrowerData& a, const MinelayerThrowerData& b) {
return !operator ==(a, b);
}
void swap(MinelayerThrowerData& a, MinelayerThrowerData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::MinelayerTrailerData&) a, (::TrainingAreaBase::MinelayerTrailerData&) b);
swap(a.throwingType, b.throwingType);
}
std::ostream& operator << (std::ostream& o,const MinelayerThrowerData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::MinelayerTrailerData &>(sample);
o << "throwingType: " << sample.throwingType;
o <<"]";
return o;
}
// ---- MinelayerTrailerPosition:
MinelayerTrailerPosition::MinelayerTrailerPosition() :
chargeTypeId (0) ,
dusSerialNo (0) {
}
MinelayerTrailerPosition::MinelayerTrailerPosition (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,int32_t chargeTypeId_,int32_t dusSerialNo_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
chargeTypeId = chargeTypeId_;
dusSerialNo = dusSerialNo_;
}
bool operator == (const MinelayerTrailerPosition& a, const MinelayerTrailerPosition& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.dusSerialNo != b.dusSerialNo) {
return false;
}
return true;
}
bool operator != (const MinelayerTrailerPosition& a, const MinelayerTrailerPosition& b) {
return !operator ==(a, b);
}
void swap(MinelayerTrailerPosition& a, MinelayerTrailerPosition& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.dusSerialNo, b.dusSerialNo);
}
std::ostream& operator << (std::ostream& o,const MinelayerTrailerPosition& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "dusSerialNo: " << sample.dusSerialNo;
o <<"]";
return o;
}
// ---- OcData:
OcData::OcData() {
}
OcData::OcData (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
payload = payload_;
}
bool operator == (const OcData& a, const OcData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const OcData& a, const OcData& b) {
return !operator ==(a, b);
}
void swap(OcData& a, OcData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const OcData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- OperatorAction:
OperatorAction::OperatorAction() :
operatorId (0) ,
action (0) {
}
OperatorAction::OperatorAction (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& position_,int32_t operatorId_,int32_t action_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
operatorId = operatorId_;
action = action_;
}
bool operator == (const OperatorAction& a, const OperatorAction& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.operatorId != b.operatorId) {
return false;
}
if (a.action != b.action) {
return false;
}
return true;
}
bool operator != (const OperatorAction& a, const OperatorAction& b) {
return !operator ==(a, b);
}
void swap(OperatorAction& a, OperatorAction& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.operatorId, b.operatorId);
swap(a.action, b.action);
}
std::ostream& operator << (std::ostream& o,const OperatorAction& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "operatorId: " << sample.operatorId<<", ";
o << "action: " << sample.action;
o <<"]";
return o;
}
// ---- ParticipantConfigurationReport:
ParticipantConfigurationReport::ParticipantConfigurationReport() :
positionIntervallVehicle (0) ,
positionIntervallPersonell (0) ,
positionIntervallAircraft (0) ,
positionTransmissionIntervall (0) ,
heightbarrier (0) ,
faultPositionHandling(TrainingAreaBase::FaultPositionHandling::FaultPositionHandling_NoChange) ,
switchingPositionIntervall(TrainingAreaBase::SwitichingPositionIntervall::SwitichingPositionIntervall_NoChange) ,
waittimeAdditionalBroadcastRequest (0) ,
factorWaittimeIncreaseHighload (0) ,
waittimeAutomaticVulnerbilityIncreaseLevel1 (0) ,
waittimeAutomaticVulnerbilityIncreaseLevel2 (0) ,
waittimeAutomaticVulnerbilityIncreaseLevel3 (0) ,
opticalCode(TrainingAreaBase::OpticalCode::OpticalCode_NoChange) ,
vulnerabilityModel (0) ,
validTimeOps (0) {
}
ParticipantConfigurationReport::ParticipantConfigurationReport (int32_t equipmentNumber_,int64_t sampleTime_,int32_t positionIntervallVehicle_,int32_t positionIntervallPersonell_,int32_t positionIntervallAircraft_,int32_t positionTransmissionIntervall_,int32_t heightbarrier_,const ::TrainingAreaBase::FaultPositionHandling& faultPositionHandling_,const ::TrainingAreaBase::SwitichingPositionIntervall& switchingPositionIntervall_,int32_t waittimeAdditionalBroadcastRequest_,int32_t factorWaittimeIncreaseHighload_,int32_t waittimeAutomaticVulnerbilityIncreaseLevel1_,int32_t waittimeAutomaticVulnerbilityIncreaseLevel2_,int32_t waittimeAutomaticVulnerbilityIncreaseLevel3_,const ::TrainingAreaBase::OpticalCode& opticalCode_,int32_t vulnerabilityModel_,int32_t validTimeOps_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
positionIntervallVehicle = positionIntervallVehicle_;
positionIntervallPersonell = positionIntervallPersonell_;
positionIntervallAircraft = positionIntervallAircraft_;
positionTransmissionIntervall = positionTransmissionIntervall_;
heightbarrier = heightbarrier_;
faultPositionHandling = faultPositionHandling_;
switchingPositionIntervall = switchingPositionIntervall_;
waittimeAdditionalBroadcastRequest = waittimeAdditionalBroadcastRequest_;
factorWaittimeIncreaseHighload = factorWaittimeIncreaseHighload_;
waittimeAutomaticVulnerbilityIncreaseLevel1 = waittimeAutomaticVulnerbilityIncreaseLevel1_;
waittimeAutomaticVulnerbilityIncreaseLevel2 = waittimeAutomaticVulnerbilityIncreaseLevel2_;
waittimeAutomaticVulnerbilityIncreaseLevel3 = waittimeAutomaticVulnerbilityIncreaseLevel3_;
opticalCode = opticalCode_;
vulnerabilityModel = vulnerabilityModel_;
validTimeOps = validTimeOps_;
}
bool operator == (const ParticipantConfigurationReport& a, const ParticipantConfigurationReport& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.positionIntervallVehicle != b.positionIntervallVehicle) {
return false;
}
if (a.positionIntervallPersonell != b.positionIntervallPersonell) {
return false;
}
if (a.positionIntervallAircraft != b.positionIntervallAircraft) {
return false;
}
if (a.positionTransmissionIntervall != b.positionTransmissionIntervall) {
return false;
}
if (a.heightbarrier != b.heightbarrier) {
return false;
}
if (a.faultPositionHandling != b.faultPositionHandling) {
return false;
}
if (a.switchingPositionIntervall != b.switchingPositionIntervall) {
return false;
}
if (a.waittimeAdditionalBroadcastRequest != b.waittimeAdditionalBroadcastRequest) {
return false;
}
if (a.factorWaittimeIncreaseHighload != b.factorWaittimeIncreaseHighload) {
return false;
}
if (a.waittimeAutomaticVulnerbilityIncreaseLevel1 != b.waittimeAutomaticVulnerbilityIncreaseLevel1) {
return false;
}
if (a.waittimeAutomaticVulnerbilityIncreaseLevel2 != b.waittimeAutomaticVulnerbilityIncreaseLevel2) {
return false;
}
if (a.waittimeAutomaticVulnerbilityIncreaseLevel3 != b.waittimeAutomaticVulnerbilityIncreaseLevel3) {
return false;
}
if (a.opticalCode != b.opticalCode) {
return false;
}
if (a.vulnerabilityModel != b.vulnerabilityModel) {
return false;
}
if (a.validTimeOps != b.validTimeOps) {
return false;
}
return true;
}
bool operator != (const ParticipantConfigurationReport& a, const ParticipantConfigurationReport& b) {
return !operator ==(a, b);
}
void swap(ParticipantConfigurationReport& a, ParticipantConfigurationReport& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.positionIntervallVehicle, b.positionIntervallVehicle);
swap(a.positionIntervallPersonell, b.positionIntervallPersonell);
swap(a.positionIntervallAircraft, b.positionIntervallAircraft);
swap(a.positionTransmissionIntervall, b.positionTransmissionIntervall);
swap(a.heightbarrier, b.heightbarrier);
swap(a.faultPositionHandling, b.faultPositionHandling);
swap(a.switchingPositionIntervall, b.switchingPositionIntervall);
swap(a.waittimeAdditionalBroadcastRequest, b.waittimeAdditionalBroadcastRequest);
swap(a.factorWaittimeIncreaseHighload, b.factorWaittimeIncreaseHighload);
swap(a.waittimeAutomaticVulnerbilityIncreaseLevel1, b.waittimeAutomaticVulnerbilityIncreaseLevel1);
swap(a.waittimeAutomaticVulnerbilityIncreaseLevel2, b.waittimeAutomaticVulnerbilityIncreaseLevel2);
swap(a.waittimeAutomaticVulnerbilityIncreaseLevel3, b.waittimeAutomaticVulnerbilityIncreaseLevel3);
swap(a.opticalCode, b.opticalCode);
swap(a.vulnerabilityModel, b.vulnerabilityModel);
swap(a.validTimeOps, b.validTimeOps);
}
std::ostream& operator << (std::ostream& o,const ParticipantConfigurationReport& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "positionIntervallVehicle: " << sample.positionIntervallVehicle<<", ";
o << "positionIntervallPersonell: " << sample.positionIntervallPersonell<<", ";
o << "positionIntervallAircraft: " << sample.positionIntervallAircraft<<", ";
o << "positionTransmissionIntervall: " << sample.positionTransmissionIntervall<<", ";
o << "heightbarrier: " << sample.heightbarrier<<", ";
o << "faultPositionHandling: " << sample.faultPositionHandling<<", ";
o << "switchingPositionIntervall: " << sample.switchingPositionIntervall<<", ";
o << "waittimeAdditionalBroadcastRequest: " << sample.waittimeAdditionalBroadcastRequest<<", ";
o << "factorWaittimeIncreaseHighload: " << sample.factorWaittimeIncreaseHighload<<", ";
o << "waittimeAutomaticVulnerbilityIncreaseLevel1: " << sample.waittimeAutomaticVulnerbilityIncreaseLevel1<<", ";
o << "waittimeAutomaticVulnerbilityIncreaseLevel2: " << sample.waittimeAutomaticVulnerbilityIncreaseLevel2<<", ";
o << "waittimeAutomaticVulnerbilityIncreaseLevel3: " << sample.waittimeAutomaticVulnerbilityIncreaseLevel3<<", ";
o << "opticalCode: " << sample.opticalCode<<", ";
o << "vulnerabilityModel: " << sample.vulnerabilityModel<<", ";
o << "validTimeOps: " << sample.validTimeOps;
o <<"]";
return o;
}
// ---- ParticipantModeReport:
ParticipantModeReport::ParticipantModeReport() :
language(ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange) ,
operationMode(ProjectDataManagement::OperationMode::OperationMode_NoChange) ,
reactivationDetoxication (0) ,
reactivationMaintenance (0) ,
reactivationMedic (0) ,
protectionModeVest(ProjectDataManagement::WphMode::WphMode_NoChange) ,
protectionModeHelmet(ProjectDataManagement::WphMode::WphMode_NoChange) ,
personellProtectionMode(ProjectDataManagement::PersonalProtection::PersonalProtection_NoChange) ,
protectionLevel(ProjectDataManagement::ProtectionLevel::ProtectionLevel_NoChange) ,
handgrenadeSearchMode(ProjectDataManagement::HandgrenadeSearchMode::HandgrenadeSearchMode_NoChange) ,
internationalMode(ProjectDataManagement::InternationalMode::InternationalMode_NoChange) ,
abcProtectionMode(ProjectDataManagement::ABCProtectionMode::ABCProtectionMode_NoChange) {
}
ParticipantModeReport::ParticipantModeReport (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::LanguageConfiguration& language_,const ::ProjectDataManagement::OperationMode& operationMode_,int32_t reactivationDetoxication_,int32_t reactivationMaintenance_,int32_t reactivationMedic_,const ::ProjectDataManagement::WphMode& protectionModeVest_,const ::ProjectDataManagement::WphMode& protectionModeHelmet_,const ::ProjectDataManagement::PersonalProtection& personellProtectionMode_,const ::ProjectDataManagement::ProtectionLevel& protectionLevel_,const ::ProjectDataManagement::HandgrenadeSearchMode& handgrenadeSearchMode_,const ::ProjectDataManagement::InternationalMode& internationalMode_,const ::ProjectDataManagement::ABCProtectionMode& abcProtectionMode_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
language = language_;
operationMode = operationMode_;
reactivationDetoxication = reactivationDetoxication_;
reactivationMaintenance = reactivationMaintenance_;
reactivationMedic = reactivationMedic_;
protectionModeVest = protectionModeVest_;
protectionModeHelmet = protectionModeHelmet_;
personellProtectionMode = personellProtectionMode_;
protectionLevel = protectionLevel_;
handgrenadeSearchMode = handgrenadeSearchMode_;
internationalMode = internationalMode_;
abcProtectionMode = abcProtectionMode_;
}
bool operator == (const ParticipantModeReport& a, const ParticipantModeReport& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.language != b.language) {
return false;
}
if (a.operationMode != b.operationMode) {
return false;
}
if (a.reactivationDetoxication != b.reactivationDetoxication) {
return false;
}
if (a.reactivationMaintenance != b.reactivationMaintenance) {
return false;
}
if (a.reactivationMedic != b.reactivationMedic) {
return false;
}
if (a.protectionModeVest != b.protectionModeVest) {
return false;
}
if (a.protectionModeHelmet != b.protectionModeHelmet) {
return false;
}
if (a.personellProtectionMode != b.personellProtectionMode) {
return false;
}
if (a.protectionLevel != b.protectionLevel) {
return false;
}
if (a.handgrenadeSearchMode != b.handgrenadeSearchMode) {
return false;
}
if (a.internationalMode != b.internationalMode) {
return false;
}
if (a.abcProtectionMode != b.abcProtectionMode) {
return false;
}
return true;
}
bool operator != (const ParticipantModeReport& a, const ParticipantModeReport& b) {
return !operator ==(a, b);
}
void swap(ParticipantModeReport& a, ParticipantModeReport& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.language, b.language);
swap(a.operationMode, b.operationMode);
swap(a.reactivationDetoxication, b.reactivationDetoxication);
swap(a.reactivationMaintenance, b.reactivationMaintenance);
swap(a.reactivationMedic, b.reactivationMedic);
swap(a.protectionModeVest, b.protectionModeVest);
swap(a.protectionModeHelmet, b.protectionModeHelmet);
swap(a.personellProtectionMode, b.personellProtectionMode);
swap(a.protectionLevel, b.protectionLevel);
swap(a.handgrenadeSearchMode, b.handgrenadeSearchMode);
swap(a.internationalMode, b.internationalMode);
swap(a.abcProtectionMode, b.abcProtectionMode);
}
std::ostream& operator << (std::ostream& o,const ParticipantModeReport& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "language: " << sample.language<<", ";
o << "operationMode: " << sample.operationMode<<", ";
o << "reactivationDetoxication: " << sample.reactivationDetoxication<<", ";
o << "reactivationMaintenance: " << sample.reactivationMaintenance<<", ";
o << "reactivationMedic: " << sample.reactivationMedic<<", ";
o << "protectionModeVest: " << sample.protectionModeVest<<", ";
o << "protectionModeHelmet: " << sample.protectionModeHelmet<<", ";
o << "personellProtectionMode: " << sample.personellProtectionMode<<", ";
o << "protectionLevel: " << sample.protectionLevel<<", ";
o << "handgrenadeSearchMode: " << sample.handgrenadeSearchMode<<", ";
o << "internationalMode: " << sample.internationalMode<<", ";
o << "abcProtectionMode: " << sample.abcProtectionMode;
o <<"]";
return o;
}
// ---- ParticipantSanitaryMaterialStockReport:
ParticipantSanitaryMaterialStockReport::ParticipantSanitaryMaterialStockReport() :
originatorEquipmentNumber (0) ,
qualification(TrainingAreaBase::Qualification::NotDefined) ,
uniqueId (0) ,
sanitaryMaterialCount (0) {
}
ParticipantSanitaryMaterialStockReport::ParticipantSanitaryMaterialStockReport (int32_t equipmentNumber_,int64_t sampleTime_,int32_t originatorEquipmentNumber_,const ::TrainingAreaBase::Qualification& qualification_,int32_t uniqueId_,int32_t sanitaryMaterialCount_,const ::omg::types::sequence< int32_t >& sanitaryMaterialStock_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
originatorEquipmentNumber = originatorEquipmentNumber_;
qualification = qualification_;
uniqueId = uniqueId_;
sanitaryMaterialCount = sanitaryMaterialCount_;
sanitaryMaterialStock = sanitaryMaterialStock_;
}
bool operator == (const ParticipantSanitaryMaterialStockReport& a, const ParticipantSanitaryMaterialStockReport& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.originatorEquipmentNumber != b.originatorEquipmentNumber) {
return false;
}
if (a.qualification != b.qualification) {
return false;
}
if (a.uniqueId != b.uniqueId) {
return false;
}
if (a.sanitaryMaterialCount != b.sanitaryMaterialCount) {
return false;
}
if (a.sanitaryMaterialStock != b.sanitaryMaterialStock) {
return false;
}
return true;
}
bool operator != (const ParticipantSanitaryMaterialStockReport& a, const ParticipantSanitaryMaterialStockReport& b) {
return !operator ==(a, b);
}
void swap(ParticipantSanitaryMaterialStockReport& a, ParticipantSanitaryMaterialStockReport& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.originatorEquipmentNumber, b.originatorEquipmentNumber);
swap(a.qualification, b.qualification);
swap(a.uniqueId, b.uniqueId);
swap(a.sanitaryMaterialCount, b.sanitaryMaterialCount);
swap(a.sanitaryMaterialStock, b.sanitaryMaterialStock);
}
std::ostream& operator << (std::ostream& o,const ParticipantSanitaryMaterialStockReport& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "originatorEquipmentNumber: " << sample.originatorEquipmentNumber<<", ";
o << "qualification: " << sample.qualification<<", ";
o << "uniqueId: " << sample.uniqueId<<", ";
o << "sanitaryMaterialCount: " << sample.sanitaryMaterialCount<<", ";
o << "sanitaryMaterialStock: " << sample.sanitaryMaterialStock;
o <<"]";
return o;
}
// ---- ParticipantSanitation:
ParticipantSanitation::ParticipantSanitation() :
originatorEquipmentNumber (0) ,
qualification(TrainingAreaBase::Qualification::NotDefined) ,
uniqueId (0) ,
proceduresTaken (0ll) ,
sanitationResult(TrainingAreaBase::SanitationResult::NoEffect) ,
sanitationEvaluation(TrainingAreaBase::SanitationEvaluation::NotApplicable) {
}
ParticipantSanitation::ParticipantSanitation (int32_t equipmentNumber_,int64_t sampleTime_,int32_t originatorEquipmentNumber_,const ::TrainingAreaBase::Qualification& qualification_,int32_t uniqueId_,int64_t proceduresTaken_,const ::TrainingAreaBase::SanitationResult& sanitationResult_,const ::TrainingAreaBase::SanitationEvaluation& sanitationEvaluation_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
originatorEquipmentNumber = originatorEquipmentNumber_;
qualification = qualification_;
uniqueId = uniqueId_;
proceduresTaken = proceduresTaken_;
sanitationResult = sanitationResult_;
sanitationEvaluation = sanitationEvaluation_;
}
bool operator == (const ParticipantSanitation& a, const ParticipantSanitation& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.originatorEquipmentNumber != b.originatorEquipmentNumber) {
return false;
}
if (a.qualification != b.qualification) {
return false;
}
if (a.uniqueId != b.uniqueId) {
return false;
}
if (a.proceduresTaken != b.proceduresTaken) {
return false;
}
if (a.sanitationResult != b.sanitationResult) {
return false;
}
if (a.sanitationEvaluation != b.sanitationEvaluation) {
return false;
}
return true;
}
bool operator != (const ParticipantSanitation& a, const ParticipantSanitation& b) {
return !operator ==(a, b);
}
void swap(ParticipantSanitation& a, ParticipantSanitation& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.originatorEquipmentNumber, b.originatorEquipmentNumber);
swap(a.qualification, b.qualification);
swap(a.uniqueId, b.uniqueId);
swap(a.proceduresTaken, b.proceduresTaken);
swap(a.sanitationResult, b.sanitationResult);
swap(a.sanitationEvaluation, b.sanitationEvaluation);
}
std::ostream& operator << (std::ostream& o,const ParticipantSanitation& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "originatorEquipmentNumber: " << sample.originatorEquipmentNumber<<", ";
o << "qualification: " << sample.qualification<<", ";
o << "uniqueId: " << sample.uniqueId<<", ";
o << "proceduresTaken: " << sample.proceduresTaken<<", ";
o << "sanitationResult: " << sample.sanitationResult<<", ";
o << "sanitationEvaluation: " << sample.sanitationEvaluation;
o <<"]";
return o;
}
// ---- ParticipantSanitationRepair:
ParticipantSanitationRepair::ParticipantSanitationRepair() :
originatorType(ProjectDataManagement::StateChangeOriginator::StateChangeOriginator_Unknown) ,
equipmentNumberOrigin (0) ,
stateStart(ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange) ,
typeOfTreatment (0) ,
triage (0) ,
tyeOfDamage (0) ,
stateResult(ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange) ,
treatmentResult(TrainingAreaBase::TreatmentResult::None) ,
triagePriority (0) ,
fullState (0) ,
timeOfTreatment (0) ,
timeOfRecovery (0) {
}
ParticipantSanitationRepair::ParticipantSanitationRepair (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::StateChangeOriginator& originatorType_,int32_t equipmentNumberOrigin_,const ::ProjectDataManagement::VulnerabilityState& stateStart_,int32_t typeOfTreatment_,int32_t triage_,int32_t tyeOfDamage_,const ::ProjectDataManagement::VulnerabilityState& stateResult_,const ::TrainingAreaBase::TreatmentResult& treatmentResult_,int32_t triagePriority_,int32_t fullState_,int32_t timeOfTreatment_,int32_t timeOfRecovery_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
originatorType = originatorType_;
equipmentNumberOrigin = equipmentNumberOrigin_;
stateStart = stateStart_;
typeOfTreatment = typeOfTreatment_;
triage = triage_;
tyeOfDamage = tyeOfDamage_;
stateResult = stateResult_;
treatmentResult = treatmentResult_;
triagePriority = triagePriority_;
fullState = fullState_;
timeOfTreatment = timeOfTreatment_;
timeOfRecovery = timeOfRecovery_;
}
bool operator == (const ParticipantSanitationRepair& a, const ParticipantSanitationRepair& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.originatorType != b.originatorType) {
return false;
}
if (a.equipmentNumberOrigin != b.equipmentNumberOrigin) {
return false;
}
if (a.stateStart != b.stateStart) {
return false;
}
if (a.typeOfTreatment != b.typeOfTreatment) {
return false;
}
if (a.triage != b.triage) {
return false;
}
if (a.tyeOfDamage != b.tyeOfDamage) {
return false;
}
if (a.stateResult != b.stateResult) {
return false;
}
if (a.treatmentResult != b.treatmentResult) {
return false;
}
if (a.triagePriority != b.triagePriority) {
return false;
}
if (a.fullState != b.fullState) {
return false;
}
if (a.timeOfTreatment != b.timeOfTreatment) {
return false;
}
if (a.timeOfRecovery != b.timeOfRecovery) {
return false;
}
return true;
}
bool operator != (const ParticipantSanitationRepair& a, const ParticipantSanitationRepair& b) {
return !operator ==(a, b);
}
void swap(ParticipantSanitationRepair& a, ParticipantSanitationRepair& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.originatorType, b.originatorType);
swap(a.equipmentNumberOrigin, b.equipmentNumberOrigin);
swap(a.stateStart, b.stateStart);
swap(a.typeOfTreatment, b.typeOfTreatment);
swap(a.triage, b.triage);
swap(a.tyeOfDamage, b.tyeOfDamage);
swap(a.stateResult, b.stateResult);
swap(a.treatmentResult, b.treatmentResult);
swap(a.triagePriority, b.triagePriority);
swap(a.fullState, b.fullState);
swap(a.timeOfTreatment, b.timeOfTreatment);
swap(a.timeOfRecovery, b.timeOfRecovery);
}
std::ostream& operator << (std::ostream& o,const ParticipantSanitationRepair& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "originatorType: " << sample.originatorType<<", ";
o << "equipmentNumberOrigin: " << sample.equipmentNumberOrigin<<", ";
o << "stateStart: " << sample.stateStart<<", ";
o << "typeOfTreatment: " << sample.typeOfTreatment<<", ";
o << "triage: " << sample.triage<<", ";
o << "tyeOfDamage: " << sample.tyeOfDamage<<", ";
o << "stateResult: " << sample.stateResult<<", ";
o << "treatmentResult: " << sample.treatmentResult<<", ";
o << "triagePriority: " << sample.triagePriority<<", ";
o << "fullState: " << sample.fullState<<", ";
o << "timeOfTreatment: " << sample.timeOfTreatment<<", ";
o << "timeOfRecovery: " << sample.timeOfRecovery;
o <<"]";
return o;
}
// ---- ParticipantSwVersions:
ParticipantSwVersions::ParticipantSwVersions() {
}
ParticipantSwVersions::ParticipantSwVersions (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< ::TrainingAreaBase::EquipmentSwVersion >& equipments_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
equipments = equipments_;
}
bool operator == (const ParticipantSwVersions& a, const ParticipantSwVersions& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.equipments != b.equipments) {
return false;
}
return true;
}
bool operator != (const ParticipantSwVersions& a, const ParticipantSwVersions& b) {
return !operator ==(a, b);
}
void swap(ParticipantSwVersions& a, ParticipantSwVersions& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.equipments, b.equipments);
}
std::ostream& operator << (std::ostream& o,const ParticipantSwVersions& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "equipments: " << sample.equipments;
o <<"]";
return o;
}
// ---- Reammunition:
Reammunition::Reammunition() :
chargeTypeId (0) ,
newStock (0) ,
newDefaultStock (0) ,
tracerRatio (0) {
}
Reammunition::Reammunition (int32_t chargeTypeId_,int32_t newStock_,int32_t newDefaultStock_,int32_t tracerRatio_) {
chargeTypeId = chargeTypeId_;
newStock = newStock_;
newDefaultStock = newDefaultStock_;
tracerRatio = tracerRatio_;
}
bool operator == (const Reammunition& a, const Reammunition& b) {
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.newStock != b.newStock) {
return false;
}
if (a.newDefaultStock != b.newDefaultStock) {
return false;
}
if (a.tracerRatio != b.tracerRatio) {
return false;
}
return true;
}
bool operator != (const Reammunition& a, const Reammunition& b) {
return !operator ==(a, b);
}
void swap(Reammunition& a, Reammunition& b) noexcept
{
using std::swap;
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.newStock, b.newStock);
swap(a.newDefaultStock, b.newDefaultStock);
swap(a.tracerRatio, b.tracerRatio);
}
std::ostream& operator << (std::ostream& o,const Reammunition& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "newStock: " << sample.newStock<<", ";
o << "newDefaultStock: " << sample.newDefaultStock<<", ";
o << "tracerRatio: " << sample.tracerRatio;
o <<"]";
return o;
}
// ---- RestoreRadioReadiness:
RestoreRadioReadiness::RestoreRadioReadiness() :
readinessLossTime (0) ,
readinessRestoreTime (0) {
}
RestoreRadioReadiness::RestoreRadioReadiness (int32_t equipmentNumber_,int64_t sampleTime_,const ::Core::GeoPosition2D& readinessLossPosition_,int32_t readinessLossTime_,const ::Core::GeoPosition2D& readinessRestorePosition_,int32_t readinessRestoreTime_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
readinessLossPosition = readinessLossPosition_;
readinessLossTime = readinessLossTime_;
readinessRestorePosition = readinessRestorePosition_;
readinessRestoreTime = readinessRestoreTime_;
}
bool operator == (const RestoreRadioReadiness& a, const RestoreRadioReadiness& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.readinessLossPosition != b.readinessLossPosition) {
return false;
}
if (a.readinessLossTime != b.readinessLossTime) {
return false;
}
if (a.readinessRestorePosition != b.readinessRestorePosition) {
return false;
}
if (a.readinessRestoreTime != b.readinessRestoreTime) {
return false;
}
return true;
}
bool operator != (const RestoreRadioReadiness& a, const RestoreRadioReadiness& b) {
return !operator ==(a, b);
}
void swap(RestoreRadioReadiness& a, RestoreRadioReadiness& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.readinessLossPosition, b.readinessLossPosition);
swap(a.readinessLossTime, b.readinessLossTime);
swap(a.readinessRestorePosition, b.readinessRestorePosition);
swap(a.readinessRestoreTime, b.readinessRestoreTime);
}
std::ostream& operator << (std::ostream& o,const RestoreRadioReadiness& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "readinessLossPosition: " << sample.readinessLossPosition<<", ";
o << "readinessLossTime: " << sample.readinessLossTime<<", ";
o << "readinessRestorePosition: " << sample.readinessRestorePosition<<", ";
o << "readinessRestoreTime: " << sample.readinessRestoreTime;
o <<"]";
return o;
}
// ---- SendCesHitInformation:
SendCesHitInformation::SendCesHitInformation() :
originatorId (0) ,
originatorEquipmentNumber (0) ,
chargeTypeId (0) ,
directionDegree (0) ,
distanceToOrignator (0) ,
effectPercent (0) ,
effectTime (0ll) {
}
SendCesHitInformation::SendCesHitInformation (int32_t equipmentNumber_,int32_t participantId_,int32_t originatorId_,int32_t originatorEquipmentNumber_,int32_t chargeTypeId_,int32_t directionDegree_,int32_t distanceToOrignator_,int32_t effectPercent_,int64_t effectTime_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
originatorId = originatorId_;
originatorEquipmentNumber = originatorEquipmentNumber_;
chargeTypeId = chargeTypeId_;
directionDegree = directionDegree_;
distanceToOrignator = distanceToOrignator_;
effectPercent = effectPercent_;
effectTime = effectTime_;
}
bool operator == (const SendCesHitInformation& a, const SendCesHitInformation& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.originatorId != b.originatorId) {
return false;
}
if (a.originatorEquipmentNumber != b.originatorEquipmentNumber) {
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.directionDegree != b.directionDegree) {
return false;
}
if (a.distanceToOrignator != b.distanceToOrignator) {
return false;
}
if (a.effectPercent != b.effectPercent) {
return false;
}
if (a.effectTime != b.effectTime) {
return false;
}
return true;
}
bool operator != (const SendCesHitInformation& a, const SendCesHitInformation& b) {
return !operator ==(a, b);
}
void swap(SendCesHitInformation& a, SendCesHitInformation& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.originatorId, b.originatorId);
swap(a.originatorEquipmentNumber, b.originatorEquipmentNumber);
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.directionDegree, b.directionDegree);
swap(a.distanceToOrignator, b.distanceToOrignator);
swap(a.effectPercent, b.effectPercent);
swap(a.effectTime, b.effectTime);
}
std::ostream& operator << (std::ostream& o,const SendCesHitInformation& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "originatorId: " << sample.originatorId<<", ";
o << "originatorEquipmentNumber: " << sample.originatorEquipmentNumber<<", ";
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "directionDegree: " << sample.directionDegree<<", ";
o << "distanceToOrignator: " << sample.distanceToOrignator<<", ";
o << "effectPercent: " << sample.effectPercent<<", ";
o << "effectTime: " << sample.effectTime;
o <<"]";
return o;
}
// ---- SendCesHitRequest:
SendCesHitRequest::SendCesHitRequest() :
chargeTypeId (0) ,
aesId (0) ,
originatorEquipmentNumber (0) ,
remainEffectPercent (0) ,
effectTime (0ll) ,
pdmEventType(ProjectDataManagement::PdmEventType::EventType_Unknown) ,
partyId (0) ,
mineId (0) {
}
SendCesHitRequest::SendCesHitRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t chargeTypeId_,int32_t aesId_,int32_t originatorEquipmentNumber_,int32_t remainEffectPercent_,const ::TrainingAreaBase::TabPosition& position_,int64_t effectTime_,const ::ProjectDataManagement::PdmEventType& pdmEventType_,int32_t partyId_,int32_t mineId_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
chargeTypeId = chargeTypeId_;
aesId = aesId_;
originatorEquipmentNumber = originatorEquipmentNumber_;
remainEffectPercent = remainEffectPercent_;
position = position_;
effectTime = effectTime_;
pdmEventType = pdmEventType_;
partyId = partyId_;
mineId = mineId_;
}
bool operator == (const SendCesHitRequest& a, const SendCesHitRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.chargeTypeId != b.chargeTypeId) {
return false;
}
if (a.aesId != b.aesId) {
return false;
}
if (a.originatorEquipmentNumber != b.originatorEquipmentNumber) {
return false;
}
if (a.remainEffectPercent != b.remainEffectPercent) {
return false;
}
if (a.position != b.position) {
return false;
}
if (a.effectTime != b.effectTime) {
return false;
}
if (a.pdmEventType != b.pdmEventType) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
if (a.mineId != b.mineId) {
return false;
}
return true;
}
bool operator != (const SendCesHitRequest& a, const SendCesHitRequest& b) {
return !operator ==(a, b);
}
void swap(SendCesHitRequest& a, SendCesHitRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.chargeTypeId, b.chargeTypeId);
swap(a.aesId, b.aesId);
swap(a.originatorEquipmentNumber, b.originatorEquipmentNumber);
swap(a.remainEffectPercent, b.remainEffectPercent);
swap(a.position, b.position);
swap(a.effectTime, b.effectTime);
swap(a.pdmEventType, b.pdmEventType);
swap(a.partyId, b.partyId);
swap(a.mineId, b.mineId);
}
std::ostream& operator << (std::ostream& o,const SendCesHitRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "chargeTypeId: " << sample.chargeTypeId<<", ";
o << "aesId: " << sample.aesId<<", ";
o << "originatorEquipmentNumber: " << sample.originatorEquipmentNumber<<", ";
o << "remainEffectPercent: " << sample.remainEffectPercent<<", ";
o << "position: " << sample.position<<", ";
o << "effectTime: " << sample.effectTime<<", ";
o << "pdmEventType: " << sample.pdmEventType<<", ";
o << "partyId: " << sample.partyId<<", ";
o << "mineId: " << sample.mineId;
o <<"]";
return o;
}
// ---- SendControlDataRequest:
SendControlDataRequest::SendControlDataRequest() :
controlCode(TrainingAreaBase::ControlDataCode::rsv) {
}
SendControlDataRequest::SendControlDataRequest (int32_t equipmentNumber_,int32_t participantId_,const ::TrainingAreaBase::ControlDataCode& controlCode_,const ::omg::types::sequence< uint8_t >& controlData_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
controlCode = controlCode_;
controlData = controlData_;
}
bool operator == (const SendControlDataRequest& a, const SendControlDataRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.controlCode != b.controlCode) {
return false;
}
if (a.controlData != b.controlData) {
return false;
}
return true;
}
bool operator != (const SendControlDataRequest& a, const SendControlDataRequest& b) {
return !operator ==(a, b);
}
void swap(SendControlDataRequest& a, SendControlDataRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.controlCode, b.controlCode);
swap(a.controlData, b.controlData);
}
std::ostream& operator << (std::ostream& o,const SendControlDataRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "controlCode: " << sample.controlCode<<", ";
o << "controlData: " << sample.controlData;
o <<"]";
return o;
}
// ---- SendEquipmentMessageRequest:
SendEquipmentMessageRequest::SendEquipmentMessageRequest() :
requestId (0) {
}
SendEquipmentMessageRequest::SendEquipmentMessageRequest (int32_t requestId_,const ::omg::types::sequence< int32_t >& equipmentNumbers_,const ::omg::types::optional< int32_t >& messageId_,const ::omg::types::optional< int32_t >& sender_,const ::omg::types::optional< std::string >& subject_,const ::omg::types::optional< std::string >& message_) {
requestId = requestId_;
equipmentNumbers = equipmentNumbers_;
messageId = messageId_;
sender = sender_;
subject = subject_;
message = message_;
}
bool operator == (const SendEquipmentMessageRequest& a, const SendEquipmentMessageRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.equipmentNumbers != b.equipmentNumbers) {
return false;
}
if (a.messageId != b.messageId) {
return false;
}
if (a.sender != b.sender) {
return false;
}
if (a.subject != b.subject) {
return false;
}
if (a.message != b.message) {
return false;
}
return true;
}
bool operator != (const SendEquipmentMessageRequest& a, const SendEquipmentMessageRequest& b) {
return !operator ==(a, b);
}
void swap(SendEquipmentMessageRequest& a, SendEquipmentMessageRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.equipmentNumbers, b.equipmentNumbers);
swap(a.messageId, b.messageId);
swap(a.sender, b.sender);
swap(a.subject, b.subject);
swap(a.message, b.message);
}
std::ostream& operator << (std::ostream& o,const SendEquipmentMessageRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "equipmentNumbers: " << sample.equipmentNumbers<<", ";
o << "messageId: " << sample.messageId<<", ";
o << "sender: " << sample.sender<<", ";
o << "subject: " << sample.subject<<", ";
o << "message: " << sample.message;
o <<"]";
return o;
}
// ---- SendExConfirmationReportRequest:
SendExConfirmationReportRequest::SendExConfirmationReportRequest() :
requestId (0) ,
participantId (0) ,
partyId (0) ,
reference ("") ,
unitIdentifier ("") ,
identifier ("") {
}
SendExConfirmationReportRequest::SendExConfirmationReportRequest (int32_t requestId_,int32_t participantId_,int32_t partyId_,const ::omg::types::string_view& reference_,const ::omg::types::string_view& unitIdentifier_,const ::omg::types::string_view& identifier_) {
requestId = requestId_;
participantId = participantId_;
partyId = partyId_;
reference = reference_;
unitIdentifier = unitIdentifier_;
identifier = identifier_;
}
bool operator == (const SendExConfirmationReportRequest& a, const SendExConfirmationReportRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.participantId != b.participantId) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.unitIdentifier != b.unitIdentifier) {
return false;
}
if (a.identifier != b.identifier) {
return false;
}
return true;
}
bool operator != (const SendExConfirmationReportRequest& a, const SendExConfirmationReportRequest& b) {
return !operator ==(a, b);
}
void swap(SendExConfirmationReportRequest& a, SendExConfirmationReportRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.participantId, b.participantId);
swap(a.partyId, b.partyId);
swap(a.reference, b.reference);
swap(a.unitIdentifier, b.unitIdentifier);
swap(a.identifier, b.identifier);
}
std::ostream& operator << (std::ostream& o,const SendExConfirmationReportRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "participantId: " << sample.participantId<<", ";
o << "partyId: " << sample.partyId<<", ";
o << "reference: " << sample.reference<<", ";
o << "unitIdentifier: " << sample.unitIdentifier<<", ";
o << "identifier: " << sample.identifier;
o <<"]";
return o;
}
// ---- SendExFireReadinessRequest:
SendExFireReadinessRequest::SendExFireReadinessRequest() :
requestId (0) ,
participantId (0) ,
partyId (0) ,
reference ("") {
}
SendExFireReadinessRequest::SendExFireReadinessRequest (int32_t requestId_,int32_t participantId_,int32_t partyId_,const ::omg::types::string_view& reference_) {
requestId = requestId_;
participantId = participantId_;
partyId = partyId_;
reference = reference_;
}
bool operator == (const SendExFireReadinessRequest& a, const SendExFireReadinessRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.participantId != b.participantId) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
if (a.reference != b.reference) {
return false;
}
return true;
}
bool operator != (const SendExFireReadinessRequest& a, const SendExFireReadinessRequest& b) {
return !operator ==(a, b);
}
void swap(SendExFireReadinessRequest& a, SendExFireReadinessRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.participantId, b.participantId);
swap(a.partyId, b.partyId);
swap(a.reference, b.reference);
}
std::ostream& operator << (std::ostream& o,const SendExFireReadinessRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "participantId: " << sample.participantId<<", ";
o << "partyId: " << sample.partyId<<", ";
o << "reference: " << sample.reference;
o <<"]";
return o;
}
// ---- SendExFiredReportRequest:
SendExFiredReportRequest::SendExFiredReportRequest() :
requestId (0) ,
participantId (0) ,
partyId (0) ,
reference ("") ,
unitIdentifier ("") ,
identifier ("") {
}
SendExFiredReportRequest::SendExFiredReportRequest (int32_t requestId_,int32_t participantId_,int32_t partyId_,const ::omg::types::string_view& reference_,const ::omg::types::string_view& unitIdentifier_,const ::omg::types::string_view& identifier_) {
requestId = requestId_;
participantId = participantId_;
partyId = partyId_;
reference = reference_;
unitIdentifier = unitIdentifier_;
identifier = identifier_;
}
bool operator == (const SendExFiredReportRequest& a, const SendExFiredReportRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.participantId != b.participantId) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
if (a.reference != b.reference) {
return false;
}
if (a.unitIdentifier != b.unitIdentifier) {
return false;
}
if (a.identifier != b.identifier) {
return false;
}
return true;
}
bool operator != (const SendExFiredReportRequest& a, const SendExFiredReportRequest& b) {
return !operator ==(a, b);
}
void swap(SendExFiredReportRequest& a, SendExFiredReportRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.participantId, b.participantId);
swap(a.partyId, b.partyId);
swap(a.reference, b.reference);
swap(a.unitIdentifier, b.unitIdentifier);
swap(a.identifier, b.identifier);
}
std::ostream& operator << (std::ostream& o,const SendExFiredReportRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "participantId: " << sample.participantId<<", ";
o << "partyId: " << sample.partyId<<", ";
o << "reference: " << sample.reference<<", ";
o << "unitIdentifier: " << sample.unitIdentifier<<", ";
o << "identifier: " << sample.identifier;
o <<"]";
return o;
}
// ---- SendFireSmokeMarkerDataRequest:
SendFireSmokeMarkerDataRequest::SendFireSmokeMarkerDataRequest() {
}
SendFireSmokeMarkerDataRequest::SendFireSmokeMarkerDataRequest (int32_t equipmentNumber_,int32_t participantId_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
payload = payload_;
}
bool operator == (const SendFireSmokeMarkerDataRequest& a, const SendFireSmokeMarkerDataRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const SendFireSmokeMarkerDataRequest& a, const SendFireSmokeMarkerDataRequest& b) {
return !operator ==(a, b);
}
void swap(SendFireSmokeMarkerDataRequest& a, SendFireSmokeMarkerDataRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const SendFireSmokeMarkerDataRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- SendGeopairingDataRequest:
SendGeopairingDataRequest::SendGeopairingDataRequest() {
}
SendGeopairingDataRequest::SendGeopairingDataRequest (int32_t equipmentNumber_,int32_t participantId_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
payload = payload_;
}
bool operator == (const SendGeopairingDataRequest& a, const SendGeopairingDataRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const SendGeopairingDataRequest& a, const SendGeopairingDataRequest& b) {
return !operator ==(a, b);
}
void swap(SendGeopairingDataRequest& a, SendGeopairingDataRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const SendGeopairingDataRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- SendLanguageSelectionRequest:
SendLanguageSelectionRequest::SendLanguageSelectionRequest() :
language(ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange) {
}
SendLanguageSelectionRequest::SendLanguageSelectionRequest (int32_t equipmentNumber_,int32_t participantId_,const ::ProjectDataManagement::LanguageConfiguration& language_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
language = language_;
}
bool operator == (const SendLanguageSelectionRequest& a, const SendLanguageSelectionRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.language != b.language) {
return false;
}
return true;
}
bool operator != (const SendLanguageSelectionRequest& a, const SendLanguageSelectionRequest& b) {
return !operator ==(a, b);
}
void swap(SendLanguageSelectionRequest& a, SendLanguageSelectionRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.language, b.language);
}
std::ostream& operator << (std::ostream& o,const SendLanguageSelectionRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "language: " << sample.language;
o <<"]";
return o;
}
// ---- SendModifyUasStateRequest:
SendModifyUasStateRequest::SendModifyUasStateRequest() :
requestId (0) ,
uasId (0) ,
uasState(ProjectDataManagement::UasState::UasState_Undefined) ,
equipmentNumber (0) {
}
SendModifyUasStateRequest::SendModifyUasStateRequest (int32_t requestId_,int32_t uasId_,const ::ProjectDataManagement::UasState& uasState_,int32_t equipmentNumber_) {
requestId = requestId_;
uasId = uasId_;
uasState = uasState_;
equipmentNumber = equipmentNumber_;
}
bool operator == (const SendModifyUasStateRequest& a, const SendModifyUasStateRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.uasId != b.uasId) {
return false;
}
if (a.uasState != b.uasState) {
return false;
}
if (a.equipmentNumber != b.equipmentNumber) {
return false;
}
return true;
}
bool operator != (const SendModifyUasStateRequest& a, const SendModifyUasStateRequest& b) {
return !operator ==(a, b);
}
void swap(SendModifyUasStateRequest& a, SendModifyUasStateRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.uasId, b.uasId);
swap(a.uasState, b.uasState);
swap(a.equipmentNumber, b.equipmentNumber);
}
std::ostream& operator << (std::ostream& o,const SendModifyUasStateRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "uasId: " << sample.uasId<<", ";
o << "uasState: " << sample.uasState<<", ";
o << "equipmentNumber: " << sample.equipmentNumber;
o <<"]";
return o;
}
// ---- SendOcCommandRequest:
SendOcCommandRequest::SendOcCommandRequest() :
requestId (0) ,
action (0) {
}
SendOcCommandRequest::SendOcCommandRequest (int32_t requestId_,const ::omg::types::sequence< int32_t >& equipmentNumbers_,int32_t action_) {
requestId = requestId_;
equipmentNumbers = equipmentNumbers_;
action = action_;
}
bool operator == (const SendOcCommandRequest& a, const SendOcCommandRequest& b) {
if (a.requestId != b.requestId) {
return false;
}
if (a.equipmentNumbers != b.equipmentNumbers) {
return false;
}
if (a.action != b.action) {
return false;
}
return true;
}
bool operator != (const SendOcCommandRequest& a, const SendOcCommandRequest& b) {
return !operator ==(a, b);
}
void swap(SendOcCommandRequest& a, SendOcCommandRequest& b) noexcept
{
using std::swap;
swap(a.requestId, b.requestId);
swap(a.equipmentNumbers, b.equipmentNumbers);
swap(a.action, b.action);
}
std::ostream& operator << (std::ostream& o,const SendOcCommandRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "requestId: " << sample.requestId<<", ";
o << "equipmentNumbers: " << sample.equipmentNumbers<<", ";
o << "action: " << sample.action;
o <<"]";
return o;
}
// ---- SendOcDataRequest:
SendOcDataRequest::SendOcDataRequest() {
}
SendOcDataRequest::SendOcDataRequest (int32_t equipmentNumber_,int32_t participantId_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
payload = payload_;
}
bool operator == (const SendOcDataRequest& a, const SendOcDataRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const SendOcDataRequest& a, const SendOcDataRequest& b) {
return !operator ==(a, b);
}
void swap(SendOcDataRequest& a, SendOcDataRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const SendOcDataRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- SendParticipantBeStillWarningRequest:
SendParticipantBeStillWarningRequest::SendParticipantBeStillWarningRequest() :
data (0) {
}
SendParticipantBeStillWarningRequest::SendParticipantBeStillWarningRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t data_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
data = data_;
}
bool operator == (const SendParticipantBeStillWarningRequest& a, const SendParticipantBeStillWarningRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.data != b.data) {
return false;
}
return true;
}
bool operator != (const SendParticipantBeStillWarningRequest& a, const SendParticipantBeStillWarningRequest& b) {
return !operator ==(a, b);
}
void swap(SendParticipantBeStillWarningRequest& a, SendParticipantBeStillWarningRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.data, b.data);
}
std::ostream& operator << (std::ostream& o,const SendParticipantBeStillWarningRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "data: " << sample.data;
o <<"]";
return o;
}
// ---- SendParticipantBlockedAreaRequest:
SendParticipantBlockedAreaRequest::SendParticipantBlockedAreaRequest() :
blockedAreaMode(TrainingAreaBase::BlockedAreaMode::Enter) {
}
SendParticipantBlockedAreaRequest::SendParticipantBlockedAreaRequest (int32_t equipmentNumber_,int32_t participantId_,const ::TrainingAreaBase::BlockedAreaMode& blockedAreaMode_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
blockedAreaMode = blockedAreaMode_;
}
bool operator == (const SendParticipantBlockedAreaRequest& a, const SendParticipantBlockedAreaRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.blockedAreaMode != b.blockedAreaMode) {
return false;
}
return true;
}
bool operator != (const SendParticipantBlockedAreaRequest& a, const SendParticipantBlockedAreaRequest& b) {
return !operator ==(a, b);
}
void swap(SendParticipantBlockedAreaRequest& a, SendParticipantBlockedAreaRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.blockedAreaMode, b.blockedAreaMode);
}
std::ostream& operator << (std::ostream& o,const SendParticipantBlockedAreaRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "blockedAreaMode: " << sample.blockedAreaMode;
o <<"]";
return o;
}
// ---- SendParticipantConfigurationRequest:
SendParticipantConfigurationRequest::SendParticipantConfigurationRequest() :
positionIntervallVehicle (0) ,
positionIntervallPersonell (0) ,
positionIntervallAircraft (0) ,
positionTransmissionIntervall (0) ,
heightbarrier (0) ,
faultPositionHandling(TrainingAreaBase::FaultPositionHandling::FaultPositionHandling_NoChange) ,
switchingPositionIntervall(TrainingAreaBase::SwitichingPositionIntervall::SwitichingPositionIntervall_NoChange) ,
waittimeAdditionalBroadcastDemand (0) ,
factorWaittimeIncreaseHighload (0) ,
waittimeAutomaticVulnerabilityIncreaseLevel1 (0) ,
waittimeAutomaticVulnerabilityIncreaseLevel2 (0) ,
waittimeAutomaticVulnerabilityIncreaseLevel3 (0) ,
opticalCode(TrainingAreaBase::OpticalCode::OpticalCode_NoChange) ,
vulnerabilityModel (0) ,
validTimeOps (0) {
}
SendParticipantConfigurationRequest::SendParticipantConfigurationRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t positionIntervallVehicle_,int32_t positionIntervallPersonell_,int32_t positionIntervallAircraft_,int32_t positionTransmissionIntervall_,int32_t heightbarrier_,const ::TrainingAreaBase::FaultPositionHandling& faultPositionHandling_,const ::TrainingAreaBase::SwitichingPositionIntervall& switchingPositionIntervall_,int32_t waittimeAdditionalBroadcastDemand_,int32_t factorWaittimeIncreaseHighload_,int32_t waittimeAutomaticVulnerabilityIncreaseLevel1_,int32_t waittimeAutomaticVulnerabilityIncreaseLevel2_,int32_t waittimeAutomaticVulnerabilityIncreaseLevel3_,const ::TrainingAreaBase::OpticalCode& opticalCode_,int32_t vulnerabilityModel_,int32_t validTimeOps_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
positionIntervallVehicle = positionIntervallVehicle_;
positionIntervallPersonell = positionIntervallPersonell_;
positionIntervallAircraft = positionIntervallAircraft_;
positionTransmissionIntervall = positionTransmissionIntervall_;
heightbarrier = heightbarrier_;
faultPositionHandling = faultPositionHandling_;
switchingPositionIntervall = switchingPositionIntervall_;
waittimeAdditionalBroadcastDemand = waittimeAdditionalBroadcastDemand_;
factorWaittimeIncreaseHighload = factorWaittimeIncreaseHighload_;
waittimeAutomaticVulnerabilityIncreaseLevel1 = waittimeAutomaticVulnerabilityIncreaseLevel1_;
waittimeAutomaticVulnerabilityIncreaseLevel2 = waittimeAutomaticVulnerabilityIncreaseLevel2_;
waittimeAutomaticVulnerabilityIncreaseLevel3 = waittimeAutomaticVulnerabilityIncreaseLevel3_;
opticalCode = opticalCode_;
vulnerabilityModel = vulnerabilityModel_;
validTimeOps = validTimeOps_;
}
bool operator == (const SendParticipantConfigurationRequest& a, const SendParticipantConfigurationRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.positionIntervallVehicle != b.positionIntervallVehicle) {
return false;
}
if (a.positionIntervallPersonell != b.positionIntervallPersonell) {
return false;
}
if (a.positionIntervallAircraft != b.positionIntervallAircraft) {
return false;
}
if (a.positionTransmissionIntervall != b.positionTransmissionIntervall) {
return false;
}
if (a.heightbarrier != b.heightbarrier) {
return false;
}
if (a.faultPositionHandling != b.faultPositionHandling) {
return false;
}
if (a.switchingPositionIntervall != b.switchingPositionIntervall) {
return false;
}
if (a.waittimeAdditionalBroadcastDemand != b.waittimeAdditionalBroadcastDemand) {
return false;
}
if (a.factorWaittimeIncreaseHighload != b.factorWaittimeIncreaseHighload) {
return false;
}
if (a.waittimeAutomaticVulnerabilityIncreaseLevel1 != b.waittimeAutomaticVulnerabilityIncreaseLevel1) {
return false;
}
if (a.waittimeAutomaticVulnerabilityIncreaseLevel2 != b.waittimeAutomaticVulnerabilityIncreaseLevel2) {
return false;
}
if (a.waittimeAutomaticVulnerabilityIncreaseLevel3 != b.waittimeAutomaticVulnerabilityIncreaseLevel3) {
return false;
}
if (a.opticalCode != b.opticalCode) {
return false;
}
if (a.vulnerabilityModel != b.vulnerabilityModel) {
return false;
}
if (a.validTimeOps != b.validTimeOps) {
return false;
}
return true;
}
bool operator != (const SendParticipantConfigurationRequest& a, const SendParticipantConfigurationRequest& b) {
return !operator ==(a, b);
}
void swap(SendParticipantConfigurationRequest& a, SendParticipantConfigurationRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.positionIntervallVehicle, b.positionIntervallVehicle);
swap(a.positionIntervallPersonell, b.positionIntervallPersonell);
swap(a.positionIntervallAircraft, b.positionIntervallAircraft);
swap(a.positionTransmissionIntervall, b.positionTransmissionIntervall);
swap(a.heightbarrier, b.heightbarrier);
swap(a.faultPositionHandling, b.faultPositionHandling);
swap(a.switchingPositionIntervall, b.switchingPositionIntervall);
swap(a.waittimeAdditionalBroadcastDemand, b.waittimeAdditionalBroadcastDemand);
swap(a.factorWaittimeIncreaseHighload, b.factorWaittimeIncreaseHighload);
swap(a.waittimeAutomaticVulnerabilityIncreaseLevel1, b.waittimeAutomaticVulnerabilityIncreaseLevel1);
swap(a.waittimeAutomaticVulnerabilityIncreaseLevel2, b.waittimeAutomaticVulnerabilityIncreaseLevel2);
swap(a.waittimeAutomaticVulnerabilityIncreaseLevel3, b.waittimeAutomaticVulnerabilityIncreaseLevel3);
swap(a.opticalCode, b.opticalCode);
swap(a.vulnerabilityModel, b.vulnerabilityModel);
swap(a.validTimeOps, b.validTimeOps);
}
std::ostream& operator << (std::ostream& o,const SendParticipantConfigurationRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "positionIntervallVehicle: " << sample.positionIntervallVehicle<<", ";
o << "positionIntervallPersonell: " << sample.positionIntervallPersonell<<", ";
o << "positionIntervallAircraft: " << sample.positionIntervallAircraft<<", ";
o << "positionTransmissionIntervall: " << sample.positionTransmissionIntervall<<", ";
o << "heightbarrier: " << sample.heightbarrier<<", ";
o << "faultPositionHandling: " << sample.faultPositionHandling<<", ";
o << "switchingPositionIntervall: " << sample.switchingPositionIntervall<<", ";
o << "waittimeAdditionalBroadcastDemand: " << sample.waittimeAdditionalBroadcastDemand<<", ";
o << "factorWaittimeIncreaseHighload: " << sample.factorWaittimeIncreaseHighload<<", ";
o << "waittimeAutomaticVulnerabilityIncreaseLevel1: " << sample.waittimeAutomaticVulnerabilityIncreaseLevel1<<", ";
o << "waittimeAutomaticVulnerabilityIncreaseLevel2: " << sample.waittimeAutomaticVulnerabilityIncreaseLevel2<<", ";
o << "waittimeAutomaticVulnerabilityIncreaseLevel3: " << sample.waittimeAutomaticVulnerabilityIncreaseLevel3<<", ";
o << "opticalCode: " << sample.opticalCode<<", ";
o << "vulnerabilityModel: " << sample.vulnerabilityModel<<", ";
o << "validTimeOps: " << sample.validTimeOps;
o <<"]";
return o;
}
// ---- SendParticipantModeRequest:
SendParticipantModeRequest::SendParticipantModeRequest() :
requestId (0) ,
language(ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange) ,
operationMode(ProjectDataManagement::OperationMode::OperationMode_NoChange) ,
reactivationDetoxication (0) ,
reactivationMaintenance (0) ,
reactivationMedic (0) ,
protectionModeVest(ProjectDataManagement::WphMode::WphMode_NoChange) ,
protectionModeHelmet(ProjectDataManagement::WphMode::WphMode_NoChange) ,
personellProtection(ProjectDataManagement::PersonalProtection::PersonalProtection_NoChange) ,
protectionLevel(ProjectDataManagement::ProtectionLevel::ProtectionLevel_NoChange) ,
handgrenadeSearchMode(ProjectDataManagement::HandgrenadeSearchMode::HandgrenadeSearchMode_NoChange) ,
internationalMode(ProjectDataManagement::InternationalMode::InternationalMode_NoChange) ,
abcProtectionMode(ProjectDataManagement::ABCProtectionMode::ABCProtectionMode_NoChange) {
}
SendParticipantModeRequest::SendParticipantModeRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t requestId_,const ::ProjectDataManagement::LanguageConfiguration& language_,const ::ProjectDataManagement::OperationMode& operationMode_,int32_t reactivationDetoxication_,int32_t reactivationMaintenance_,int32_t reactivationMedic_,const ::ProjectDataManagement::WphMode& protectionModeVest_,const ::ProjectDataManagement::WphMode& protectionModeHelmet_,const ::ProjectDataManagement::PersonalProtection& personellProtection_,const ::ProjectDataManagement::ProtectionLevel& protectionLevel_,const ::ProjectDataManagement::HandgrenadeSearchMode& handgrenadeSearchMode_,const ::ProjectDataManagement::InternationalMode& internationalMode_,const ::ProjectDataManagement::ABCProtectionMode& abcProtectionMode_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
requestId = requestId_;
language = language_;
operationMode = operationMode_;
reactivationDetoxication = reactivationDetoxication_;
reactivationMaintenance = reactivationMaintenance_;
reactivationMedic = reactivationMedic_;
protectionModeVest = protectionModeVest_;
protectionModeHelmet = protectionModeHelmet_;
personellProtection = personellProtection_;
protectionLevel = protectionLevel_;
handgrenadeSearchMode = handgrenadeSearchMode_;
internationalMode = internationalMode_;
abcProtectionMode = abcProtectionMode_;
}
bool operator == (const SendParticipantModeRequest& a, const SendParticipantModeRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.requestId != b.requestId) {
return false;
}
if (a.language != b.language) {
return false;
}
if (a.operationMode != b.operationMode) {
return false;
}
if (a.reactivationDetoxication != b.reactivationDetoxication) {
return false;
}
if (a.reactivationMaintenance != b.reactivationMaintenance) {
return false;
}
if (a.reactivationMedic != b.reactivationMedic) {
return false;
}
if (a.protectionModeVest != b.protectionModeVest) {
return false;
}
if (a.protectionModeHelmet != b.protectionModeHelmet) {
return false;
}
if (a.personellProtection != b.personellProtection) {
return false;
}
if (a.protectionLevel != b.protectionLevel) {
return false;
}
if (a.handgrenadeSearchMode != b.handgrenadeSearchMode) {
return false;
}
if (a.internationalMode != b.internationalMode) {
return false;
}
if (a.abcProtectionMode != b.abcProtectionMode) {
return false;
}
return true;
}
bool operator != (const SendParticipantModeRequest& a, const SendParticipantModeRequest& b) {
return !operator ==(a, b);
}
void swap(SendParticipantModeRequest& a, SendParticipantModeRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.requestId, b.requestId);
swap(a.language, b.language);
swap(a.operationMode, b.operationMode);
swap(a.reactivationDetoxication, b.reactivationDetoxication);
swap(a.reactivationMaintenance, b.reactivationMaintenance);
swap(a.reactivationMedic, b.reactivationMedic);
swap(a.protectionModeVest, b.protectionModeVest);
swap(a.protectionModeHelmet, b.protectionModeHelmet);
swap(a.personellProtection, b.personellProtection);
swap(a.protectionLevel, b.protectionLevel);
swap(a.handgrenadeSearchMode, b.handgrenadeSearchMode);
swap(a.internationalMode, b.internationalMode);
swap(a.abcProtectionMode, b.abcProtectionMode);
}
std::ostream& operator << (std::ostream& o,const SendParticipantModeRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "requestId: " << sample.requestId<<", ";
o << "language: " << sample.language<<", ";
o << "operationMode: " << sample.operationMode<<", ";
o << "reactivationDetoxication: " << sample.reactivationDetoxication<<", ";
o << "reactivationMaintenance: " << sample.reactivationMaintenance<<", ";
o << "reactivationMedic: " << sample.reactivationMedic<<", ";
o << "protectionModeVest: " << sample.protectionModeVest<<", ";
o << "protectionModeHelmet: " << sample.protectionModeHelmet<<", ";
o << "personellProtection: " << sample.personellProtection<<", ";
o << "protectionLevel: " << sample.protectionLevel<<", ";
o << "handgrenadeSearchMode: " << sample.handgrenadeSearchMode<<", ";
o << "internationalMode: " << sample.internationalMode<<", ";
o << "abcProtectionMode: " << sample.abcProtectionMode;
o <<"]";
return o;
}
// ---- SendParticipantSwVerionsRequest:
SendParticipantSwVerionsRequest::SendParticipantSwVerionsRequest() :
equipmentFunctionId (0) {
}
SendParticipantSwVerionsRequest::SendParticipantSwVerionsRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t equipmentFunctionId_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
equipmentFunctionId = equipmentFunctionId_;
}
bool operator == (const SendParticipantSwVerionsRequest& a, const SendParticipantSwVerionsRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.equipmentFunctionId != b.equipmentFunctionId) {
return false;
}
return true;
}
bool operator != (const SendParticipantSwVerionsRequest& a, const SendParticipantSwVerionsRequest& b) {
return !operator ==(a, b);
}
void swap(SendParticipantSwVerionsRequest& a, SendParticipantSwVerionsRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.equipmentFunctionId, b.equipmentFunctionId);
}
std::ostream& operator << (std::ostream& o,const SendParticipantSwVerionsRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "equipmentFunctionId: " << sample.equipmentFunctionId;
o <<"]";
return o;
}
// ---- SendResetAllDusMinesRequest:
SendResetAllDusMinesRequest::SendResetAllDusMinesRequest() {
}
SendResetAllDusMinesRequest::SendResetAllDusMinesRequest (int32_t equipmentNumber_,int32_t participantId_,const ::omg::types::optional< int32_t >& id_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
id = id_;
}
bool operator == (const SendResetAllDusMinesRequest& a, const SendResetAllDusMinesRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.id != b.id) {
return false;
}
return true;
}
bool operator != (const SendResetAllDusMinesRequest& a, const SendResetAllDusMinesRequest& b) {
return !operator ==(a, b);
}
void swap(SendResetAllDusMinesRequest& a, SendResetAllDusMinesRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.id, b.id);
}
std::ostream& operator << (std::ostream& o,const SendResetAllDusMinesRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "id: " << sample.id;
o <<"]";
return o;
}
// ---- SendSelectiveReammunitionRequest:
SendSelectiveReammunitionRequest::SendSelectiveReammunitionRequest() :
requestId (0) ,
gearId (0) {
}
SendSelectiveReammunitionRequest::SendSelectiveReammunitionRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t requestId_,int32_t gearId_,const ::omg::types::sequence< ::TrainingAreaBase::Reammunition >& reammunition_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
requestId = requestId_;
gearId = gearId_;
reammunition = reammunition_;
}
bool operator == (const SendSelectiveReammunitionRequest& a, const SendSelectiveReammunitionRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.requestId != b.requestId) {
return false;
}
if (a.gearId != b.gearId) {
return false;
}
if (a.reammunition != b.reammunition) {
return false;
}
return true;
}
bool operator != (const SendSelectiveReammunitionRequest& a, const SendSelectiveReammunitionRequest& b) {
return !operator ==(a, b);
}
void swap(SendSelectiveReammunitionRequest& a, SendSelectiveReammunitionRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.requestId, b.requestId);
swap(a.gearId, b.gearId);
swap(a.reammunition, b.reammunition);
}
std::ostream& operator << (std::ostream& o,const SendSelectiveReammunitionRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "requestId: " << sample.requestId<<", ";
o << "gearId: " << sample.gearId<<", ";
o << "reammunition: " << sample.reammunition;
o <<"]";
return o;
}
// ---- SendSetSanitationRequest:
SendSetSanitationRequest::SendSetSanitationRequest() :
requestId (0) ,
originatorEquipmentNumber (0) ,
qualification(TrainingAreaBase::Qualification::NotDefined) ,
sanitationProceduresTaken (0ll) {
}
SendSetSanitationRequest::SendSetSanitationRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t requestId_,int32_t originatorEquipmentNumber_,const ::TrainingAreaBase::Qualification& qualification_,int64_t sanitationProceduresTaken_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
requestId = requestId_;
originatorEquipmentNumber = originatorEquipmentNumber_;
qualification = qualification_;
sanitationProceduresTaken = sanitationProceduresTaken_;
}
bool operator == (const SendSetSanitationRequest& a, const SendSetSanitationRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.requestId != b.requestId) {
return false;
}
if (a.originatorEquipmentNumber != b.originatorEquipmentNumber) {
return false;
}
if (a.qualification != b.qualification) {
return false;
}
if (a.sanitationProceduresTaken != b.sanitationProceduresTaken) {
return false;
}
return true;
}
bool operator != (const SendSetSanitationRequest& a, const SendSetSanitationRequest& b) {
return !operator ==(a, b);
}
void swap(SendSetSanitationRequest& a, SendSetSanitationRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.requestId, b.requestId);
swap(a.originatorEquipmentNumber, b.originatorEquipmentNumber);
swap(a.qualification, b.qualification);
swap(a.sanitationProceduresTaken, b.sanitationProceduresTaken);
}
std::ostream& operator << (std::ostream& o,const SendSetSanitationRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "requestId: " << sample.requestId<<", ";
o << "originatorEquipmentNumber: " << sample.originatorEquipmentNumber<<", ";
o << "qualification: " << sample.qualification<<", ";
o << "sanitationProceduresTaken: " << sample.sanitationProceduresTaken;
o <<"]";
return o;
}
// ---- SendSetVulnerabilityModelRequest:
SendSetVulnerabilityModelRequest::SendSetVulnerabilityModelRequest() :
vulnerabilityModelMineIed (0) ,
vulnerabilityModelAreaFire (0) ,
vulnerabilityModelOperationalResource (0) ,
vulnerabilityModelACWeaponry (0) {
}
SendSetVulnerabilityModelRequest::SendSetVulnerabilityModelRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t vulnerabilityModelMineIed_,int32_t vulnerabilityModelAreaFire_,int32_t vulnerabilityModelOperationalResource_,int32_t vulnerabilityModelACWeaponry_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
vulnerabilityModelMineIed = vulnerabilityModelMineIed_;
vulnerabilityModelAreaFire = vulnerabilityModelAreaFire_;
vulnerabilityModelOperationalResource = vulnerabilityModelOperationalResource_;
vulnerabilityModelACWeaponry = vulnerabilityModelACWeaponry_;
}
bool operator == (const SendSetVulnerabilityModelRequest& a, const SendSetVulnerabilityModelRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.vulnerabilityModelMineIed != b.vulnerabilityModelMineIed) {
return false;
}
if (a.vulnerabilityModelAreaFire != b.vulnerabilityModelAreaFire) {
return false;
}
if (a.vulnerabilityModelOperationalResource != b.vulnerabilityModelOperationalResource) {
return false;
}
if (a.vulnerabilityModelACWeaponry != b.vulnerabilityModelACWeaponry) {
return false;
}
return true;
}
bool operator != (const SendSetVulnerabilityModelRequest& a, const SendSetVulnerabilityModelRequest& b) {
return !operator ==(a, b);
}
void swap(SendSetVulnerabilityModelRequest& a, SendSetVulnerabilityModelRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.vulnerabilityModelMineIed, b.vulnerabilityModelMineIed);
swap(a.vulnerabilityModelAreaFire, b.vulnerabilityModelAreaFire);
swap(a.vulnerabilityModelOperationalResource, b.vulnerabilityModelOperationalResource);
swap(a.vulnerabilityModelACWeaponry, b.vulnerabilityModelACWeaponry);
}
std::ostream& operator << (std::ostream& o,const SendSetVulnerabilityModelRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "vulnerabilityModelMineIed: " << sample.vulnerabilityModelMineIed<<", ";
o << "vulnerabilityModelAreaFire: " << sample.vulnerabilityModelAreaFire<<", ";
o << "vulnerabilityModelOperationalResource: " << sample.vulnerabilityModelOperationalResource<<", ";
o << "vulnerabilityModelACWeaponry: " << sample.vulnerabilityModelACWeaponry;
o <<"]";
return o;
}
// ---- SendTargetDataRequest:
SendTargetDataRequest::SendTargetDataRequest() {
}
SendTargetDataRequest::SendTargetDataRequest (int32_t equipmentNumber_,int32_t participantId_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
payload = payload_;
}
bool operator == (const SendTargetDataRequest& a, const SendTargetDataRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const SendTargetDataRequest& a, const SendTargetDataRequest& b) {
return !operator ==(a, b);
}
void swap(SendTargetDataRequest& a, SendTargetDataRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const SendTargetDataRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- SendUasWaypointRequest:
SendUasWaypointRequest::SendUasWaypointRequest() :
actionNumber (0) ,
itemNumber (0) ,
planId (0) ,
name ("") ,
properties ("") {
}
SendUasWaypointRequest::SendUasWaypointRequest (int32_t equipmentNumber_,int32_t participantId_,int32_t actionNumber_,int32_t itemNumber_,int32_t planId_,const ::omg::types::string_view& name_,const ::omg::types::string_view& properties_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
actionNumber = actionNumber_;
itemNumber = itemNumber_;
planId = planId_;
name = name_;
properties = properties_;
}
bool operator == (const SendUasWaypointRequest& a, const SendUasWaypointRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.actionNumber != b.actionNumber) {
return false;
}
if (a.itemNumber != b.itemNumber) {
return false;
}
if (a.planId != b.planId) {
return false;
}
if (a.name != b.name) {
return false;
}
if (a.properties != b.properties) {
return false;
}
return true;
}
bool operator != (const SendUasWaypointRequest& a, const SendUasWaypointRequest& b) {
return !operator ==(a, b);
}
void swap(SendUasWaypointRequest& a, SendUasWaypointRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.actionNumber, b.actionNumber);
swap(a.itemNumber, b.itemNumber);
swap(a.planId, b.planId);
swap(a.name, b.name);
swap(a.properties, b.properties);
}
std::ostream& operator << (std::ostream& o,const SendUasWaypointRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "actionNumber: " << sample.actionNumber<<", ";
o << "itemNumber: " << sample.itemNumber<<", ";
o << "planId: " << sample.planId<<", ";
o << "name: " << sample.name<<", ";
o << "properties: " << sample.properties;
o <<"]";
return o;
}
// ---- ServiceControl:
ServiceControl::ServiceControl() :
serviceControlState(TrainingAreaBase::ServiceControlEnum::PRESHUTDOWN) {
}
ServiceControl::ServiceControl (int32_t equipmentNumber_,int64_t sampleTime_,const ::TrainingAreaBase::ServiceControlEnum& serviceControlState_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
serviceControlState = serviceControlState_;
}
bool operator == (const ServiceControl& a, const ServiceControl& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.serviceControlState != b.serviceControlState) {
return false;
}
return true;
}
bool operator != (const ServiceControl& a, const ServiceControl& b) {
return !operator ==(a, b);
}
void swap(ServiceControl& a, ServiceControl& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.serviceControlState, b.serviceControlState);
}
std::ostream& operator << (std::ostream& o,const ServiceControl& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "serviceControlState: " << sample.serviceControlState;
o <<"]";
return o;
}
// ---- SetDevicePowerRequest:
SetDevicePowerRequest::SetDevicePowerRequest() :
powerType(TrainingAreaBase::PowerMethod::Unknown) ,
subdeviceId (0) {
}
SetDevicePowerRequest::SetDevicePowerRequest (int32_t equipmentNumber_,int32_t participantId_,const ::TrainingAreaBase::PowerMethod& powerType_,int32_t subdeviceId_) :
::TrainingAreaBase::FtEquipmentBase(equipmentNumber_, participantId_) {
powerType = powerType_;
subdeviceId = subdeviceId_;
}
bool operator == (const SetDevicePowerRequest& a, const SetDevicePowerRequest& b) {
if (!operator == ((::TrainingAreaBase::FtEquipmentBase) a, (::TrainingAreaBase::FtEquipmentBase) b)){
return false;
}
if (a.powerType != b.powerType) {
return false;
}
if (a.subdeviceId != b.subdeviceId) {
return false;
}
return true;
}
bool operator != (const SetDevicePowerRequest& a, const SetDevicePowerRequest& b) {
return !operator ==(a, b);
}
void swap(SetDevicePowerRequest& a, SetDevicePowerRequest& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::FtEquipmentBase&) a, (::TrainingAreaBase::FtEquipmentBase&) b);
swap(a.powerType, b.powerType);
swap(a.subdeviceId, b.subdeviceId);
}
std::ostream& operator << (std::ostream& o,const SetDevicePowerRequest& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::FtEquipmentBase &>(sample);
o << "powerType: " << sample.powerType<<", ";
o << "subdeviceId: " << sample.subdeviceId;
o <<"]";
return o;
}
// ---- SpecialSensorData:
SpecialSensorData::SpecialSensorData() :
operationalState (0) {
}
SpecialSensorData::SpecialSensorData (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::optional< ::Core::GeoPosition2D >& position_,int32_t operationalState_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
position = position_;
operationalState = operationalState_;
}
bool operator == (const SpecialSensorData& a, const SpecialSensorData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.position != b.position) {
return false;
}
if (a.operationalState != b.operationalState) {
return false;
}
return true;
}
bool operator != (const SpecialSensorData& a, const SpecialSensorData& b) {
return !operator ==(a, b);
}
void swap(SpecialSensorData& a, SpecialSensorData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.position, b.position);
swap(a.operationalState, b.operationalState);
}
std::ostream& operator << (std::ostream& o,const SpecialSensorData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "position: " << sample.position<<", ";
o << "operationalState: " << sample.operationalState;
o <<"]";
return o;
}
// ---- StateIed:
StateIed::StateIed() :
batteryWarnings (0) ,
errorStateElectronics (0) ,
errorStatePyrotechnics1 (0) ,
errorStatePyrotechnics2 (0) ,
errorStatePyrotechnics3 (0) {
}
StateIed::StateIed (int32_t equipmentNumber_,int64_t sampleTime_,int32_t iedId_,int32_t tacticalState_,int32_t statePyrotechnics_,int32_t batteryWarnings_,int32_t errorStateElectronics_,int32_t errorStatePyrotechnics1_,int32_t errorStatePyrotechnics2_,int32_t errorStatePyrotechnics3_) :
::TrainingAreaBase::IedBaseData(equipmentNumber_, sampleTime_, iedId_, tacticalState_, statePyrotechnics_) {
batteryWarnings = batteryWarnings_;
errorStateElectronics = errorStateElectronics_;
errorStatePyrotechnics1 = errorStatePyrotechnics1_;
errorStatePyrotechnics2 = errorStatePyrotechnics2_;
errorStatePyrotechnics3 = errorStatePyrotechnics3_;
}
bool operator == (const StateIed& a, const StateIed& b) {
if (!operator == ((::TrainingAreaBase::IedBaseData) a, (::TrainingAreaBase::IedBaseData) b)){
return false;
}
if (a.batteryWarnings != b.batteryWarnings) {
return false;
}
if (a.errorStateElectronics != b.errorStateElectronics) {
return false;
}
if (a.errorStatePyrotechnics1 != b.errorStatePyrotechnics1) {
return false;
}
if (a.errorStatePyrotechnics2 != b.errorStatePyrotechnics2) {
return false;
}
if (a.errorStatePyrotechnics3 != b.errorStatePyrotechnics3) {
return false;
}
return true;
}
bool operator != (const StateIed& a, const StateIed& b) {
return !operator ==(a, b);
}
void swap(StateIed& a, StateIed& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::IedBaseData&) a, (::TrainingAreaBase::IedBaseData&) b);
swap(a.batteryWarnings, b.batteryWarnings);
swap(a.errorStateElectronics, b.errorStateElectronics);
swap(a.errorStatePyrotechnics1, b.errorStatePyrotechnics1);
swap(a.errorStatePyrotechnics2, b.errorStatePyrotechnics2);
swap(a.errorStatePyrotechnics3, b.errorStatePyrotechnics3);
}
std::ostream& operator << (std::ostream& o,const StateIed& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::IedBaseData &>(sample);
o << "batteryWarnings: " << sample.batteryWarnings<<", ";
o << "errorStateElectronics: " << sample.errorStateElectronics<<", ";
o << "errorStatePyrotechnics1: " << sample.errorStatePyrotechnics1<<", ";
o << "errorStatePyrotechnics2: " << sample.errorStatePyrotechnics2<<", ";
o << "errorStatePyrotechnics3: " << sample.errorStatePyrotechnics3;
o <<"]";
return o;
}
// ---- TargetData:
TargetData::TargetData() {
}
TargetData::TargetData (int32_t equipmentNumber_,int64_t sampleTime_,const ::omg::types::sequence< uint8_t >& payload_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
payload = payload_;
}
bool operator == (const TargetData& a, const TargetData& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.payload != b.payload) {
return false;
}
return true;
}
bool operator != (const TargetData& a, const TargetData& b) {
return !operator ==(a, b);
}
void swap(TargetData& a, TargetData& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.payload, b.payload);
}
std::ostream& operator << (std::ostream& o,const TargetData& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "payload: " << sample.payload;
o <<"]";
return o;
}
// ---- TrajectoryAdler:
TrajectoryAdler::TrajectoryAdler() :
trajectoryError(TrainingAreaBase::TrajectoryError::Ok) ,
weaponSystemType(TrainingAreaBase::WeaponSystemType::PZH) ,
flightTime (0) ,
peakHeight (0) ,
firingDirection (0) ,
dropAngle (0.0) ,
trajectoryStartTime (0ll) ,
partyId (0) {
}
TrajectoryAdler::TrajectoryAdler (const ::TrainingAreaBase::TrajectoryError& trajectoryError_,const ::Core::GeoPosition& positionTarget_,const ::TrainingAreaBase::WeaponSystemType& weaponSystemType_,int32_t flightTime_,int32_t peakHeight_,int32_t firingDirection_,double dropAngle_,const ::omg::types::sequence< ::Core::GeoPositionRelativeTime >& geometry_,int64_t trajectoryStartTime_,const ::TrainingAreaBase::Dispersion& dispersion_,const ::TrainingAreaBase::TrajectoryCalculationData& trajectory_,int32_t partyId_) {
trajectoryError = trajectoryError_;
positionTarget = positionTarget_;
weaponSystemType = weaponSystemType_;
flightTime = flightTime_;
peakHeight = peakHeight_;
firingDirection = firingDirection_;
dropAngle = dropAngle_;
geometry = geometry_;
trajectoryStartTime = trajectoryStartTime_;
dispersion = dispersion_;
trajectory = trajectory_;
partyId = partyId_;
}
bool operator == (const TrajectoryAdler& a, const TrajectoryAdler& b) {
if (a.trajectoryError != b.trajectoryError) {
return false;
}
if (a.positionTarget != b.positionTarget) {
return false;
}
if (a.weaponSystemType != b.weaponSystemType) {
return false;
}
if (a.flightTime != b.flightTime) {
return false;
}
if (a.peakHeight != b.peakHeight) {
return false;
}
if (a.firingDirection != b.firingDirection) {
return false;
}
if (std::fabs(a.dropAngle - b.dropAngle) > std::numeric_limits< double>::epsilon()
&& !(std::fabs(a.dropAngle - b.dropAngle) < (std::numeric_limits< double>::min)())) {
return false;
}
if (a.geometry != b.geometry) {
return false;
}
if (a.trajectoryStartTime != b.trajectoryStartTime) {
return false;
}
if (a.dispersion != b.dispersion) {
return false;
}
if (a.trajectory != b.trajectory) {
return false;
}
if (a.partyId != b.partyId) {
return false;
}
return true;
}
bool operator != (const TrajectoryAdler& a, const TrajectoryAdler& b) {
return !operator ==(a, b);
}
void swap(TrajectoryAdler& a, TrajectoryAdler& b) noexcept
{
using std::swap;
swap(a.trajectoryError, b.trajectoryError);
swap(a.positionTarget, b.positionTarget);
swap(a.weaponSystemType, b.weaponSystemType);
swap(a.flightTime, b.flightTime);
swap(a.peakHeight, b.peakHeight);
swap(a.firingDirection, b.firingDirection);
swap(a.dropAngle, b.dropAngle);
swap(a.geometry, b.geometry);
swap(a.trajectoryStartTime, b.trajectoryStartTime);
swap(a.dispersion, b.dispersion);
swap(a.trajectory, b.trajectory);
swap(a.partyId, b.partyId);
}
std::ostream& operator << (std::ostream& o,const TrajectoryAdler& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << "trajectoryError: " << sample.trajectoryError<<", ";
o << "positionTarget: " << sample.positionTarget<<", ";
o << "weaponSystemType: " << sample.weaponSystemType<<", ";
o << "flightTime: " << sample.flightTime<<", ";
o << "peakHeight: " << sample.peakHeight<<", ";
o << "firingDirection: " << sample.firingDirection<<", ";
o << "dropAngle: " << std::setprecision(15) << sample.dropAngle<<", ";
o << "geometry: " << sample.geometry<<", ";
o << "trajectoryStartTime: " << sample.trajectoryStartTime<<", ";
o << "dispersion: " << sample.dispersion<<", ";
o << "trajectory: " << sample.trajectory<<", ";
o << "partyId: " << sample.partyId;
o <<"]";
return o;
}
// ---- UASMissionStatus:
UASMissionStatus::UASMissionStatus() :
currentTask(ProjectDataManagement::UasActionTask::Undefined) ,
currentMissionName ("") ,
missionEnded ("") {
}
UASMissionStatus::UASMissionStatus (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::UasActionTask& currentTask_,const ::omg::types::string_view& currentMissionName_,const ::omg::types::string_view& missionEnded_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
currentTask = currentTask_;
currentMissionName = currentMissionName_;
missionEnded = missionEnded_;
}
bool operator == (const UASMissionStatus& a, const UASMissionStatus& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.currentTask != b.currentTask) {
return false;
}
if (a.currentMissionName != b.currentMissionName) {
return false;
}
if (a.missionEnded != b.missionEnded) {
return false;
}
return true;
}
bool operator != (const UASMissionStatus& a, const UASMissionStatus& b) {
return !operator ==(a, b);
}
void swap(UASMissionStatus& a, UASMissionStatus& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.currentTask, b.currentTask);
swap(a.currentMissionName, b.currentMissionName);
swap(a.missionEnded, b.missionEnded);
}
std::ostream& operator << (std::ostream& o,const UASMissionStatus& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "currentTask: " << sample.currentTask<<", ";
o << "currentMissionName: " << sample.currentMissionName<<", ";
o << "missionEnded: " << sample.missionEnded;
o <<"]";
return o;
}
// ---- UASRadioLinkConnectionState:
UASRadioLinkConnectionState::UASRadioLinkConnectionState() :
connectionStatus(ProjectDataManagement::UasState::UasState_Undefined) {
}
UASRadioLinkConnectionState::UASRadioLinkConnectionState (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::UasState& connectionStatus_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
connectionStatus = connectionStatus_;
}
bool operator == (const UASRadioLinkConnectionState& a, const UASRadioLinkConnectionState& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.connectionStatus != b.connectionStatus) {
return false;
}
return true;
}
bool operator != (const UASRadioLinkConnectionState& a, const UASRadioLinkConnectionState& b) {
return !operator ==(a, b);
}
void swap(UASRadioLinkConnectionState& a, UASRadioLinkConnectionState& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.connectionStatus, b.connectionStatus);
}
std::ostream& operator << (std::ostream& o,const UASRadioLinkConnectionState& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "connectionStatus: " << sample.connectionStatus;
o <<"]";
return o;
}
// ---- UASStatus:
UASStatus::UASStatus() :
uasState(ProjectDataManagement::UasState::UasState_Undefined) {
}
UASStatus::UASStatus (int32_t equipmentNumber_,int64_t sampleTime_,const ::ProjectDataManagement::UasState& uasState_) :
::TrainingAreaBase::EquipmentBase(equipmentNumber_, sampleTime_) {
uasState = uasState_;
}
bool operator == (const UASStatus& a, const UASStatus& b) {
if (!operator == ((::TrainingAreaBase::EquipmentBase) a, (::TrainingAreaBase::EquipmentBase) b)){
return false;
}
if (a.uasState != b.uasState) {
return false;
}
return true;
}
bool operator != (const UASStatus& a, const UASStatus& b) {
return !operator ==(a, b);
}
void swap(UASStatus& a, UASStatus& b) noexcept
{
using std::swap;
swap((::TrainingAreaBase::EquipmentBase&) a, (::TrainingAreaBase::EquipmentBase&) b);
swap(a.uasState, b.uasState);
}
std::ostream& operator << (std::ostream& o,const UASStatus& sample)
{
::rti::util::StreamFlagSaver flag_saver (o);
o <<"[";
o << static_cast<const ::TrainingAreaBase::EquipmentBase &>(sample);
o << "uasState: " << sample.uasState;
o <<"]";
return o;
}
} // namespace TrainingAreaBase
#ifdef NDDS_STANDALONE_TYPE
namespace rti {
namespace topic {
}
}
#else
// --- Type traits: -------------------------------------------------
namespace rti {
namespace topic {
template<>
struct native_type_code< ::TrainingAreaBase::TrajectoryCalculationData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member TrajectoryCalculationData_g_tc_members[6]=
{
{
(char *)"chargeTypeId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"igniterTypeId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"igniterFunctionId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loadTypeId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loadNumber",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"fuseTime",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode TrajectoryCalculationData_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::TrajectoryCalculationData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
TrajectoryCalculationData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for TrajectoryCalculationData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &TrajectoryCalculationData_g_tc;
}
TrajectoryCalculationData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
TrajectoryCalculationData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryCalculationData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryCalculationData_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryCalculationData_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryCalculationData_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryCalculationData_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
TrajectoryCalculationData_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
TrajectoryCalculationData_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryCalculationData_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryCalculationData_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
TrajectoryCalculationData_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryCalculationData_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryCalculationData_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
TrajectoryCalculationData_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryCalculationData_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryCalculationData_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
TrajectoryCalculationData_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryCalculationData_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryCalculationData_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
TrajectoryCalculationData_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryCalculationData_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryCalculationData_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
TrajectoryCalculationData_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryCalculationData_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryCalculationData_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryCalculationData_g_tc._data._sampleAccessInfo = sample_access_info();
TrajectoryCalculationData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &TrajectoryCalculationData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::TrajectoryCalculationData *sample;
static RTIXCdrMemberAccessInfo TrajectoryCalculationData_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo TrajectoryCalculationData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &TrajectoryCalculationData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::TrajectoryCalculationData);
if (sample == NULL) {
return NULL;
}
TrajectoryCalculationData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
TrajectoryCalculationData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->igniterTypeId - (char *)sample);
TrajectoryCalculationData_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->igniterFunctionId - (char *)sample);
TrajectoryCalculationData_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loadTypeId - (char *)sample);
TrajectoryCalculationData_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loadNumber - (char *)sample);
TrajectoryCalculationData_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->fuseTime - (char *)sample);
TrajectoryCalculationData_g_sampleAccessInfo.memberAccessInfos =
TrajectoryCalculationData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::TrajectoryCalculationData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
TrajectoryCalculationData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
TrajectoryCalculationData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
TrajectoryCalculationData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
TrajectoryCalculationData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::TrajectoryCalculationData >;
TrajectoryCalculationData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &TrajectoryCalculationData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin TrajectoryCalculationData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &TrajectoryCalculationData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::TrajectoryCalculationData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::TrajectoryCalculationData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode AdlerCalculateTrajectoryRequest_g_tc_properties_string;
static DDS_TypeCode_Member AdlerCalculateTrajectoryRequest_g_tc_members[10]=
{
{
(char *)"positionLaunch",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionTarget",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"weaponSystemType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"trajectory",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"angleGroup",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"explosionHeight",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"aesItemId",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"explosionIndex",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"properties",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode AdlerCalculateTrajectoryRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::AdlerCalculateTrajectoryRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
10, /* Number of members */
AdlerCalculateTrajectoryRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for AdlerCalculateTrajectoryRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &AdlerCalculateTrajectoryRequest_g_tc;
}
AdlerCalculateTrajectoryRequest_g_tc_properties_string = initialize_string_typecode(RTIXCdrLong_MAX);
AdlerCalculateTrajectoryRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
AdlerCalculateTrajectoryRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
AdlerCalculateTrajectoryRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
AdlerCalculateTrajectoryRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::WeaponSystemType>::get().native();
AdlerCalculateTrajectoryRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TrajectoryCalculationData>::get().native();
AdlerCalculateTrajectoryRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L43_AngleGroup>::get().native();
AdlerCalculateTrajectoryRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
AdlerCalculateTrajectoryRequest_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&AdlerCalculateTrajectoryRequest_g_tc_properties_string;
/* Initialize the values for member annotations. */
AdlerCalculateTrajectoryRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
AdlerCalculateTrajectoryRequest_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 0;
AdlerCalculateTrajectoryRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
AdlerCalculateTrajectoryRequest_g_tc_members[4]._annotations._defaultValue._u.enumerated_value = 0;
AdlerCalculateTrajectoryRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
AdlerCalculateTrajectoryRequest_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerCalculateTrajectoryRequest_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._annotations._defaultValue._u.long_value = 0;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[6]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerCalculateTrajectoryRequest_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerCalculateTrajectoryRequest_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
AdlerCalculateTrajectoryRequest_g_tc_members[9]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
AdlerCalculateTrajectoryRequest_g_tc._data._sampleAccessInfo = sample_access_info();
AdlerCalculateTrajectoryRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &AdlerCalculateTrajectoryRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::AdlerCalculateTrajectoryRequest *sample;
static RTIXCdrMemberAccessInfo AdlerCalculateTrajectoryRequest_g_memberAccessInfos[10] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo AdlerCalculateTrajectoryRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &AdlerCalculateTrajectoryRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::AdlerCalculateTrajectoryRequest);
if (sample == NULL) {
return NULL;
}
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionLaunch - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionTarget - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->weaponSystemType - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->trajectory - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->angleGroup - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->explosionHeight - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->aesItemId - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->explosionIndex - (char *)sample);
AdlerCalculateTrajectoryRequest_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->properties - (char *)sample);
AdlerCalculateTrajectoryRequest_g_sampleAccessInfo.memberAccessInfos =
AdlerCalculateTrajectoryRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::AdlerCalculateTrajectoryRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
AdlerCalculateTrajectoryRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
AdlerCalculateTrajectoryRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
AdlerCalculateTrajectoryRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
AdlerCalculateTrajectoryRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >;
AdlerCalculateTrajectoryRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &AdlerCalculateTrajectoryRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin AdlerCalculateTrajectoryRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &AdlerCalculateTrajectoryRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::AdlerFqAfRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member AdlerFqAfRequest_g_tc_members[2]=
{
{
(char *)"sampleTime",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"aesItemId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode AdlerFqAfRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::AdlerFqAfRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
AdlerFqAfRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for AdlerFqAfRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &AdlerFqAfRequest_g_tc;
}
AdlerFqAfRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
AdlerFqAfRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
AdlerFqAfRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
AdlerFqAfRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqAfRequest_g_tc_members[0]._annotations._defaultValue._u.long_long_value = 0ll;
AdlerFqAfRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqAfRequest_g_tc_members[0]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
AdlerFqAfRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqAfRequest_g_tc_members[0]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
AdlerFqAfRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerFqAfRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
AdlerFqAfRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerFqAfRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerFqAfRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerFqAfRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerFqAfRequest_g_tc._data._sampleAccessInfo = sample_access_info();
AdlerFqAfRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &AdlerFqAfRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::AdlerFqAfRequest *sample;
static RTIXCdrMemberAccessInfo AdlerFqAfRequest_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo AdlerFqAfRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &AdlerFqAfRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::AdlerFqAfRequest);
if (sample == NULL) {
return NULL;
}
AdlerFqAfRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sampleTime - (char *)sample);
AdlerFqAfRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->aesItemId - (char *)sample);
AdlerFqAfRequest_g_sampleAccessInfo.memberAccessInfos =
AdlerFqAfRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::AdlerFqAfRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
AdlerFqAfRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
AdlerFqAfRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
AdlerFqAfRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
AdlerFqAfRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::AdlerFqAfRequest >;
AdlerFqAfRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &AdlerFqAfRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin AdlerFqAfRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &AdlerFqAfRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::AdlerFqAfRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::AdlerFqAfRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::AdlerFqFbRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member AdlerFqFbRequest_g_tc_members[2]=
{
{
(char *)"sampleTime",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"aesItemId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode AdlerFqFbRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::AdlerFqFbRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
AdlerFqFbRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for AdlerFqFbRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &AdlerFqFbRequest_g_tc;
}
AdlerFqFbRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
AdlerFqFbRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
AdlerFqFbRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
AdlerFqFbRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqFbRequest_g_tc_members[0]._annotations._defaultValue._u.long_long_value = 0ll;
AdlerFqFbRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqFbRequest_g_tc_members[0]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
AdlerFqFbRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqFbRequest_g_tc_members[0]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
AdlerFqFbRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerFqFbRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
AdlerFqFbRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerFqFbRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerFqFbRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerFqFbRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerFqFbRequest_g_tc._data._sampleAccessInfo = sample_access_info();
AdlerFqFbRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &AdlerFqFbRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::AdlerFqFbRequest *sample;
static RTIXCdrMemberAccessInfo AdlerFqFbRequest_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo AdlerFqFbRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &AdlerFqFbRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::AdlerFqFbRequest);
if (sample == NULL) {
return NULL;
}
AdlerFqFbRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sampleTime - (char *)sample);
AdlerFqFbRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->aesItemId - (char *)sample);
AdlerFqFbRequest_g_sampleAccessInfo.memberAccessInfos =
AdlerFqFbRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::AdlerFqFbRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
AdlerFqFbRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
AdlerFqFbRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
AdlerFqFbRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
AdlerFqFbRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::AdlerFqFbRequest >;
AdlerFqFbRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &AdlerFqFbRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin AdlerFqFbRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &AdlerFqFbRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::AdlerFqFbRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::AdlerFqFbRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::AdlerFqVmRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member AdlerFqVmRequest_g_tc_members[2]=
{
{
(char *)"sampleTime",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"aesItemId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode AdlerFqVmRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::AdlerFqVmRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
AdlerFqVmRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for AdlerFqVmRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &AdlerFqVmRequest_g_tc;
}
AdlerFqVmRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
AdlerFqVmRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
AdlerFqVmRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
AdlerFqVmRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqVmRequest_g_tc_members[0]._annotations._defaultValue._u.long_long_value = 0ll;
AdlerFqVmRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqVmRequest_g_tc_members[0]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
AdlerFqVmRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
AdlerFqVmRequest_g_tc_members[0]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
AdlerFqVmRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
AdlerFqVmRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
AdlerFqVmRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
AdlerFqVmRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
AdlerFqVmRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
AdlerFqVmRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
AdlerFqVmRequest_g_tc._data._sampleAccessInfo = sample_access_info();
AdlerFqVmRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &AdlerFqVmRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::AdlerFqVmRequest *sample;
static RTIXCdrMemberAccessInfo AdlerFqVmRequest_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo AdlerFqVmRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &AdlerFqVmRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::AdlerFqVmRequest);
if (sample == NULL) {
return NULL;
}
AdlerFqVmRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sampleTime - (char *)sample);
AdlerFqVmRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->aesItemId - (char *)sample);
AdlerFqVmRequest_g_sampleAccessInfo.memberAccessInfos =
AdlerFqVmRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::AdlerFqVmRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
AdlerFqVmRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
AdlerFqVmRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
AdlerFqVmRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
AdlerFqVmRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::AdlerFqVmRequest >;
AdlerFqVmRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &AdlerFqVmRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin AdlerFqVmRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &AdlerFqVmRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::AdlerFqVmRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::AdlerFqVmRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentBase > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentBase_g_tc_members[2]=
{
{
(char *)"equipmentNumber",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sampleTime",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentBase_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentBase", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
EquipmentBase_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentBase*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentBase_g_tc;
}
EquipmentBase_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentBase_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBase_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
/* Initialize the values for member annotations. */
EquipmentBase_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBase_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
EquipmentBase_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBase_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBase_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBase_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBase_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
EquipmentBase_g_tc_members[1]._annotations._defaultValue._u.long_long_value = 0ll;
EquipmentBase_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
EquipmentBase_g_tc_members[1]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
EquipmentBase_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
EquipmentBase_g_tc_members[1]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
EquipmentBase_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentBase_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentBase_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentBase *sample;
static RTIXCdrMemberAccessInfo EquipmentBase_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentBase_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentBase_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentBase);
if (sample == NULL) {
return NULL;
}
EquipmentBase_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumber - (char *)sample);
EquipmentBase_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sampleTime - (char *)sample);
EquipmentBase_g_sampleAccessInfo.memberAccessInfos =
EquipmentBase_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentBase);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentBase_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentBase_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentBase_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentBase_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentBase >;
EquipmentBase_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentBase_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentBase_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentBase_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentBase >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentBase >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::BatteryAlarm > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode BatteryAlarm_g_tc_description_string;
static DDS_TypeCode_Member BatteryAlarm_g_tc_members[6]=
{
{
(char *)"batteryPort",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"description",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"acknowledge",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"condition",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"uniqueAlarmNumber",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"alarmTime",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode BatteryAlarm_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::BatteryAlarm", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
BatteryAlarm_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for BatteryAlarm*/
if (is_initialized.load(std::memory_order_acquire)) {
return &BatteryAlarm_g_tc;
}
BatteryAlarm_g_tc_description_string = initialize_string_typecode(RTIXCdrLong_MAX);
BatteryAlarm_g_tc._data._annotations._allowedDataRepresentationMask = 5;
BatteryAlarm_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryAlarm_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&BatteryAlarm_g_tc_description_string;
BatteryAlarm_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
BatteryAlarm_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
BatteryAlarm_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryAlarm_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
/* Initialize the values for member annotations. */
BatteryAlarm_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryAlarm_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
BatteryAlarm_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryAlarm_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryAlarm_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryAlarm_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryAlarm_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
BatteryAlarm_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
BatteryAlarm_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
BatteryAlarm_g_tc_members[2]._annotations._defaultValue._u.boolean_value = 0;
BatteryAlarm_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
BatteryAlarm_g_tc_members[3]._annotations._defaultValue._u.boolean_value = 0;
BatteryAlarm_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryAlarm_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
BatteryAlarm_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryAlarm_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryAlarm_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryAlarm_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryAlarm_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
BatteryAlarm_g_tc_members[5]._annotations._defaultValue._u.long_long_value = 0ll;
BatteryAlarm_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
BatteryAlarm_g_tc_members[5]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
BatteryAlarm_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
BatteryAlarm_g_tc_members[5]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
BatteryAlarm_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
BatteryAlarm_g_tc._data._sampleAccessInfo = sample_access_info();
BatteryAlarm_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &BatteryAlarm_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::BatteryAlarm *sample;
static RTIXCdrMemberAccessInfo BatteryAlarm_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo BatteryAlarm_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &BatteryAlarm_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::BatteryAlarm);
if (sample == NULL) {
return NULL;
}
BatteryAlarm_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->batteryPort - (char *)sample);
BatteryAlarm_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->description - (char *)sample);
BatteryAlarm_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->acknowledge - (char *)sample);
BatteryAlarm_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->condition - (char *)sample);
BatteryAlarm_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uniqueAlarmNumber - (char *)sample);
BatteryAlarm_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->alarmTime - (char *)sample);
BatteryAlarm_g_sampleAccessInfo.memberAccessInfos =
BatteryAlarm_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::BatteryAlarm);
if (candidateTypeSize > RTIXCdrLong_MAX) {
BatteryAlarm_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
BatteryAlarm_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
BatteryAlarm_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
BatteryAlarm_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::BatteryAlarm >;
BatteryAlarm_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &BatteryAlarm_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin BatteryAlarm_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &BatteryAlarm_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::BatteryAlarm >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::BatteryAlarm >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::BatteryState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode BatteryState_g_tc_serialNumber_string;
static DDS_TypeCode_Member BatteryState_g_tc_members[9]=
{
{
(char *)"batteryPort",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"batteryPercent",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"temperature",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"frequency",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"generic",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"current",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"switchOrValue",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"voltage",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"serialNumber",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode BatteryState_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::BatteryState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
9, /* Number of members */
BatteryState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for BatteryState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &BatteryState_g_tc;
}
BatteryState_g_tc_serialNumber_string = initialize_string_typecode(RTIXCdrLong_MAX);
BatteryState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
BatteryState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryState_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryState_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryState_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryState_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
BatteryState_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryState_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
BatteryState_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
BatteryState_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&BatteryState_g_tc_serialNumber_string;
/* Initialize the values for member annotations. */
BatteryState_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
BatteryState_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryState_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryState_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
BatteryState_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryState_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryState_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
BatteryState_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryState_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryState_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
BatteryState_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryState_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryState_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
BatteryState_g_tc_members[4]._annotations._defaultValue._u.double_value = 0.0;
BatteryState_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
BatteryState_g_tc_members[4]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
BatteryState_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
BatteryState_g_tc_members[4]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
BatteryState_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
BatteryState_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryState_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryState_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
BatteryState_g_tc_members[6]._annotations._defaultValue._u.boolean_value = 0;
BatteryState_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
BatteryState_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
BatteryState_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
BatteryState_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
BatteryState_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
BatteryState_g_tc_members[8]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
BatteryState_g_tc._data._sampleAccessInfo = sample_access_info();
BatteryState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &BatteryState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::BatteryState *sample;
static RTIXCdrMemberAccessInfo BatteryState_g_memberAccessInfos[9] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo BatteryState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &BatteryState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::BatteryState);
if (sample == NULL) {
return NULL;
}
BatteryState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->batteryPort - (char *)sample);
BatteryState_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->batteryPercent - (char *)sample);
BatteryState_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->temperature - (char *)sample);
BatteryState_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->frequency - (char *)sample);
BatteryState_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->generic - (char *)sample);
BatteryState_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->current - (char *)sample);
BatteryState_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->switchOrValue - (char *)sample);
BatteryState_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->voltage - (char *)sample);
BatteryState_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->serialNumber - (char *)sample);
BatteryState_g_sampleAccessInfo.memberAccessInfos =
BatteryState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::BatteryState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
BatteryState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
BatteryState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
BatteryState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
BatteryState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::BatteryState >;
BatteryState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &BatteryState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin BatteryState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &BatteryState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::BatteryState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::BatteryState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::BatteryInfo > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode BatteryInfo_g_tc_batteryStates_sequence;
static DDS_TypeCode_Member BatteryInfo_g_tc_members[1]=
{
{
(char *)"batteryStates",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode BatteryInfo_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::BatteryInfo", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
BatteryInfo_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for BatteryInfo*/
if (is_initialized.load(std::memory_order_acquire)) {
return &BatteryInfo_g_tc;
}
BatteryInfo_g_tc_batteryStates_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::BatteryState > >(RTIXCdrLong_MAX);
BatteryInfo_g_tc._data._annotations._allowedDataRepresentationMask = 5;
BatteryInfo_g_tc_batteryStates_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::BatteryState>::get().native();
BatteryInfo_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& BatteryInfo_g_tc_batteryStates_sequence;
/* Initialize the values for member annotations. */
BatteryInfo_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
BatteryInfo_g_tc._data._sampleAccessInfo = sample_access_info();
BatteryInfo_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &BatteryInfo_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::BatteryInfo *sample;
static RTIXCdrMemberAccessInfo BatteryInfo_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo BatteryInfo_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &BatteryInfo_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::BatteryInfo);
if (sample == NULL) {
return NULL;
}
BatteryInfo_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->batteryStates - (char *)sample);
BatteryInfo_g_sampleAccessInfo.memberAccessInfos =
BatteryInfo_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::BatteryInfo);
if (candidateTypeSize > RTIXCdrLong_MAX) {
BatteryInfo_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
BatteryInfo_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
BatteryInfo_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
BatteryInfo_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::BatteryInfo >;
BatteryInfo_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &BatteryInfo_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin BatteryInfo_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &BatteryInfo_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::BatteryInfo >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::BatteryInfo >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ConnectionState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode ConnectionState_g_tc_name_string;
static DDS_TypeCode_Member ConnectionState_g_tc_members[2]=
{
{
(char *)"name",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"state",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ConnectionState_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ConnectionState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
ConnectionState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ConnectionState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ConnectionState_g_tc;
}
ConnectionState_g_tc_name_string = initialize_string_typecode(RTIXCdrLong_MAX);
ConnectionState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ConnectionState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&ConnectionState_g_tc_name_string;
ConnectionState_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
/* Initialize the values for member annotations. */
ConnectionState_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
ConnectionState_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
ConnectionState_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
ConnectionState_g_tc_members[1]._annotations._defaultValue._u.boolean_value = 0;
ConnectionState_g_tc._data._sampleAccessInfo = sample_access_info();
ConnectionState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ConnectionState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ConnectionState *sample;
static RTIXCdrMemberAccessInfo ConnectionState_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ConnectionState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ConnectionState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ConnectionState);
if (sample == NULL) {
return NULL;
}
ConnectionState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->name - (char *)sample);
ConnectionState_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->state - (char *)sample);
ConnectionState_g_sampleAccessInfo.memberAccessInfos =
ConnectionState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ConnectionState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ConnectionState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ConnectionState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ConnectionState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ConnectionState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ConnectionState >;
ConnectionState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ConnectionState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ConnectionState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ConnectionState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ConnectionState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ConnectionState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Connections > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode Connections_g_tc_connections_sequence;
static DDS_TypeCode_Member Connections_g_tc_members[2]=
{
{
(char *)"id",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"connections",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Connections_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Connections", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
Connections_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Connections*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Connections_g_tc;
}
Connections_g_tc_connections_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::ConnectionState > >(RTIXCdrLong_MAX);
Connections_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Connections_g_tc_connections_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::ConnectionState>::get().native();
Connections_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Connections_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& Connections_g_tc_connections_sequence;
/* Initialize the values for member annotations. */
Connections_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Connections_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
Connections_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Connections_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Connections_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Connections_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Connections_g_tc._data._sampleAccessInfo = sample_access_info();
Connections_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Connections_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Connections *sample;
static RTIXCdrMemberAccessInfo Connections_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Connections_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Connections_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Connections);
if (sample == NULL) {
return NULL;
}
Connections_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->id - (char *)sample);
Connections_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->connections - (char *)sample);
Connections_g_sampleAccessInfo.memberAccessInfos =
Connections_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Connections);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Connections_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Connections_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Connections_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Connections_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Connections >;
Connections_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Connections_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Connections_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Connections_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Connections >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Connections >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::CtaDataError > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member CtaDataError_g_tc_members[2]=
{
{
(char *)"reason",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originTelegramId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode CtaDataError_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::CtaDataError", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
CtaDataError_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for CtaDataError*/
if (is_initialized.load(std::memory_order_acquire)) {
return &CtaDataError_g_tc;
}
CtaDataError_g_tc._data._annotations._allowedDataRepresentationMask = 5;
CtaDataError_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::DataErrorReason>::get().native();
CtaDataError_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
CtaDataError_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
CtaDataError_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
CtaDataError_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
CtaDataError_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
CtaDataError_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
CtaDataError_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
CtaDataError_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
CtaDataError_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
CtaDataError_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
CtaDataError_g_tc._data._sampleAccessInfo = sample_access_info();
CtaDataError_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &CtaDataError_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::CtaDataError *sample;
static RTIXCdrMemberAccessInfo CtaDataError_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo CtaDataError_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &CtaDataError_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::CtaDataError);
if (sample == NULL) {
return NULL;
}
CtaDataError_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reason - (char *)sample);
CtaDataError_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originTelegramId - (char *)sample);
CtaDataError_g_sampleAccessInfo.memberAccessInfos =
CtaDataError_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::CtaDataError);
if (candidateTypeSize > RTIXCdrLong_MAX) {
CtaDataError_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
CtaDataError_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
CtaDataError_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
CtaDataError_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::CtaDataError >;
CtaDataError_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &CtaDataError_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin CtaDataError_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &CtaDataError_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::CtaDataError >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::CtaDataError >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::IedBaseData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member IedBaseData_g_tc_members[3]=
{
{
(char *)"iedId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"tacticalState",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"statePyrotechnics",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode IedBaseData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::IedBaseData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
IedBaseData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for IedBaseData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &IedBaseData_g_tc;
}
IedBaseData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
IedBaseData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
IedBaseData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
IedBaseData_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
IedBaseData_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
IedBaseData_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
IedBaseData_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
IedBaseData_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
IedBaseData_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
IedBaseData_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
IedBaseData_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
IedBaseData_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
IedBaseData_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
IedBaseData_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
IedBaseData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
IedBaseData_g_tc._data._sampleAccessInfo = sample_access_info();
IedBaseData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &IedBaseData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::IedBaseData *sample;
static RTIXCdrMemberAccessInfo IedBaseData_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo IedBaseData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &IedBaseData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::IedBaseData);
if (sample == NULL) {
return NULL;
}
IedBaseData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->iedId - (char *)sample);
IedBaseData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->tacticalState - (char *)sample);
IedBaseData_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->statePyrotechnics - (char *)sample);
IedBaseData_g_sampleAccessInfo.memberAccessInfos =
IedBaseData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::IedBaseData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
IedBaseData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
IedBaseData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
IedBaseData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
IedBaseData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::IedBaseData >;
IedBaseData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &IedBaseData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin IedBaseData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &IedBaseData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::IedBaseData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::IedBaseData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DefinitionIed > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member DefinitionIed_g_tc_members[10]=
{
{
(char *)"position",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"type",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"remoteTrigger",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"switchTrigger",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"lightBarrierTrigger",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"tautWireTrigger",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"explosiveForce",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"pairingState",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"pairedId",/* Member name */
{
14,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DefinitionIed_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DefinitionIed", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
10, /* Number of members */
DefinitionIed_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DefinitionIed*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DefinitionIed_g_tc;
}
DefinitionIed_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DefinitionIed_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
DefinitionIed_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DefinitionIed_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DefinitionIed_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DefinitionIed_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DefinitionIed_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DefinitionIed_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DefinitionIed_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DefinitionIed_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DefinitionIed_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
DefinitionIed_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
DefinitionIed_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DefinitionIed_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DefinitionIed_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DefinitionIed_g_tc_members[2]._annotations._defaultValue._u.boolean_value = 0;
DefinitionIed_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DefinitionIed_g_tc_members[3]._annotations._defaultValue._u.boolean_value = 0;
DefinitionIed_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DefinitionIed_g_tc_members[4]._annotations._defaultValue._u.boolean_value = 0;
DefinitionIed_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DefinitionIed_g_tc_members[5]._annotations._defaultValue._u.boolean_value = 0;
DefinitionIed_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[6]._annotations._defaultValue._u.long_value = 0;
DefinitionIed_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[6]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DefinitionIed_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[6]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DefinitionIed_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
DefinitionIed_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DefinitionIed_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DefinitionIed_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
DefinitionIed_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DefinitionIed_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DefinitionIed_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DefinitionIed_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DefinitionIed_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DefinitionIed_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::IedBaseData >::get().native(); /* Base class */
DefinitionIed_g_tc._data._sampleAccessInfo = sample_access_info();
DefinitionIed_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DefinitionIed_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DefinitionIed *sample;
static RTIXCdrMemberAccessInfo DefinitionIed_g_memberAccessInfos[10] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DefinitionIed_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DefinitionIed_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DefinitionIed);
if (sample == NULL) {
return NULL;
}
DefinitionIed_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
DefinitionIed_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->type - (char *)sample);
DefinitionIed_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->remoteTrigger - (char *)sample);
DefinitionIed_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->switchTrigger - (char *)sample);
DefinitionIed_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->lightBarrierTrigger - (char *)sample);
DefinitionIed_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->tautWireTrigger - (char *)sample);
DefinitionIed_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->explosiveForce - (char *)sample);
DefinitionIed_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
DefinitionIed_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->pairingState - (char *)sample);
DefinitionIed_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->pairedId - (char *)sample);
DefinitionIed_g_sampleAccessInfo.memberAccessInfos =
DefinitionIed_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DefinitionIed);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DefinitionIed_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DefinitionIed_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DefinitionIed_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DefinitionIed_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DefinitionIed >;
DefinitionIed_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DefinitionIed_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DefinitionIed_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DefinitionIed_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DefinitionIed >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DefinitionIed >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DemandBiteRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode DemandBiteRequest_g_tc_equipmentNumbers_sequence;
static DDS_TypeCode_Member DemandBiteRequest_g_tc_members[3]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumbers",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"withSelfTest",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DemandBiteRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DemandBiteRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
DemandBiteRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DemandBiteRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DemandBiteRequest_g_tc;
}
DemandBiteRequest_g_tc_equipmentNumbers_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
DemandBiteRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DemandBiteRequest_g_tc_equipmentNumbers_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandBiteRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandBiteRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& DemandBiteRequest_g_tc_equipmentNumbers_sequence;
DemandBiteRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
/* Initialize the values for member annotations. */
DemandBiteRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandBiteRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DemandBiteRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandBiteRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandBiteRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandBiteRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandBiteRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DemandBiteRequest_g_tc_members[2]._annotations._defaultValue._u.boolean_value = 0;
DemandBiteRequest_g_tc._data._sampleAccessInfo = sample_access_info();
DemandBiteRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DemandBiteRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DemandBiteRequest *sample;
static RTIXCdrMemberAccessInfo DemandBiteRequest_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DemandBiteRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DemandBiteRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DemandBiteRequest);
if (sample == NULL) {
return NULL;
}
DemandBiteRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
DemandBiteRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumbers - (char *)sample);
DemandBiteRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->withSelfTest - (char *)sample);
DemandBiteRequest_g_sampleAccessInfo.memberAccessInfos =
DemandBiteRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DemandBiteRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DemandBiteRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DemandBiteRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DemandBiteRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DemandBiteRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DemandBiteRequest >;
DemandBiteRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DemandBiteRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DemandBiteRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DemandBiteRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DemandBiteRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DemandBiteRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::FtEquipmentBase > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member FtEquipmentBase_g_tc_members[2]=
{
{
(char *)"equipmentNumber",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"participantId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode FtEquipmentBase_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::FtEquipmentBase", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
FtEquipmentBase_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for FtEquipmentBase*/
if (is_initialized.load(std::memory_order_acquire)) {
return &FtEquipmentBase_g_tc;
}
FtEquipmentBase_g_tc._data._annotations._allowedDataRepresentationMask = 5;
FtEquipmentBase_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
FtEquipmentBase_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
FtEquipmentBase_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
FtEquipmentBase_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
FtEquipmentBase_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
FtEquipmentBase_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
FtEquipmentBase_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
FtEquipmentBase_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
FtEquipmentBase_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
FtEquipmentBase_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
FtEquipmentBase_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
FtEquipmentBase_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
FtEquipmentBase_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
FtEquipmentBase_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
FtEquipmentBase_g_tc._data._sampleAccessInfo = sample_access_info();
FtEquipmentBase_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &FtEquipmentBase_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::FtEquipmentBase *sample;
static RTIXCdrMemberAccessInfo FtEquipmentBase_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo FtEquipmentBase_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &FtEquipmentBase_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::FtEquipmentBase);
if (sample == NULL) {
return NULL;
}
FtEquipmentBase_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumber - (char *)sample);
FtEquipmentBase_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->participantId - (char *)sample);
FtEquipmentBase_g_sampleAccessInfo.memberAccessInfos =
FtEquipmentBase_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::FtEquipmentBase);
if (candidateTypeSize > RTIXCdrLong_MAX) {
FtEquipmentBase_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
FtEquipmentBase_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
FtEquipmentBase_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
FtEquipmentBase_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::FtEquipmentBase >;
FtEquipmentBase_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &FtEquipmentBase_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin FtEquipmentBase_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &FtEquipmentBase_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::FtEquipmentBase >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DemandConfigurationReportRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member DemandConfigurationReportRequest_g_tc_members[1]=
{
{
(char *)"dummy",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DemandConfigurationReportRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DemandConfigurationReportRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
DemandConfigurationReportRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DemandConfigurationReportRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DemandConfigurationReportRequest_g_tc;
}
DemandConfigurationReportRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DemandConfigurationReportRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
DemandConfigurationReportRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandConfigurationReportRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DemandConfigurationReportRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandConfigurationReportRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandConfigurationReportRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandConfigurationReportRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandConfigurationReportRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
DemandConfigurationReportRequest_g_tc._data._sampleAccessInfo = sample_access_info();
DemandConfigurationReportRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DemandConfigurationReportRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DemandConfigurationReportRequest *sample;
static RTIXCdrMemberAccessInfo DemandConfigurationReportRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DemandConfigurationReportRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DemandConfigurationReportRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DemandConfigurationReportRequest);
if (sample == NULL) {
return NULL;
}
DemandConfigurationReportRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->dummy - (char *)sample);
DemandConfigurationReportRequest_g_sampleAccessInfo.memberAccessInfos =
DemandConfigurationReportRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DemandConfigurationReportRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DemandConfigurationReportRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DemandConfigurationReportRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DemandConfigurationReportRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DemandConfigurationReportRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DemandConfigurationReportRequest >;
DemandConfigurationReportRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DemandConfigurationReportRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DemandConfigurationReportRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DemandConfigurationReportRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DemandConfigurationReportRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DemandConfigurationReportRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DemandInitRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode DemandInitRequest_g_tc_equipmentNumbers_sequence;
static DDS_TypeCode_Member DemandInitRequest_g_tc_members[7]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"workstationId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumbers",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"restockCharges",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"resetManipulation",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"resetVulnerabilityState",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"restockSanitationMaterial",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DemandInitRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DemandInitRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
7, /* Number of members */
DemandInitRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DemandInitRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DemandInitRequest_g_tc;
}
DemandInitRequest_g_tc_equipmentNumbers_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
DemandInitRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DemandInitRequest_g_tc_equipmentNumbers_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandInitRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandInitRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandInitRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)& DemandInitRequest_g_tc_equipmentNumbers_sequence;
DemandInitRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DemandInitRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DemandInitRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
DemandInitRequest_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
/* Initialize the values for member annotations. */
DemandInitRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandInitRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DemandInitRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandInitRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandInitRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandInitRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandInitRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandInitRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
DemandInitRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandInitRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandInitRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandInitRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandInitRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DemandInitRequest_g_tc_members[3]._annotations._defaultValue._u.boolean_value = 0;
DemandInitRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DemandInitRequest_g_tc_members[4]._annotations._defaultValue._u.boolean_value = 0;
DemandInitRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DemandInitRequest_g_tc_members[5]._annotations._defaultValue._u.boolean_value = 0;
DemandInitRequest_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DemandInitRequest_g_tc_members[6]._annotations._defaultValue._u.boolean_value = 0;
DemandInitRequest_g_tc._data._sampleAccessInfo = sample_access_info();
DemandInitRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DemandInitRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DemandInitRequest *sample;
static RTIXCdrMemberAccessInfo DemandInitRequest_g_memberAccessInfos[7] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DemandInitRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DemandInitRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DemandInitRequest);
if (sample == NULL) {
return NULL;
}
DemandInitRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
DemandInitRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->workstationId - (char *)sample);
DemandInitRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumbers - (char *)sample);
DemandInitRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->restockCharges - (char *)sample);
DemandInitRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->resetManipulation - (char *)sample);
DemandInitRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->resetVulnerabilityState - (char *)sample);
DemandInitRequest_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->restockSanitationMaterial - (char *)sample);
DemandInitRequest_g_sampleAccessInfo.memberAccessInfos =
DemandInitRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DemandInitRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DemandInitRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DemandInitRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DemandInitRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DemandInitRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DemandInitRequest >;
DemandInitRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DemandInitRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DemandInitRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DemandInitRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DemandInitRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DemandInitRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DemandParticipantConfigurationRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member DemandParticipantConfigurationRequest_g_tc_members[1]=
{
{
(char *)"dummy",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DemandParticipantConfigurationRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DemandParticipantConfigurationRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
DemandParticipantConfigurationRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DemandParticipantConfigurationRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DemandParticipantConfigurationRequest_g_tc;
}
DemandParticipantConfigurationRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DemandParticipantConfigurationRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
DemandParticipantConfigurationRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandParticipantConfigurationRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DemandParticipantConfigurationRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandParticipantConfigurationRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandParticipantConfigurationRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandParticipantConfigurationRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandParticipantConfigurationRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
DemandParticipantConfigurationRequest_g_tc._data._sampleAccessInfo = sample_access_info();
DemandParticipantConfigurationRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DemandParticipantConfigurationRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DemandParticipantConfigurationRequest *sample;
static RTIXCdrMemberAccessInfo DemandParticipantConfigurationRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DemandParticipantConfigurationRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DemandParticipantConfigurationRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DemandParticipantConfigurationRequest);
if (sample == NULL) {
return NULL;
}
DemandParticipantConfigurationRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->dummy - (char *)sample);
DemandParticipantConfigurationRequest_g_sampleAccessInfo.memberAccessInfos =
DemandParticipantConfigurationRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DemandParticipantConfigurationRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DemandParticipantConfigurationRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DemandParticipantConfigurationRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DemandParticipantConfigurationRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DemandParticipantConfigurationRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DemandParticipantConfigurationRequest >;
DemandParticipantConfigurationRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DemandParticipantConfigurationRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DemandParticipantConfigurationRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DemandParticipantConfigurationRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DemandParticipantConfigurationRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DemandParticipantConfigurationRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DemandParticipantModeRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member DemandParticipantModeRequest_g_tc_members[1]=
{
{
(char *)"dummy",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DemandParticipantModeRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DemandParticipantModeRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
DemandParticipantModeRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DemandParticipantModeRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DemandParticipantModeRequest_g_tc;
}
DemandParticipantModeRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DemandParticipantModeRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
DemandParticipantModeRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandParticipantModeRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DemandParticipantModeRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandParticipantModeRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandParticipantModeRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandParticipantModeRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandParticipantModeRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
DemandParticipantModeRequest_g_tc._data._sampleAccessInfo = sample_access_info();
DemandParticipantModeRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DemandParticipantModeRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DemandParticipantModeRequest *sample;
static RTIXCdrMemberAccessInfo DemandParticipantModeRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DemandParticipantModeRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DemandParticipantModeRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DemandParticipantModeRequest);
if (sample == NULL) {
return NULL;
}
DemandParticipantModeRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->dummy - (char *)sample);
DemandParticipantModeRequest_g_sampleAccessInfo.memberAccessInfos =
DemandParticipantModeRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DemandParticipantModeRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DemandParticipantModeRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DemandParticipantModeRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DemandParticipantModeRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DemandParticipantModeRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DemandParticipantModeRequest >;
DemandParticipantModeRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DemandParticipantModeRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DemandParticipantModeRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DemandParticipantModeRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DemandParticipantModeRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DemandParticipantModeRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode DemandVulnerabilityStateChangeRequest_g_tc_equipmentNumbers_sequence;
static DDS_TypeCode_Member DemandVulnerabilityStateChangeRequest_g_tc_members[6]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"workstationId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumbers",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityState",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityKind",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vitality",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DemandVulnerabilityStateChangeRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DemandVulnerabilityStateChangeRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
DemandVulnerabilityStateChangeRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DemandVulnerabilityStateChangeRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DemandVulnerabilityStateChangeRequest_g_tc;
}
DemandVulnerabilityStateChangeRequest_g_tc_equipmentNumbers_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
DemandVulnerabilityStateChangeRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DemandVulnerabilityStateChangeRequest_g_tc_equipmentNumbers_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandVulnerabilityStateChangeRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)& DemandVulnerabilityStateChangeRequest_g_tc_equipmentNumbers_sequence;
DemandVulnerabilityStateChangeRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::VulnerabilityState>::get().native();
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandVulnerabilityStateChangeRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
DemandVulnerabilityStateChangeRequest_g_tc_members[3]._annotations._defaultValue._u.enumerated_value = -1;
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DemandVulnerabilityStateChangeRequest_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DemandVulnerabilityStateChangeRequest_g_tc._data._sampleAccessInfo = sample_access_info();
DemandVulnerabilityStateChangeRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DemandVulnerabilityStateChangeRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DemandVulnerabilityStateChangeRequest *sample;
static RTIXCdrMemberAccessInfo DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DemandVulnerabilityStateChangeRequest);
if (sample == NULL) {
return NULL;
}
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->workstationId - (char *)sample);
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumbers - (char *)sample);
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityState - (char *)sample);
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityKind - (char *)sample);
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vitality - (char *)sample);
DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo.memberAccessInfos =
DemandVulnerabilityStateChangeRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DemandVulnerabilityStateChangeRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >;
DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DemandVulnerabilityStateChangeRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DemandVulnerabilityStateChangeRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DemandVulnerabilityStateChangeRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Dispersion > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member Dispersion_g_tc_members[4]=
{
{
(char *)"longitudinal",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"lateral",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"longitudinalH",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"lateralH",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Dispersion_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Dispersion", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
Dispersion_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Dispersion*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Dispersion_g_tc;
}
Dispersion_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Dispersion_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
Dispersion_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
Dispersion_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
Dispersion_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
/* Initialize the values for member annotations. */
Dispersion_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[0]._annotations._defaultValue._u.double_value = 0.0;
Dispersion_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[0]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
Dispersion_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[0]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
Dispersion_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[1]._annotations._defaultValue._u.double_value = 0.0;
Dispersion_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[1]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
Dispersion_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[1]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
Dispersion_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[2]._annotations._defaultValue._u.double_value = 0.0;
Dispersion_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[2]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
Dispersion_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[2]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
Dispersion_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[3]._annotations._defaultValue._u.double_value = 0.0;
Dispersion_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[3]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
Dispersion_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
Dispersion_g_tc_members[3]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
Dispersion_g_tc._data._sampleAccessInfo = sample_access_info();
Dispersion_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Dispersion_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Dispersion *sample;
static RTIXCdrMemberAccessInfo Dispersion_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Dispersion_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Dispersion_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Dispersion);
if (sample == NULL) {
return NULL;
}
Dispersion_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->longitudinal - (char *)sample);
Dispersion_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->lateral - (char *)sample);
Dispersion_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->longitudinalH - (char *)sample);
Dispersion_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->lateralH - (char *)sample);
Dispersion_g_sampleAccessInfo.memberAccessInfos =
Dispersion_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Dispersion);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Dispersion_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Dispersion_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Dispersion_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Dispersion_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Dispersion >;
Dispersion_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Dispersion_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Dispersion_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Dispersion_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Dispersion >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Dispersion >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::DusSingleMineState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member DusSingleMineState_g_tc_members[5]=
{
{
(char *)"mineId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectStart",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"position",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeTypeId",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"state",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode DusSingleMineState_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::DusSingleMineState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
5, /* Number of members */
DusSingleMineState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for DusSingleMineState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &DusSingleMineState_g_tc;
}
DusSingleMineState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
DusSingleMineState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DusSingleMineState_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
DusSingleMineState_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
DusSingleMineState_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
DusSingleMineState_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
/* Initialize the values for member annotations. */
DusSingleMineState_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DusSingleMineState_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
DusSingleMineState_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DusSingleMineState_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DusSingleMineState_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DusSingleMineState_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DusSingleMineState_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
DusSingleMineState_g_tc_members[1]._annotations._defaultValue._u.long_long_value = 0ll;
DusSingleMineState_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
DusSingleMineState_g_tc_members[1]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
DusSingleMineState_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
DusSingleMineState_g_tc_members[1]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
DusSingleMineState_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
DusSingleMineState_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
DusSingleMineState_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
DusSingleMineState_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
DusSingleMineState_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
DusSingleMineState_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
DusSingleMineState_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
DusSingleMineState_g_tc_members[4]._annotations._defaultValue._u.boolean_value = 0;
DusSingleMineState_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
DusSingleMineState_g_tc._data._sampleAccessInfo = sample_access_info();
DusSingleMineState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &DusSingleMineState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::DusSingleMineState *sample;
static RTIXCdrMemberAccessInfo DusSingleMineState_g_memberAccessInfos[5] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo DusSingleMineState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &DusSingleMineState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::DusSingleMineState);
if (sample == NULL) {
return NULL;
}
DusSingleMineState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineId - (char *)sample);
DusSingleMineState_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectStart - (char *)sample);
DusSingleMineState_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
DusSingleMineState_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
DusSingleMineState_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->state - (char *)sample);
DusSingleMineState_g_sampleAccessInfo.memberAccessInfos =
DusSingleMineState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::DusSingleMineState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
DusSingleMineState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
DusSingleMineState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
DusSingleMineState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
DusSingleMineState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::DusSingleMineState >;
DusSingleMineState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &DusSingleMineState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin DusSingleMineState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &DusSingleMineState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::DusSingleMineState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::DusSingleMineState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_CeaseFiring > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_CeaseFiring_g_tc_identifier_string;
static DDS_TypeCode EX_CeaseFiring_g_tc_reference_string;
static DDS_TypeCode_Member EX_CeaseFiring_g_tc_members[8]=
{
{
(char *)"identifier",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectorId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"category",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reference",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"targetPosNumber",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinate",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"radius",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"unloadRound",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_CeaseFiring_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_CeaseFiring", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
8, /* Number of members */
EX_CeaseFiring_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_CeaseFiring*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_CeaseFiring_g_tc;
}
EX_CeaseFiring_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_CeaseFiring_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_CeaseFiring_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_CeaseFiring_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&EX_CeaseFiring_g_tc_identifier_string;
EX_CeaseFiring_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L27_EffectorId>::get().native();
EX_CeaseFiring_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L22_FireHaltCategory>::get().native();
EX_CeaseFiring_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&EX_CeaseFiring_g_tc_reference_string;
EX_CeaseFiring_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_CeaseFiring_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
EX_CeaseFiring_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_CeaseFiring_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EX_CeaseFiring_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_CeaseFiring_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_CeaseFiring_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_CeaseFiring_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 1;
EX_CeaseFiring_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_CeaseFiring_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
EX_CeaseFiring_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_CeaseFiring_g_tc_members[3]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_CeaseFiring_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
EX_CeaseFiring_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_CeaseFiring_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_CeaseFiring_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[6]._annotations._defaultValue._u.long_value = 0;
EX_CeaseFiring_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[6]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_CeaseFiring_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[6]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_CeaseFiring_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
EX_CeaseFiring_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_CeaseFiring_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_CeaseFiring_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_CeaseFiring_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_CeaseFiring_g_tc._data._sampleAccessInfo = sample_access_info();
EX_CeaseFiring_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_CeaseFiring_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_CeaseFiring *sample;
static RTIXCdrMemberAccessInfo EX_CeaseFiring_g_memberAccessInfos[8] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_CeaseFiring_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_CeaseFiring_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_CeaseFiring);
if (sample == NULL) {
return NULL;
}
EX_CeaseFiring_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorId - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->category - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->targetPosNumber - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinate - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->radius - (char *)sample);
EX_CeaseFiring_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->unloadRound - (char *)sample);
EX_CeaseFiring_g_sampleAccessInfo.memberAccessInfos =
EX_CeaseFiring_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_CeaseFiring);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_CeaseFiring_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_CeaseFiring_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_CeaseFiring_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_CeaseFiring_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_CeaseFiring >;
EX_CeaseFiring_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_CeaseFiring_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_CeaseFiring_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_CeaseFiring_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_CeaseFiring >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_CeaseFiring >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_DoNotFire > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_DoNotFire_g_tc_reference_string;
static DDS_TypeCode EX_DoNotFire_g_tc_identifier_string;
static DDS_TypeCode_Member EX_DoNotFire_g_tc_members[3]=
{
{
(char *)"reference",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"identifier",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectorId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_DoNotFire_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_DoNotFire", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
EX_DoNotFire_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_DoNotFire*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_DoNotFire_g_tc;
}
EX_DoNotFire_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_DoNotFire_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_DoNotFire_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_DoNotFire_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&EX_DoNotFire_g_tc_reference_string;
EX_DoNotFire_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&EX_DoNotFire_g_tc_identifier_string;
EX_DoNotFire_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L27_EffectorId>::get().native();
/* Initialize the values for member annotations. */
EX_DoNotFire_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_DoNotFire_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_DoNotFire_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_DoNotFire_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_DoNotFire_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_DoNotFire_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
EX_DoNotFire_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_DoNotFire_g_tc._data._sampleAccessInfo = sample_access_info();
EX_DoNotFire_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_DoNotFire_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_DoNotFire *sample;
static RTIXCdrMemberAccessInfo EX_DoNotFire_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_DoNotFire_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_DoNotFire_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_DoNotFire);
if (sample == NULL) {
return NULL;
}
EX_DoNotFire_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
EX_DoNotFire_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
EX_DoNotFire_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorId - (char *)sample);
EX_DoNotFire_g_sampleAccessInfo.memberAccessInfos =
EX_DoNotFire_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_DoNotFire);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_DoNotFire_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_DoNotFire_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_DoNotFire_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_DoNotFire_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_DoNotFire >;
EX_DoNotFire_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_DoNotFire_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_DoNotFire_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_DoNotFire_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_DoNotFire >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_DoNotFire >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L29_ReconnaissanceUnit > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode L29_ReconnaissanceUnit_g_tc_identifier_string;
static DDS_TypeCode_Member L29_ReconnaissanceUnit_g_tc_members[3]=
{
{
(char *)"identifier",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"r",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"oi",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L29_ReconnaissanceUnit_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L29_ReconnaissanceUnit", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
L29_ReconnaissanceUnit_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L29_ReconnaissanceUnit*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L29_ReconnaissanceUnit_g_tc;
}
L29_ReconnaissanceUnit_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
L29_ReconnaissanceUnit_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L29_ReconnaissanceUnit_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&L29_ReconnaissanceUnit_g_tc_identifier_string;
L29_ReconnaissanceUnit_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L29_ReconnaissanceUnit_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L19_Oi>::get().native();
/* Initialize the values for member annotations. */
L29_ReconnaissanceUnit_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
L29_ReconnaissanceUnit_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
L29_ReconnaissanceUnit_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L29_ReconnaissanceUnit_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L29_ReconnaissanceUnit_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L29_ReconnaissanceUnit_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L29_ReconnaissanceUnit_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L29_ReconnaissanceUnit_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L29_ReconnaissanceUnit_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
L29_ReconnaissanceUnit_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
L29_ReconnaissanceUnit_g_tc._data._sampleAccessInfo = sample_access_info();
L29_ReconnaissanceUnit_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L29_ReconnaissanceUnit_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L29_ReconnaissanceUnit *sample;
static RTIXCdrMemberAccessInfo L29_ReconnaissanceUnit_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L29_ReconnaissanceUnit_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L29_ReconnaissanceUnit_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L29_ReconnaissanceUnit);
if (sample == NULL) {
return NULL;
}
L29_ReconnaissanceUnit_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
L29_ReconnaissanceUnit_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->r - (char *)sample);
L29_ReconnaissanceUnit_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->oi - (char *)sample);
L29_ReconnaissanceUnit_g_sampleAccessInfo.memberAccessInfos =
L29_ReconnaissanceUnit_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L29_ReconnaissanceUnit);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L29_ReconnaissanceUnit_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L29_ReconnaissanceUnit_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L29_ReconnaissanceUnit_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L29_ReconnaissanceUnit_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L29_ReconnaissanceUnit >;
L29_ReconnaissanceUnit_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L29_ReconnaissanceUnit_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L29_ReconnaissanceUnit_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L29_ReconnaissanceUnit_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L29_ReconnaissanceUnit >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L29_ReconnaissanceUnit >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L30_reconnaissancePositionArea > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L30_reconnaissancePositionArea_g_tc_members[3]=
{
{
(char *)"direction",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"left",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"right",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L30_reconnaissancePositionArea_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L30_reconnaissancePositionArea", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
L30_reconnaissancePositionArea_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L30_reconnaissancePositionArea*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L30_reconnaissancePositionArea_g_tc;
}
L30_reconnaissancePositionArea_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L30_reconnaissancePositionArea_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L30_reconnaissancePositionArea_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L30_reconnaissancePositionArea_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
L30_reconnaissancePositionArea_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
L30_reconnaissancePositionArea_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L30_reconnaissancePositionArea_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L30_reconnaissancePositionArea_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L30_reconnaissancePositionArea_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L30_reconnaissancePositionArea_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L30_reconnaissancePositionArea_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
L30_reconnaissancePositionArea_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L30_reconnaissancePositionArea_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L30_reconnaissancePositionArea_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L30_reconnaissancePositionArea_g_tc._data._sampleAccessInfo = sample_access_info();
L30_reconnaissancePositionArea_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L30_reconnaissancePositionArea_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L30_reconnaissancePositionArea *sample;
static RTIXCdrMemberAccessInfo L30_reconnaissancePositionArea_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L30_reconnaissancePositionArea_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L30_reconnaissancePositionArea_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L30_reconnaissancePositionArea);
if (sample == NULL) {
return NULL;
}
L30_reconnaissancePositionArea_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->direction - (char *)sample);
L30_reconnaissancePositionArea_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->left - (char *)sample);
L30_reconnaissancePositionArea_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->right - (char *)sample);
L30_reconnaissancePositionArea_g_sampleAccessInfo.memberAccessInfos =
L30_reconnaissancePositionArea_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L30_reconnaissancePositionArea);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L30_reconnaissancePositionArea_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L30_reconnaissancePositionArea_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L30_reconnaissancePositionArea_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L30_reconnaissancePositionArea_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L30_reconnaissancePositionArea >;
L30_reconnaissancePositionArea_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L30_reconnaissancePositionArea_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L30_reconnaissancePositionArea_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L30_reconnaissancePositionArea_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L30_reconnaissancePositionArea >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L30_reconnaissancePositionArea >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_ExplorationResult > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_ExplorationResult_g_tc_positions_sequence;
static DDS_TypeCode_Member EX_ExplorationResult_g_tc_members[3]=
{
{
(char *)"reconnaissanceUnit",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loadingArea",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positions",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_ExplorationResult_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_ExplorationResult", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
EX_ExplorationResult_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_ExplorationResult*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_ExplorationResult_g_tc;
}
EX_ExplorationResult_g_tc_positions_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::L30_reconnaissancePositionArea > >(RTIXCdrLong_MAX);
EX_ExplorationResult_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_ExplorationResult_g_tc_positions_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L30_reconnaissancePositionArea>::get().native();
EX_ExplorationResult_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L29_ReconnaissanceUnit>::get().native();
EX_ExplorationResult_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
EX_ExplorationResult_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)& EX_ExplorationResult_g_tc_positions_sequence;
/* Initialize the values for member annotations. */
EX_ExplorationResult_g_tc._data._sampleAccessInfo = sample_access_info();
EX_ExplorationResult_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_ExplorationResult_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_ExplorationResult *sample;
static RTIXCdrMemberAccessInfo EX_ExplorationResult_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_ExplorationResult_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_ExplorationResult_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_ExplorationResult);
if (sample == NULL) {
return NULL;
}
EX_ExplorationResult_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reconnaissanceUnit - (char *)sample);
EX_ExplorationResult_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loadingArea - (char *)sample);
EX_ExplorationResult_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positions - (char *)sample);
EX_ExplorationResult_g_sampleAccessInfo.memberAccessInfos =
EX_ExplorationResult_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_ExplorationResult);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_ExplorationResult_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_ExplorationResult_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_ExplorationResult_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_ExplorationResult_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_ExplorationResult >;
EX_ExplorationResult_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_ExplorationResult_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_ExplorationResult_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_ExplorationResult_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_ExplorationResult >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_ExplorationResult >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_Fire > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_Fire_g_tc_reference_string;
static DDS_TypeCode EX_Fire_g_tc_identifier_string;
static DDS_TypeCode_Member EX_Fire_g_tc_members[3]=
{
{
(char *)"reference",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"identifier",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectorId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_Fire_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_Fire", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
EX_Fire_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_Fire*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_Fire_g_tc;
}
EX_Fire_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_Fire_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_Fire_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_Fire_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&EX_Fire_g_tc_reference_string;
EX_Fire_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&EX_Fire_g_tc_identifier_string;
EX_Fire_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L27_EffectorId>::get().native();
/* Initialize the values for member annotations. */
EX_Fire_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_Fire_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_Fire_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_Fire_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_Fire_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_Fire_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
EX_Fire_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_Fire_g_tc._data._sampleAccessInfo = sample_access_info();
EX_Fire_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_Fire_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_Fire *sample;
static RTIXCdrMemberAccessInfo EX_Fire_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_Fire_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_Fire_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_Fire);
if (sample == NULL) {
return NULL;
}
EX_Fire_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
EX_Fire_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
EX_Fire_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorId - (char *)sample);
EX_Fire_g_sampleAccessInfo.memberAccessInfos =
EX_Fire_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_Fire);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_Fire_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_Fire_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_Fire_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_Fire_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_Fire >;
EX_Fire_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_Fire_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_Fire_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_Fire_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_Fire >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_Fire >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L31_MailAddress > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode L31_MailAddress_g_tc_mailAddres_string;
static DDS_TypeCode_Member L31_MailAddress_g_tc_members[1]=
{
{
(char *)"mailAddres",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L31_MailAddress_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L31_MailAddress", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
L31_MailAddress_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L31_MailAddress*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L31_MailAddress_g_tc;
}
L31_MailAddress_g_tc_mailAddres_string = initialize_string_typecode(RTIXCdrLong_MAX);
L31_MailAddress_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L31_MailAddress_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&L31_MailAddress_g_tc_mailAddres_string;
/* Initialize the values for member annotations. */
L31_MailAddress_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
L31_MailAddress_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
L31_MailAddress_g_tc._data._sampleAccessInfo = sample_access_info();
L31_MailAddress_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L31_MailAddress_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L31_MailAddress *sample;
static RTIXCdrMemberAccessInfo L31_MailAddress_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L31_MailAddress_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L31_MailAddress_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L31_MailAddress);
if (sample == NULL) {
return NULL;
}
L31_MailAddress_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mailAddres - (char *)sample);
L31_MailAddress_g_sampleAccessInfo.memberAccessInfos =
L31_MailAddress_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L31_MailAddress);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L31_MailAddress_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L31_MailAddress_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L31_MailAddress_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L31_MailAddress_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L31_MailAddress >;
L31_MailAddress_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L31_MailAddress_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L31_MailAddress_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L31_MailAddress_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L31_MailAddress >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L31_MailAddress >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_GuidingLines > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_GuidingLines_g_tc_name_string;
static DDS_TypeCode EX_GuidingLines_g_tc_coordinates_sequence;
static DDS_TypeCode_Member EX_GuidingLines_g_tc_members[10]=
{
{
(char *)"kindGuidingLine",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"name",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reportNumber",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partOfTroup",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"startTime",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"endTime",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinates",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"center",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"radius",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"height",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_GuidingLines_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_GuidingLines", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
10, /* Number of members */
EX_GuidingLines_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_GuidingLines*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_GuidingLines_g_tc;
}
EX_GuidingLines_g_tc_name_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_GuidingLines_g_tc_coordinates_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::Core::GeoPosition2D > >(RTIXCdrLong_MAX);
EX_GuidingLines_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_GuidingLines_g_tc_coordinates_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
EX_GuidingLines_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L25_KindGuidingLine>::get().native();
EX_GuidingLines_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&EX_GuidingLines_g_tc_name_string;
EX_GuidingLines_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLines_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L31_MailAddress>::get().native();
EX_GuidingLines_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLines_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLines_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)& EX_GuidingLines_g_tc_coordinates_sequence;
EX_GuidingLines_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
EX_GuidingLines_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLines_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EX_GuidingLines_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_GuidingLines_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 1;
EX_GuidingLines_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_GuidingLines_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_GuidingLines_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLines_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLines_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLines_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLines_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLines_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLines_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLines_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLines_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLines_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLines_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLines_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLines_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[9]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLines_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLines_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLines_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLines_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_GuidingLines_g_tc._data._sampleAccessInfo = sample_access_info();
EX_GuidingLines_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_GuidingLines_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_GuidingLines *sample;
static RTIXCdrMemberAccessInfo EX_GuidingLines_g_memberAccessInfos[10] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_GuidingLines_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_GuidingLines_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_GuidingLines);
if (sample == NULL) {
return NULL;
}
EX_GuidingLines_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->kindGuidingLine - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->name - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reportNumber - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partOfTroup - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->startTime - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->endTime - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinates - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->center - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->radius - (char *)sample);
EX_GuidingLines_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->height - (char *)sample);
EX_GuidingLines_g_sampleAccessInfo.memberAccessInfos =
EX_GuidingLines_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_GuidingLines);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_GuidingLines_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_GuidingLines_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_GuidingLines_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_GuidingLines_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_GuidingLines >;
EX_GuidingLines_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_GuidingLines_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_GuidingLines_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_GuidingLines_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_GuidingLines >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_GuidingLines >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_GuidingLinesAndBoundaries_g_tc_name_string;
static DDS_TypeCode EX_GuidingLinesAndBoundaries_g_tc_coordinates_sequence;
static DDS_TypeCode_Member EX_GuidingLinesAndBoundaries_g_tc_members[10]=
{
{
(char *)"kind",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"name",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reportNumber",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partOfTroup",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"startTinme",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"endTinme",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinates",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"center",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"radius",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"maxHeight",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_GuidingLinesAndBoundaries_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_GuidingLinesAndBoundaries", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
10, /* Number of members */
EX_GuidingLinesAndBoundaries_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_GuidingLinesAndBoundaries*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_GuidingLinesAndBoundaries_g_tc;
}
EX_GuidingLinesAndBoundaries_g_tc_name_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_GuidingLinesAndBoundaries_g_tc_coordinates_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::Core::GeoPosition2D > >(RTIXCdrLong_MAX);
EX_GuidingLinesAndBoundaries_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_GuidingLinesAndBoundaries_g_tc_coordinates_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
EX_GuidingLinesAndBoundaries_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L25_KindGuidingLine>::get().native();
EX_GuidingLinesAndBoundaries_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&EX_GuidingLinesAndBoundaries_g_tc_name_string;
EX_GuidingLinesAndBoundaries_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLinesAndBoundaries_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L31_MailAddress>::get().native();
EX_GuidingLinesAndBoundaries_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLinesAndBoundaries_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)& EX_GuidingLinesAndBoundaries_g_tc_coordinates_sequence;
EX_GuidingLinesAndBoundaries_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
EX_GuidingLinesAndBoundaries_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EX_GuidingLinesAndBoundaries_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_GuidingLinesAndBoundaries_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 1;
EX_GuidingLinesAndBoundaries_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_GuidingLinesAndBoundaries_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_GuidingLinesAndBoundaries_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLinesAndBoundaries_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLinesAndBoundaries_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLinesAndBoundaries_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLinesAndBoundaries_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLinesAndBoundaries_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLinesAndBoundaries_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLinesAndBoundaries_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLinesAndBoundaries_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._annotations._defaultValue._u.long_value = 0;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_GuidingLinesAndBoundaries_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_GuidingLinesAndBoundaries_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_GuidingLinesAndBoundaries_g_tc._data._sampleAccessInfo = sample_access_info();
EX_GuidingLinesAndBoundaries_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_GuidingLinesAndBoundaries_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_GuidingLinesAndBoundaries *sample;
static RTIXCdrMemberAccessInfo EX_GuidingLinesAndBoundaries_g_memberAccessInfos[10] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_GuidingLinesAndBoundaries_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_GuidingLinesAndBoundaries_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_GuidingLinesAndBoundaries);
if (sample == NULL) {
return NULL;
}
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->kind - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->name - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reportNumber - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partOfTroup - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->startTinme - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->endTinme - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinates - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->center - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->radius - (char *)sample);
EX_GuidingLinesAndBoundaries_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->maxHeight - (char *)sample);
EX_GuidingLinesAndBoundaries_g_sampleAccessInfo.memberAccessInfos =
EX_GuidingLinesAndBoundaries_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_GuidingLinesAndBoundaries);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_GuidingLinesAndBoundaries_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_GuidingLinesAndBoundaries_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_GuidingLinesAndBoundaries_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_GuidingLinesAndBoundaries_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >;
EX_GuidingLinesAndBoundaries_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_GuidingLinesAndBoundaries_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_GuidingLinesAndBoundaries_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_GuidingLinesAndBoundaries_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_MessageRevocation > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EX_MessageRevocation_g_tc_members[2]=
{
{
(char *)"messageSource",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"messageIdentifier",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_MessageRevocation_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_MessageRevocation", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
EX_MessageRevocation_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_MessageRevocation*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_MessageRevocation_g_tc;
}
EX_MessageRevocation_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_MessageRevocation_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L31_MailAddress>::get().native();
EX_MessageRevocation_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EX_MessageRevocation_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EX_MessageRevocation_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
EX_MessageRevocation_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EX_MessageRevocation_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EX_MessageRevocation_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EX_MessageRevocation_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EX_MessageRevocation_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_MessageRevocation_g_tc._data._sampleAccessInfo = sample_access_info();
EX_MessageRevocation_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_MessageRevocation_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_MessageRevocation *sample;
static RTIXCdrMemberAccessInfo EX_MessageRevocation_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_MessageRevocation_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_MessageRevocation_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_MessageRevocation);
if (sample == NULL) {
return NULL;
}
EX_MessageRevocation_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->messageSource - (char *)sample);
EX_MessageRevocation_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->messageIdentifier - (char *)sample);
EX_MessageRevocation_g_sampleAccessInfo.memberAccessInfos =
EX_MessageRevocation_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_MessageRevocation);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_MessageRevocation_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_MessageRevocation_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_MessageRevocation_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_MessageRevocation_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_MessageRevocation >;
EX_MessageRevocation_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_MessageRevocation_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_MessageRevocation_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_MessageRevocation_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_MessageRevocation >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_MessageRevocation >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L3_Unit > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode L3_Unit_g_tc_identifier_string;
static DDS_TypeCode_Member L3_Unit_g_tc_members[3]=
{
{
(char *)"identifier",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"r",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"oi",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L3_Unit_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L3_Unit", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
L3_Unit_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L3_Unit*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L3_Unit_g_tc;
}
L3_Unit_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
L3_Unit_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L3_Unit_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&L3_Unit_g_tc_identifier_string;
L3_Unit_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L3_Unit_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L19_Oi>::get().native();
/* Initialize the values for member annotations. */
L3_Unit_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
L3_Unit_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
L3_Unit_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L3_Unit_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L3_Unit_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L3_Unit_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L3_Unit_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L3_Unit_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L3_Unit_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
L3_Unit_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
L3_Unit_g_tc._data._sampleAccessInfo = sample_access_info();
L3_Unit_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L3_Unit_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L3_Unit *sample;
static RTIXCdrMemberAccessInfo L3_Unit_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L3_Unit_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L3_Unit_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L3_Unit);
if (sample == NULL) {
return NULL;
}
L3_Unit_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
L3_Unit_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->r - (char *)sample);
L3_Unit_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->oi - (char *)sample);
L3_Unit_g_sampleAccessInfo.memberAccessInfos =
L3_Unit_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L3_Unit);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L3_Unit_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L3_Unit_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L3_Unit_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L3_Unit_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L3_Unit >;
L3_Unit_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L3_Unit_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L3_Unit_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L3_Unit_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L3_Unit >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L3_Unit >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L8_Charges > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L8_Charges_g_tc_members[4]=
{
{
(char *)"chargeTypeId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loadTypeId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"igniterTypeId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"count",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L8_Charges_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L8_Charges", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
L8_Charges_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L8_Charges*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L8_Charges_g_tc;
}
L8_Charges_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L8_Charges_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L8_Charges_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L8_Charges_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L8_Charges_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
L8_Charges_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
L8_Charges_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L8_Charges_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L8_Charges_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L8_Charges_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L8_Charges_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L8_Charges_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
L8_Charges_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L8_Charges_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L8_Charges_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
L8_Charges_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L8_Charges_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L8_Charges_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L8_Charges_g_tc._data._sampleAccessInfo = sample_access_info();
L8_Charges_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L8_Charges_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L8_Charges *sample;
static RTIXCdrMemberAccessInfo L8_Charges_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L8_Charges_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L8_Charges_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L8_Charges);
if (sample == NULL) {
return NULL;
}
L8_Charges_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
L8_Charges_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loadTypeId - (char *)sample);
L8_Charges_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->igniterTypeId - (char *)sample);
L8_Charges_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->count - (char *)sample);
L8_Charges_g_sampleAccessInfo.memberAccessInfos =
L8_Charges_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L8_Charges);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L8_Charges_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L8_Charges_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L8_Charges_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L8_Charges_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L8_Charges >;
L8_Charges_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L8_Charges_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L8_Charges_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L8_Charges_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L8_Charges >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L8_Charges >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L18_EffectableArea > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L18_EffectableArea_g_tc_members[3]=
{
{
(char *)"direction",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"left",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"right",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L18_EffectableArea_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L18_EffectableArea", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
L18_EffectableArea_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L18_EffectableArea*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L18_EffectableArea_g_tc;
}
L18_EffectableArea_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L18_EffectableArea_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L18_EffectableArea_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L18_EffectableArea_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
L18_EffectableArea_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
L18_EffectableArea_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L18_EffectableArea_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L18_EffectableArea_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L18_EffectableArea_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L18_EffectableArea_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L18_EffectableArea_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
L18_EffectableArea_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L18_EffectableArea_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L18_EffectableArea_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L18_EffectableArea_g_tc._data._sampleAccessInfo = sample_access_info();
L18_EffectableArea_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L18_EffectableArea_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L18_EffectableArea *sample;
static RTIXCdrMemberAccessInfo L18_EffectableArea_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L18_EffectableArea_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L18_EffectableArea_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L18_EffectableArea);
if (sample == NULL) {
return NULL;
}
L18_EffectableArea_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->direction - (char *)sample);
L18_EffectableArea_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->left - (char *)sample);
L18_EffectableArea_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->right - (char *)sample);
L18_EffectableArea_g_sampleAccessInfo.memberAccessInfos =
L18_EffectableArea_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L18_EffectableArea);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L18_EffectableArea_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L18_EffectableArea_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L18_EffectableArea_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L18_EffectableArea_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L18_EffectableArea >;
L18_EffectableArea_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L18_EffectableArea_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L18_EffectableArea_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L18_EffectableArea_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L18_EffectableArea >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L18_EffectableArea >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_ReportEffectorUnit > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_ReportEffectorUnit_g_tc_coordinates_sequence;
static DDS_TypeCode_Member EX_ReportEffectorUnit_g_tc_members[7]=
{
{
(char *)"effectingSystemType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"status",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"unit",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"center",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinates",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"charges",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectableArea",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_ReportEffectorUnit_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_ReportEffectorUnit", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
7, /* Number of members */
EX_ReportEffectorUnit_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_ReportEffectorUnit*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_ReportEffectorUnit_g_tc;
}
EX_ReportEffectorUnit_g_tc_coordinates_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::Core::GeoPosition > >(RTIXCdrLong_MAX);
EX_ReportEffectorUnit_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_ReportEffectorUnit_g_tc_coordinates_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
EX_ReportEffectorUnit_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L26_EffectingSystemType>::get().native();
EX_ReportEffectorUnit_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L28_Status>::get().native();
EX_ReportEffectorUnit_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L3_Unit>::get().native();
EX_ReportEffectorUnit_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
EX_ReportEffectorUnit_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)& EX_ReportEffectorUnit_g_tc_coordinates_sequence;
EX_ReportEffectorUnit_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L8_Charges>::get().native();
EX_ReportEffectorUnit_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L18_EffectableArea>::get().native();
/* Initialize the values for member annotations. */
EX_ReportEffectorUnit_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_ReportEffectorUnit_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 1;
EX_ReportEffectorUnit_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_ReportEffectorUnit_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 0;
EX_ReportEffectorUnit_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_ReportEffectorUnit_g_tc._data._sampleAccessInfo = sample_access_info();
EX_ReportEffectorUnit_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_ReportEffectorUnit_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_ReportEffectorUnit *sample;
static RTIXCdrMemberAccessInfo EX_ReportEffectorUnit_g_memberAccessInfos[7] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_ReportEffectorUnit_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_ReportEffectorUnit_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_ReportEffectorUnit);
if (sample == NULL) {
return NULL;
}
EX_ReportEffectorUnit_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectingSystemType - (char *)sample);
EX_ReportEffectorUnit_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->status - (char *)sample);
EX_ReportEffectorUnit_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->unit - (char *)sample);
EX_ReportEffectorUnit_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->center - (char *)sample);
EX_ReportEffectorUnit_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinates - (char *)sample);
EX_ReportEffectorUnit_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->charges - (char *)sample);
EX_ReportEffectorUnit_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectableArea - (char *)sample);
EX_ReportEffectorUnit_g_sampleAccessInfo.memberAccessInfos =
EX_ReportEffectorUnit_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_ReportEffectorUnit);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_ReportEffectorUnit_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_ReportEffectorUnit_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_ReportEffectorUnit_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_ReportEffectorUnit_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_ReportEffectorUnit >;
EX_ReportEffectorUnit_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_ReportEffectorUnit_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_ReportEffectorUnit_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_ReportEffectorUnit_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_ReportEffectorUnit >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_ReportEffectorUnit >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EX_StartFiring > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EX_StartFiring_g_tc_reference_string;
static DDS_TypeCode EX_StartFiring_g_tc_identifier_string;
static DDS_TypeCode_Member EX_StartFiring_g_tc_members[3]=
{
{
(char *)"reference",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"identifier",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectorId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EX_StartFiring_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EX_StartFiring", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
EX_StartFiring_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EX_StartFiring*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EX_StartFiring_g_tc;
}
EX_StartFiring_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_StartFiring_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
EX_StartFiring_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EX_StartFiring_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&EX_StartFiring_g_tc_reference_string;
EX_StartFiring_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&EX_StartFiring_g_tc_identifier_string;
EX_StartFiring_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L27_EffectorId>::get().native();
/* Initialize the values for member annotations. */
EX_StartFiring_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_StartFiring_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_StartFiring_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EX_StartFiring_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EX_StartFiring_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EX_StartFiring_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
EX_StartFiring_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EX_StartFiring_g_tc._data._sampleAccessInfo = sample_access_info();
EX_StartFiring_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EX_StartFiring_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EX_StartFiring *sample;
static RTIXCdrMemberAccessInfo EX_StartFiring_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EX_StartFiring_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EX_StartFiring_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EX_StartFiring);
if (sample == NULL) {
return NULL;
}
EX_StartFiring_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
EX_StartFiring_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
EX_StartFiring_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorId - (char *)sample);
EX_StartFiring_g_sampleAccessInfo.memberAccessInfos =
EX_StartFiring_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EX_StartFiring);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EX_StartFiring_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EX_StartFiring_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EX_StartFiring_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EX_StartFiring_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EX_StartFiring >;
EX_StartFiring_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EX_StartFiring_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EX_StartFiring_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EX_StartFiring_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EX_StartFiring >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EX_StartFiring >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EmergencyCall > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EmergencyCall_g_tc_members[1]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EmergencyCall_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EmergencyCall", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
EmergencyCall_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EmergencyCall*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EmergencyCall_g_tc;
}
EmergencyCall_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EmergencyCall_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
/* Initialize the values for member annotations. */
EmergencyCall_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EmergencyCall_g_tc._data._sampleAccessInfo = sample_access_info();
EmergencyCall_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EmergencyCall_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EmergencyCall *sample;
static RTIXCdrMemberAccessInfo EmergencyCall_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EmergencyCall_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EmergencyCall_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EmergencyCall);
if (sample == NULL) {
return NULL;
}
EmergencyCall_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
EmergencyCall_g_sampleAccessInfo.memberAccessInfos =
EmergencyCall_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EmergencyCall);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EmergencyCall_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EmergencyCall_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EmergencyCall_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EmergencyCall_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EmergencyCall >;
EmergencyCall_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EmergencyCall_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EmergencyCall_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EmergencyCall_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EmergencyCall >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EmergencyCall >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Equipment > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member Equipment_g_tc_members[3]=
{
{
(char *)"equipmentFunctionId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"subDeviceId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"unqiueId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Equipment_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Equipment", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
Equipment_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Equipment*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Equipment_g_tc;
}
Equipment_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Equipment_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Equipment_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Equipment_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
Equipment_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
Equipment_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Equipment_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Equipment_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
Equipment_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Equipment_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Equipment_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
Equipment_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Equipment_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Equipment_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Equipment_g_tc._data._sampleAccessInfo = sample_access_info();
Equipment_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Equipment_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Equipment *sample;
static RTIXCdrMemberAccessInfo Equipment_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Equipment_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Equipment_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Equipment);
if (sample == NULL) {
return NULL;
}
Equipment_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentFunctionId - (char *)sample);
Equipment_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->subDeviceId - (char *)sample);
Equipment_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->unqiueId - (char *)sample);
Equipment_g_sampleAccessInfo.memberAccessInfos =
Equipment_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Equipment);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Equipment_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Equipment_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Equipment_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Equipment_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Equipment >;
Equipment_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Equipment_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Equipment_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Equipment_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Equipment >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Equipment >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentBiteError > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentBiteError_g_tc_members[4]=
{
{
(char *)"errorNumber",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"canDeviceNumber",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"subdeviceNumber",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"uniqueId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentBiteError_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentBiteError", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
EquipmentBiteError_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentBiteError*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentBiteError_g_tc;
}
EquipmentBiteError_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentBiteError_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBiteError_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBiteError_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBiteError_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EquipmentBiteError_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
EquipmentBiteError_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBiteError_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBiteError_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
EquipmentBiteError_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBiteError_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBiteError_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EquipmentBiteError_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBiteError_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBiteError_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
EquipmentBiteError_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBiteError_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBiteError_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBiteError_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentBiteError_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentBiteError_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentBiteError *sample;
static RTIXCdrMemberAccessInfo EquipmentBiteError_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentBiteError_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentBiteError_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentBiteError);
if (sample == NULL) {
return NULL;
}
EquipmentBiteError_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->errorNumber - (char *)sample);
EquipmentBiteError_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->canDeviceNumber - (char *)sample);
EquipmentBiteError_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->subdeviceNumber - (char *)sample);
EquipmentBiteError_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uniqueId - (char *)sample);
EquipmentBiteError_g_sampleAccessInfo.memberAccessInfos =
EquipmentBiteError_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentBiteError);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentBiteError_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentBiteError_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentBiteError_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentBiteError_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentBiteError >;
EquipmentBiteError_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentBiteError_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentBiteError_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentBiteError_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentBiteError >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentBiteError >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentBite > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EquipmentBite_g_tc_biteErrors_sequence;
static DDS_TypeCode_Member EquipmentBite_g_tc_members[6]=
{
{
(char *)"registerType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"biteState",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"configState",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"batteryState",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"configError",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"biteErrors",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentBite_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentBite", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
EquipmentBite_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentBite*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentBite_g_tc;
}
EquipmentBite_g_tc_biteErrors_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::EquipmentBiteError > >(RTIXCdrLong_MAX);
EquipmentBite_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentBite_g_tc_biteErrors_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBiteError>::get().native();
EquipmentBite_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBite_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBite_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBite_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentBite_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
EquipmentBite_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)& EquipmentBite_g_tc_biteErrors_sequence;
/* Initialize the values for member annotations. */
EquipmentBite_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
EquipmentBite_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBite_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBite_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
EquipmentBite_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBite_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBite_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EquipmentBite_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBite_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBite_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
EquipmentBite_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentBite_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentBite_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentBite_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
EquipmentBite_g_tc_members[4]._annotations._defaultValue._u.boolean_value = 0;
EquipmentBite_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentBite_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentBite_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentBite_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentBite *sample;
static RTIXCdrMemberAccessInfo EquipmentBite_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentBite_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentBite_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentBite);
if (sample == NULL) {
return NULL;
}
EquipmentBite_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->registerType - (char *)sample);
EquipmentBite_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->biteState - (char *)sample);
EquipmentBite_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->configState - (char *)sample);
EquipmentBite_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->batteryState - (char *)sample);
EquipmentBite_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->configError - (char *)sample);
EquipmentBite_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->biteErrors - (char *)sample);
EquipmentBite_g_sampleAccessInfo.memberAccessInfos =
EquipmentBite_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentBite);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentBite_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentBite_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentBite_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentBite_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentBite >;
EquipmentBite_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentBite_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentBite_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentBite_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentBite >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentBite >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentConfigurationReport > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentConfigurationReport_g_tc_members[23]=
{
{
(char *)"canStartupTime",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentType",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loginWaittimeBitweenTrys",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loginMaxRetryCount",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loginMasteringFlag",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"canDeviceConfiguration",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"displayDeviceVoiceOutput",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"displayDeviceLanguage",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"pyrotechnics",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mineHandgrenadeSensorMode",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mineHandgrenadeSensorEnergySaving",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"firMode",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"minelayerMode",/* Member name */
{
14,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"specialSensorStandard",/* Member name */
{
15,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"agdusHwMode",/* Member name */
{
16,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionUpdateIntervall",/* Member name */
{
17,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"displayTextMainGroup",/* Member name */
{
18,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"displayTextSubGroup",/* Member name */
{
19,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelAgdus",/* Member name */
{
20,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelMineIed",/* Member name */
{
21,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelAreaFire",/* Member name */
{
22,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelOperatingResource",/* Member name */
{
23,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelACWeaponry",/* Member name */
{
24,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentConfigurationReport_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentConfigurationReport", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
23, /* Number of members */
EquipmentConfigurationReport_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentConfigurationReport*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentConfigurationReport_g_tc;
}
EquipmentConfigurationReport_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentConfigurationReport_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
EquipmentConfigurationReport_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
EquipmentConfigurationReport_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::LanguageConfiguration>::get().native();
EquipmentConfigurationReport_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
EquipmentConfigurationReport_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::MineHandgrenadeSensorMode>::get().native();
EquipmentConfigurationReport_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
EquipmentConfigurationReport_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FirMode>::get().native();
EquipmentConfigurationReport_g_tc_members[12]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::MinelayerMode>::get().native();
EquipmentConfigurationReport_g_tc_members[13]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::SpecialSensorStandardMode>::get().native();
EquipmentConfigurationReport_g_tc_members[14]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::AgdusHwMode>::get().native();
EquipmentConfigurationReport_g_tc_members[15]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::PositionUpdateIntervall>::get().native();
EquipmentConfigurationReport_g_tc_members[16]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[17]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[18]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[19]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[20]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[21]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentConfigurationReport_g_tc_members[22]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EquipmentConfigurationReport_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
EquipmentConfigurationReport_g_tc_members[4]._annotations._defaultValue._u.boolean_value = 0;
EquipmentConfigurationReport_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
EquipmentConfigurationReport_g_tc_members[6]._annotations._defaultValue._u.boolean_value = 0;
EquipmentConfigurationReport_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[7]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentConfigurationReport_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
EquipmentConfigurationReport_g_tc_members[8]._annotations._defaultValue._u.boolean_value = 0;
EquipmentConfigurationReport_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[9]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentConfigurationReport_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
EquipmentConfigurationReport_g_tc_members[10]._annotations._defaultValue._u.boolean_value = 0;
EquipmentConfigurationReport_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[11]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentConfigurationReport_g_tc_members[12]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[12]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentConfigurationReport_g_tc_members[13]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[13]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentConfigurationReport_g_tc_members[14]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[14]._annotations._defaultValue._u.enumerated_value = 1;
EquipmentConfigurationReport_g_tc_members[15]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentConfigurationReport_g_tc_members[15]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentConfigurationReport_g_tc_members[16]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[16]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[16]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[16]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[16]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[16]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[17]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[17]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[17]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[17]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[17]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[17]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[18]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[18]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[18]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[18]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[18]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[18]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[19]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[19]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[19]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[19]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[19]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[19]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[20]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[20]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[20]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[20]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[20]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[20]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[21]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[21]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[21]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[21]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[21]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[21]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc_members[22]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[22]._annotations._defaultValue._u.long_value = 0;
EquipmentConfigurationReport_g_tc_members[22]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[22]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentConfigurationReport_g_tc_members[22]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentConfigurationReport_g_tc_members[22]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentConfigurationReport_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentConfigurationReport_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentConfigurationReport_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentConfigurationReport_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentConfigurationReport *sample;
static RTIXCdrMemberAccessInfo EquipmentConfigurationReport_g_memberAccessInfos[23] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentConfigurationReport_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentConfigurationReport_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentConfigurationReport);
if (sample == NULL) {
return NULL;
}
EquipmentConfigurationReport_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->canStartupTime - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentType - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loginWaittimeBitweenTrys - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loginMaxRetryCount - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loginMasteringFlag - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->canDeviceConfiguration - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->displayDeviceVoiceOutput - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->displayDeviceLanguage - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->pyrotechnics - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineHandgrenadeSensorMode - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineHandgrenadeSensorEnergySaving - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->firMode - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[12].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->minelayerMode - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[13].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->specialSensorStandard - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[14].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->agdusHwMode - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[15].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionUpdateIntervall - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[16].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->displayTextMainGroup - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[17].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->displayTextSubGroup - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[18].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelAgdus - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[19].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelMineIed - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[20].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelAreaFire - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[21].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelOperatingResource - (char *)sample);
EquipmentConfigurationReport_g_memberAccessInfos[22].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelACWeaponry - (char *)sample);
EquipmentConfigurationReport_g_sampleAccessInfo.memberAccessInfos =
EquipmentConfigurationReport_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentConfigurationReport);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentConfigurationReport_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentConfigurationReport_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentConfigurationReport_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentConfigurationReport_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentConfigurationReport >;
EquipmentConfigurationReport_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentConfigurationReport_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentConfigurationReport_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentConfigurationReport_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentConfigurationReport >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentConfigurationReport >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentEvent > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EquipmentEvent_g_tc_data_sequence;
static DDS_TypeCode_Member EquipmentEvent_g_tc_members[4]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"source",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"code",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"data",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentEvent_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentEvent", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
EquipmentEvent_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentEvent*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentEvent_g_tc;
}
EquipmentEvent_g_tc_data_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
EquipmentEvent_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentEvent_g_tc_data_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
EquipmentEvent_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
EquipmentEvent_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Equipment>::get().native();
EquipmentEvent_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentEvent_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)& EquipmentEvent_g_tc_data_sequence;
/* Initialize the values for member annotations. */
EquipmentEvent_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentEvent_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EquipmentEvent_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentEvent_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentEvent_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentEvent_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentEvent_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentEvent_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentEvent_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentEvent_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentEvent *sample;
static RTIXCdrMemberAccessInfo EquipmentEvent_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentEvent_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentEvent_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentEvent);
if (sample == NULL) {
return NULL;
}
EquipmentEvent_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
EquipmentEvent_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->source - (char *)sample);
EquipmentEvent_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->code - (char *)sample);
EquipmentEvent_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->data - (char *)sample);
EquipmentEvent_g_sampleAccessInfo.memberAccessInfos =
EquipmentEvent_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentEvent);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentEvent_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentEvent_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentEvent_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentEvent_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentEvent >;
EquipmentEvent_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentEvent_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentEvent_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentEvent_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentEvent >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentEvent >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Gear > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member Gear_g_tc_members[3]=
{
{
(char *)"gearId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"gearTypeId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeCounting",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Gear_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Gear", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
Gear_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Gear*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Gear_g_tc;
}
Gear_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Gear_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Gear_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Gear_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
/* Initialize the values for member annotations. */
Gear_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Gear_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
Gear_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Gear_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Gear_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Gear_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Gear_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Gear_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
Gear_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Gear_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Gear_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Gear_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Gear_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_BOOLEAN;
Gear_g_tc_members[2]._annotations._defaultValue._u.boolean_value = 0;
Gear_g_tc._data._sampleAccessInfo = sample_access_info();
Gear_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Gear_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Gear *sample;
static RTIXCdrMemberAccessInfo Gear_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Gear_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Gear_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Gear);
if (sample == NULL) {
return NULL;
}
Gear_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gearId - (char *)sample);
Gear_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gearTypeId - (char *)sample);
Gear_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeCounting - (char *)sample);
Gear_g_sampleAccessInfo.memberAccessInfos =
Gear_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Gear);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Gear_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Gear_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Gear_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Gear_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Gear >;
Gear_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Gear_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Gear_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Gear_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Gear >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Gear >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentGearAssignment > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EquipmentGearAssignment_g_tc_gears_sequence;
static DDS_TypeCode_Member EquipmentGearAssignment_g_tc_members[1]=
{
{
(char *)"gears",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentGearAssignment_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentGearAssignment", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
EquipmentGearAssignment_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentGearAssignment*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentGearAssignment_g_tc;
}
EquipmentGearAssignment_g_tc_gears_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::Gear > >(RTIXCdrLong_MAX);
EquipmentGearAssignment_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentGearAssignment_g_tc_gears_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Gear>::get().native();
EquipmentGearAssignment_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& EquipmentGearAssignment_g_tc_gears_sequence;
/* Initialize the values for member annotations. */
EquipmentGearAssignment_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentGearAssignment_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentGearAssignment_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentGearAssignment_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentGearAssignment *sample;
static RTIXCdrMemberAccessInfo EquipmentGearAssignment_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentGearAssignment_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentGearAssignment_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentGearAssignment);
if (sample == NULL) {
return NULL;
}
EquipmentGearAssignment_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gears - (char *)sample);
EquipmentGearAssignment_g_sampleAccessInfo.memberAccessInfos =
EquipmentGearAssignment_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentGearAssignment);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentGearAssignment_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentGearAssignment_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentGearAssignment_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentGearAssignment_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentGearAssignment >;
EquipmentGearAssignment_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentGearAssignment_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentGearAssignment_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentGearAssignment_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentGearAssignment >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentGearAssignment >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::GearCharge > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member GearCharge_g_tc_members[4]=
{
{
(char *)"gearId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"gearTypeId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeTypeId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"remain",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode GearCharge_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::GearCharge", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
GearCharge_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for GearCharge*/
if (is_initialized.load(std::memory_order_acquire)) {
return &GearCharge_g_tc;
}
GearCharge_g_tc._data._annotations._allowedDataRepresentationMask = 5;
GearCharge_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
GearCharge_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
GearCharge_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
GearCharge_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
GearCharge_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
GearCharge_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
GearCharge_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
GearCharge_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
GearCharge_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
GearCharge_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
GearCharge_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
GearCharge_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
GearCharge_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
GearCharge_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
GearCharge_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
GearCharge_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
GearCharge_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
GearCharge_g_tc._data._sampleAccessInfo = sample_access_info();
GearCharge_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &GearCharge_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::GearCharge *sample;
static RTIXCdrMemberAccessInfo GearCharge_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo GearCharge_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &GearCharge_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::GearCharge);
if (sample == NULL) {
return NULL;
}
GearCharge_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gearId - (char *)sample);
GearCharge_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gearTypeId - (char *)sample);
GearCharge_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
GearCharge_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->remain - (char *)sample);
GearCharge_g_sampleAccessInfo.memberAccessInfos =
GearCharge_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::GearCharge);
if (candidateTypeSize > RTIXCdrLong_MAX) {
GearCharge_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
GearCharge_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
GearCharge_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
GearCharge_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::GearCharge >;
GearCharge_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &GearCharge_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin GearCharge_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &GearCharge_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::GearCharge >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::GearCharge >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentGearChargeState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EquipmentGearChargeState_g_tc_charge_sequence;
static DDS_TypeCode_Member EquipmentGearChargeState_g_tc_members[1]=
{
{
(char *)"charge",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentGearChargeState_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentGearChargeState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
EquipmentGearChargeState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentGearChargeState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentGearChargeState_g_tc;
}
EquipmentGearChargeState_g_tc_charge_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::GearCharge > >(RTIXCdrLong_MAX);
EquipmentGearChargeState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentGearChargeState_g_tc_charge_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::GearCharge>::get().native();
EquipmentGearChargeState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& EquipmentGearChargeState_g_tc_charge_sequence;
/* Initialize the values for member annotations. */
EquipmentGearChargeState_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentGearChargeState_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentGearChargeState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentGearChargeState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentGearChargeState *sample;
static RTIXCdrMemberAccessInfo EquipmentGearChargeState_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentGearChargeState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentGearChargeState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentGearChargeState);
if (sample == NULL) {
return NULL;
}
EquipmentGearChargeState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->charge - (char *)sample);
EquipmentGearChargeState_g_sampleAccessInfo.memberAccessInfos =
EquipmentGearChargeState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentGearChargeState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentGearChargeState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentGearChargeState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentGearChargeState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentGearChargeState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentGearChargeState >;
EquipmentGearChargeState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentGearChargeState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentGearChargeState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentGearChargeState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentGearChargeState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentGearChargeState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentGearEvent > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentGearEvent_g_tc_members[2]=
{
{
(char *)"chargeAmount",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"charge",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentGearEvent_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentGearEvent", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
EquipmentGearEvent_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentGearEvent*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentGearEvent_g_tc;
}
EquipmentGearEvent_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentGearEvent_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentGearEvent_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::GearCharge>::get().native();
/* Initialize the values for member annotations. */
EquipmentGearEvent_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentGearEvent_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
EquipmentGearEvent_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentGearEvent_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentGearEvent_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentGearEvent_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentGearEvent_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentGearEvent_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentGearEvent_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentGearEvent_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentGearEvent *sample;
static RTIXCdrMemberAccessInfo EquipmentGearEvent_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentGearEvent_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentGearEvent_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentGearEvent);
if (sample == NULL) {
return NULL;
}
EquipmentGearEvent_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeAmount - (char *)sample);
EquipmentGearEvent_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->charge - (char *)sample);
EquipmentGearEvent_g_sampleAccessInfo.memberAccessInfos =
EquipmentGearEvent_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentGearEvent);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentGearEvent_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentGearEvent_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentGearEvent_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentGearEvent_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentGearEvent >;
EquipmentGearEvent_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentGearEvent_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentGearEvent_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentGearEvent_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentGearEvent >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentGearEvent >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentMessage > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EquipmentMessage_g_tc_subject_string;
static DDS_TypeCode EquipmentMessage_g_tc_text_string;
static DDS_TypeCode_Member EquipmentMessage_g_tc_members[4]=
{
{
(char *)"subject",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"text",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sender",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"receiver",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentMessage_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentMessage", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
EquipmentMessage_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentMessage*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentMessage_g_tc;
}
EquipmentMessage_g_tc_subject_string = initialize_string_typecode(RTIXCdrLong_MAX);
EquipmentMessage_g_tc_text_string = initialize_string_typecode(RTIXCdrLong_MAX);
EquipmentMessage_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentMessage_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&EquipmentMessage_g_tc_subject_string;
EquipmentMessage_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&EquipmentMessage_g_tc_text_string;
EquipmentMessage_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentMessage_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EquipmentMessage_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EquipmentMessage_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EquipmentMessage_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
EquipmentMessage_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
EquipmentMessage_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentMessage_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EquipmentMessage_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentMessage_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentMessage_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentMessage_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentMessage_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentMessage_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
EquipmentMessage_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentMessage_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentMessage_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentMessage_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentMessage_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentMessage_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentMessage_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentMessage_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentMessage *sample;
static RTIXCdrMemberAccessInfo EquipmentMessage_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentMessage_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentMessage_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentMessage);
if (sample == NULL) {
return NULL;
}
EquipmentMessage_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->subject - (char *)sample);
EquipmentMessage_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->text - (char *)sample);
EquipmentMessage_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sender - (char *)sample);
EquipmentMessage_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->receiver - (char *)sample);
EquipmentMessage_g_sampleAccessInfo.memberAccessInfos =
EquipmentMessage_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentMessage);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentMessage_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentMessage_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentMessage_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentMessage_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentMessage >;
EquipmentMessage_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentMessage_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentMessage_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentMessage_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentMessage >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentMessage >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentOperationalState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentOperationalState_g_tc_members[3]=
{
{
(char *)"isManipulation",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentFunctionId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"nbcProtectionActive",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentOperationalState_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentOperationalState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
EquipmentOperationalState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentOperationalState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentOperationalState_g_tc;
}
EquipmentOperationalState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentOperationalState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
EquipmentOperationalState_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentOperationalState_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::interpreter::initialize_bool_typecode();
/* Initialize the values for member annotations. */
EquipmentOperationalState_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentOperationalState_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentOperationalState_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentOperationalState_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentOperationalState_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentOperationalState_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentOperationalState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentOperationalState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentOperationalState *sample;
static RTIXCdrMemberAccessInfo EquipmentOperationalState_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentOperationalState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentOperationalState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentOperationalState);
if (sample == NULL) {
return NULL;
}
EquipmentOperationalState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->isManipulation - (char *)sample);
EquipmentOperationalState_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentFunctionId - (char *)sample);
EquipmentOperationalState_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->nbcProtectionActive - (char *)sample);
EquipmentOperationalState_g_sampleAccessInfo.memberAccessInfos =
EquipmentOperationalState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentOperationalState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentOperationalState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentOperationalState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentOperationalState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentOperationalState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentOperationalState >;
EquipmentOperationalState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentOperationalState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentOperationalState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentOperationalState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentOperationalState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentOperationalState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::TabPosition > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member TabPosition_g_tc_members[4]=
{
{
(char *)"position",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reportingSource",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"moutObjectId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"moutRoomId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode TabPosition_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::TabPosition", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
TabPosition_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for TabPosition*/
if (is_initialized.load(std::memory_order_acquire)) {
return &TabPosition_g_tc;
}
TabPosition_g_tc._data._annotations._allowedDataRepresentationMask = 5;
TabPosition_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
TabPosition_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::PositionReportingSource>::get().native();
TabPosition_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TabPosition_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
TabPosition_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
TabPosition_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 0;
TabPosition_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TabPosition_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TabPosition_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TabPosition_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TabPosition_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TabPosition_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TabPosition_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TabPosition_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TabPosition_g_tc._data._sampleAccessInfo = sample_access_info();
TabPosition_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &TabPosition_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::TabPosition *sample;
static RTIXCdrMemberAccessInfo TabPosition_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo TabPosition_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &TabPosition_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::TabPosition);
if (sample == NULL) {
return NULL;
}
TabPosition_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
TabPosition_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reportingSource - (char *)sample);
TabPosition_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->moutObjectId - (char *)sample);
TabPosition_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->moutRoomId - (char *)sample);
TabPosition_g_sampleAccessInfo.memberAccessInfos =
TabPosition_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::TabPosition);
if (candidateTypeSize > RTIXCdrLong_MAX) {
TabPosition_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
TabPosition_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
TabPosition_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
TabPosition_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::TabPosition >;
TabPosition_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &TabPosition_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin TabPosition_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &TabPosition_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::TabPosition >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::TabPosition >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentPosition > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode EquipmentPosition_g_tc_mountedParticipants_sequence;
static DDS_TypeCode_Member EquipmentPosition_g_tc_members[3]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mountedParticipants",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"orientation",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentPosition_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentPosition", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
EquipmentPosition_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentPosition*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentPosition_g_tc;
}
EquipmentPosition_g_tc_mountedParticipants_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
EquipmentPosition_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentPosition_g_tc_mountedParticipants_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentPosition_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TabPosition>::get().native();
EquipmentPosition_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& EquipmentPosition_g_tc_mountedParticipants_sequence;
EquipmentPosition_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::Orientation>::get().native();
/* Initialize the values for member annotations. */
EquipmentPosition_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentPosition_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentPosition_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentPosition_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentPosition *sample;
static RTIXCdrMemberAccessInfo EquipmentPosition_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentPosition_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentPosition_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentPosition);
if (sample == NULL) {
return NULL;
}
EquipmentPosition_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
EquipmentPosition_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mountedParticipants - (char *)sample);
EquipmentPosition_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->orientation - (char *)sample);
EquipmentPosition_g_sampleAccessInfo.memberAccessInfos =
EquipmentPosition_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentPosition);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentPosition_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentPosition_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentPosition_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentPosition_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentPosition >;
EquipmentPosition_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentPosition_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentPosition_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentPosition_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentPosition >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentPosition >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentState_g_tc_members[8]=
{
{
(char *)"vulnerabilityState",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityKindId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vitality",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityBits",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"position",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originatorId",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originatorType",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originatorChargeTypeId",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentState_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
8, /* Number of members */
EquipmentState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentState_g_tc;
}
EquipmentState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::VulnerabilityState>::get().native();
EquipmentState_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentState_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentState_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentState_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TabPosition>::get().native();
EquipmentState_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
EquipmentState_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::StateChangeOriginator>::get().native();
EquipmentState_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EquipmentState_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentState_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = -1;
EquipmentState_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
EquipmentState_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentState_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentState_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
EquipmentState_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentState_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentState_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
EquipmentState_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentState_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentState_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
EquipmentState_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentState_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentState_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
EquipmentState_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = 0;
EquipmentState_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
EquipmentState_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentState_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentState_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentState_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
EquipmentState_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentState *sample;
static RTIXCdrMemberAccessInfo EquipmentState_g_memberAccessInfos[8] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentState);
if (sample == NULL) {
return NULL;
}
EquipmentState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityState - (char *)sample);
EquipmentState_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityKindId - (char *)sample);
EquipmentState_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vitality - (char *)sample);
EquipmentState_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityBits - (char *)sample);
EquipmentState_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
EquipmentState_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorId - (char *)sample);
EquipmentState_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorType - (char *)sample);
EquipmentState_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorChargeTypeId - (char *)sample);
EquipmentState_g_sampleAccessInfo.memberAccessInfos =
EquipmentState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentState >;
EquipmentState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::EquipmentSwVersion > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member EquipmentSwVersion_g_tc_members[1]=
{
{
(char *)"swVersion",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode EquipmentSwVersion_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::EquipmentSwVersion", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
EquipmentSwVersion_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for EquipmentSwVersion*/
if (is_initialized.load(std::memory_order_acquire)) {
return &EquipmentSwVersion_g_tc;
}
EquipmentSwVersion_g_tc._data._annotations._allowedDataRepresentationMask = 5;
EquipmentSwVersion_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
EquipmentSwVersion_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
EquipmentSwVersion_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
EquipmentSwVersion_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
EquipmentSwVersion_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
EquipmentSwVersion_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
EquipmentSwVersion_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
EquipmentSwVersion_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Equipment >::get().native(); /* Base class */
EquipmentSwVersion_g_tc._data._sampleAccessInfo = sample_access_info();
EquipmentSwVersion_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &EquipmentSwVersion_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::EquipmentSwVersion *sample;
static RTIXCdrMemberAccessInfo EquipmentSwVersion_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo EquipmentSwVersion_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &EquipmentSwVersion_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::EquipmentSwVersion);
if (sample == NULL) {
return NULL;
}
EquipmentSwVersion_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->swVersion - (char *)sample);
EquipmentSwVersion_g_sampleAccessInfo.memberAccessInfos =
EquipmentSwVersion_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::EquipmentSwVersion);
if (candidateTypeSize > RTIXCdrLong_MAX) {
EquipmentSwVersion_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
EquipmentSwVersion_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
EquipmentSwVersion_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
EquipmentSwVersion_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::EquipmentSwVersion >;
EquipmentSwVersion_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &EquipmentSwVersion_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin EquipmentSwVersion_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &EquipmentSwVersion_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::EquipmentSwVersion >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::EquipmentSwVersion >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L12_TargetData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L12_TargetData_g_tc_members[12]=
{
{
(char *)"number",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"geometry",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinate",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"relativeCoordinate",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"radius",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"width",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"length",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"targetAxis",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"zog",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"elements",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"tagetType",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"tagetSubtype",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L12_TargetData_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L12_TargetData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
12, /* Number of members */
L12_TargetData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L12_TargetData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L12_TargetData_g_tc;
}
L12_TargetData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L12_TargetData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L4_TargetGeometry>::get().native();
L12_TargetData_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
L12_TargetData_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
L12_TargetData_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L12_TargetData_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
L12_TargetData_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
L12_TargetData_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 1;
L12_TargetData_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[6]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[6]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[6]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[9]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[10]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[10]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[10]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[10]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[10]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[11]._annotations._defaultValue._u.long_value = 0;
L12_TargetData_g_tc_members[11]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[11]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L12_TargetData_g_tc_members[11]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L12_TargetData_g_tc_members[11]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L12_TargetData_g_tc._data._sampleAccessInfo = sample_access_info();
L12_TargetData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L12_TargetData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L12_TargetData *sample;
static RTIXCdrMemberAccessInfo L12_TargetData_g_memberAccessInfos[12] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L12_TargetData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L12_TargetData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L12_TargetData);
if (sample == NULL) {
return NULL;
}
L12_TargetData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->number - (char *)sample);
L12_TargetData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->geometry - (char *)sample);
L12_TargetData_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinate - (char *)sample);
L12_TargetData_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->relativeCoordinate - (char *)sample);
L12_TargetData_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->radius - (char *)sample);
L12_TargetData_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->width - (char *)sample);
L12_TargetData_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->length - (char *)sample);
L12_TargetData_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->targetAxis - (char *)sample);
L12_TargetData_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->zog - (char *)sample);
L12_TargetData_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->elements - (char *)sample);
L12_TargetData_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->tagetType - (char *)sample);
L12_TargetData_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->tagetSubtype - (char *)sample);
L12_TargetData_g_sampleAccessInfo.memberAccessInfos =
L12_TargetData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L12_TargetData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L12_TargetData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L12_TargetData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L12_TargetData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L12_TargetData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L12_TargetData >;
L12_TargetData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L12_TargetData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L12_TargetData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L12_TargetData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L12_TargetData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L12_TargetData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L36_FiringCommandCharges > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L36_FiringCommandCharges_g_tc_members[8]=
{
{
(char *)"chargeType",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loadTypeId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"loadNumber",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"igniterTypeId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"igniterFunctionId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"igniterTime",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"amount",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"interval",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L36_FiringCommandCharges_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L36_FiringCommandCharges", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
8, /* Number of members */
L36_FiringCommandCharges_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L36_FiringCommandCharges*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L36_FiringCommandCharges_g_tc;
}
L36_FiringCommandCharges_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L36_FiringCommandCharges_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L36_FiringCommandCharges_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
/* Initialize the values for member annotations. */
L36_FiringCommandCharges_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[6]._annotations._defaultValue._u.long_value = 0;
L36_FiringCommandCharges_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[6]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L36_FiringCommandCharges_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L36_FiringCommandCharges_g_tc_members[6]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L36_FiringCommandCharges_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L36_FiringCommandCharges_g_tc_members[7]._annotations._defaultValue._u.double_value = 0.0;
L36_FiringCommandCharges_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L36_FiringCommandCharges_g_tc_members[7]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L36_FiringCommandCharges_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L36_FiringCommandCharges_g_tc_members[7]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L36_FiringCommandCharges_g_tc._data._sampleAccessInfo = sample_access_info();
L36_FiringCommandCharges_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L36_FiringCommandCharges_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L36_FiringCommandCharges *sample;
static RTIXCdrMemberAccessInfo L36_FiringCommandCharges_g_memberAccessInfos[8] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L36_FiringCommandCharges_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L36_FiringCommandCharges_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L36_FiringCommandCharges);
if (sample == NULL) {
return NULL;
}
L36_FiringCommandCharges_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeType - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loadTypeId - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->loadNumber - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->igniterTypeId - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->igniterFunctionId - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->igniterTime - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->amount - (char *)sample);
L36_FiringCommandCharges_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->interval - (char *)sample);
L36_FiringCommandCharges_g_sampleAccessInfo.memberAccessInfos =
L36_FiringCommandCharges_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L36_FiringCommandCharges);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L36_FiringCommandCharges_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L36_FiringCommandCharges_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L36_FiringCommandCharges_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L36_FiringCommandCharges_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L36_FiringCommandCharges >;
L36_FiringCommandCharges_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L36_FiringCommandCharges_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L36_FiringCommandCharges_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L36_FiringCommandCharges_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L36_FiringCommandCharges >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L36_FiringCommandCharges >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L35_TrajectoryPoint > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L35_TrajectoryPoint_g_tc_members[2]=
{
{
(char *)"time",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"relPos",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L35_TrajectoryPoint_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L35_TrajectoryPoint", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
L35_TrajectoryPoint_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L35_TrajectoryPoint*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L35_TrajectoryPoint_g_tc;
}
L35_TrajectoryPoint_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L35_TrajectoryPoint_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
L35_TrajectoryPoint_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::RelativePosition>::get().native();
/* Initialize the values for member annotations. */
L35_TrajectoryPoint_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L35_TrajectoryPoint_g_tc_members[0]._annotations._defaultValue._u.double_value = 0.0;
L35_TrajectoryPoint_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L35_TrajectoryPoint_g_tc_members[0]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L35_TrajectoryPoint_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L35_TrajectoryPoint_g_tc_members[0]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L35_TrajectoryPoint_g_tc._data._sampleAccessInfo = sample_access_info();
L35_TrajectoryPoint_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L35_TrajectoryPoint_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L35_TrajectoryPoint *sample;
static RTIXCdrMemberAccessInfo L35_TrajectoryPoint_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L35_TrajectoryPoint_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L35_TrajectoryPoint_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L35_TrajectoryPoint);
if (sample == NULL) {
return NULL;
}
L35_TrajectoryPoint_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->time - (char *)sample);
L35_TrajectoryPoint_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->relPos - (char *)sample);
L35_TrajectoryPoint_g_sampleAccessInfo.memberAccessInfos =
L35_TrajectoryPoint_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L35_TrajectoryPoint);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L35_TrajectoryPoint_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L35_TrajectoryPoint_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L35_TrajectoryPoint_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L35_TrajectoryPoint_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L35_TrajectoryPoint >;
L35_TrajectoryPoint_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L35_TrajectoryPoint_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L35_TrajectoryPoint_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L35_TrajectoryPoint_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L35_TrajectoryPoint >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L35_TrajectoryPoint >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L39_ScatteringData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member L39_ScatteringData_g_tc_members[4]=
{
{
(char *)"mphWidth",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mphLength",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mphWidthDetonationHeight",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mphLengthDetonationHeight",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L39_ScatteringData_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L39_ScatteringData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
L39_ScatteringData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L39_ScatteringData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L39_ScatteringData_g_tc;
}
L39_ScatteringData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L39_ScatteringData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
L39_ScatteringData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
L39_ScatteringData_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
L39_ScatteringData_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
/* Initialize the values for member annotations. */
L39_ScatteringData_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[0]._annotations._defaultValue._u.double_value = 0.0;
L39_ScatteringData_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[0]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L39_ScatteringData_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[0]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L39_ScatteringData_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[1]._annotations._defaultValue._u.double_value = 0.0;
L39_ScatteringData_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[1]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L39_ScatteringData_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[1]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L39_ScatteringData_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[2]._annotations._defaultValue._u.double_value = 0.0;
L39_ScatteringData_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[2]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L39_ScatteringData_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[2]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L39_ScatteringData_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[3]._annotations._defaultValue._u.double_value = 0.0;
L39_ScatteringData_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[3]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L39_ScatteringData_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L39_ScatteringData_g_tc_members[3]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L39_ScatteringData_g_tc._data._sampleAccessInfo = sample_access_info();
L39_ScatteringData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L39_ScatteringData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L39_ScatteringData *sample;
static RTIXCdrMemberAccessInfo L39_ScatteringData_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L39_ScatteringData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L39_ScatteringData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L39_ScatteringData);
if (sample == NULL) {
return NULL;
}
L39_ScatteringData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mphWidth - (char *)sample);
L39_ScatteringData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mphLength - (char *)sample);
L39_ScatteringData_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mphWidthDetonationHeight - (char *)sample);
L39_ScatteringData_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mphLengthDetonationHeight - (char *)sample);
L39_ScatteringData_g_sampleAccessInfo.memberAccessInfos =
L39_ScatteringData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L39_ScatteringData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L39_ScatteringData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L39_ScatteringData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L39_ScatteringData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L39_ScatteringData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L39_ScatteringData >;
L39_ScatteringData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L39_ScatteringData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L39_ScatteringData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L39_ScatteringData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L39_ScatteringData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L39_ScatteringData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L34_effector > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode L34_effector_g_tc_trajectory_sequence;
static DDS_TypeCode_Member L34_effector_g_tc_members[9]=
{
{
(char *)"effectorId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"targetPos",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"flightTime",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"maxHeight",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"direction",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"angleOfFall",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"firingCommandCharges",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"trajectory",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"scattering",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L34_effector_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L34_effector", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
9, /* Number of members */
L34_effector_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L34_effector*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L34_effector_g_tc;
}
L34_effector_g_tc_trajectory_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::L35_TrajectoryPoint > >(RTIXCdrLong_MAX);
L34_effector_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L34_effector_g_tc_trajectory_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L35_TrajectoryPoint>::get().native();
L34_effector_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L27_EffectorId>::get().native();
L34_effector_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
L34_effector_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
L34_effector_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L34_effector_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L34_effector_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L34_effector_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L36_FiringCommandCharges>::get().native();
L34_effector_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)& L34_effector_g_tc_trajectory_sequence;
L34_effector_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L39_ScatteringData>::get().native();
/* Initialize the values for member annotations. */
L34_effector_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
L34_effector_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 1;
L34_effector_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
L34_effector_g_tc_members[2]._annotations._defaultValue._u.double_value = 0.0;
L34_effector_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
L34_effector_g_tc_members[2]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
L34_effector_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
L34_effector_g_tc_members[2]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
L34_effector_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
L34_effector_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L34_effector_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L34_effector_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
L34_effector_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L34_effector_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L34_effector_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
L34_effector_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L34_effector_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L34_effector_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L34_effector_g_tc._data._sampleAccessInfo = sample_access_info();
L34_effector_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L34_effector_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L34_effector *sample;
static RTIXCdrMemberAccessInfo L34_effector_g_memberAccessInfos[9] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L34_effector_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L34_effector_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L34_effector);
if (sample == NULL) {
return NULL;
}
L34_effector_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorId - (char *)sample);
L34_effector_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->targetPos - (char *)sample);
L34_effector_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->flightTime - (char *)sample);
L34_effector_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->maxHeight - (char *)sample);
L34_effector_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->direction - (char *)sample);
L34_effector_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->angleOfFall - (char *)sample);
L34_effector_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->firingCommandCharges - (char *)sample);
L34_effector_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->trajectory - (char *)sample);
L34_effector_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->scattering - (char *)sample);
L34_effector_g_sampleAccessInfo.memberAccessInfos =
L34_effector_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L34_effector);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L34_effector_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L34_effector_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L34_effector_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L34_effector_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L34_effector >;
L34_effector_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L34_effector_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L34_effector_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L34_effector_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L34_effector >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L34_effector >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L33_FireCommand > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode L33_FireCommand_g_tc_identifier_string;
static DDS_TypeCode L33_FireCommand_g_tc_L34_effector_sequence;
static DDS_TypeCode_Member L33_FireCommand_g_tc_members[3]=
{
{
(char *)"identifier",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"type",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"L34_effector",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L33_FireCommand_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L33_FireCommand", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
L33_FireCommand_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L33_FireCommand*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L33_FireCommand_g_tc;
}
L33_FireCommand_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
L33_FireCommand_g_tc_L34_effector_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::L34_effector > >(RTIXCdrLong_MAX);
L33_FireCommand_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L33_FireCommand_g_tc_L34_effector_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L34_effector>::get().native();
L33_FireCommand_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&L33_FireCommand_g_tc_identifier_string;
L33_FireCommand_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L33_FireCommand_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)& L33_FireCommand_g_tc_L34_effector_sequence;
/* Initialize the values for member annotations. */
L33_FireCommand_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
L33_FireCommand_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
L33_FireCommand_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L33_FireCommand_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L33_FireCommand_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L33_FireCommand_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L33_FireCommand_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L33_FireCommand_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L33_FireCommand_g_tc._data._sampleAccessInfo = sample_access_info();
L33_FireCommand_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L33_FireCommand_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L33_FireCommand *sample;
static RTIXCdrMemberAccessInfo L33_FireCommand_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L33_FireCommand_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L33_FireCommand_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L33_FireCommand);
if (sample == NULL) {
return NULL;
}
L33_FireCommand_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
L33_FireCommand_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->type - (char *)sample);
L33_FireCommand_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->L34_effector - (char *)sample);
L33_FireCommand_g_sampleAccessInfo.memberAccessInfos =
L33_FireCommand_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L33_FireCommand);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L33_FireCommand_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L33_FireCommand_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L33_FireCommand_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L33_FireCommand_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L33_FireCommand >;
L33_FireCommand_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L33_FireCommand_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L33_FireCommand_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L33_FireCommand_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L33_FireCommand >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L33_FireCommand >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ExAwesPlanning > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode ExAwesPlanning_g_tc_reference_string;
static DDS_TypeCode ExAwesPlanning_g_tc_request_string;
static DDS_TypeCode_Member ExAwesPlanning_g_tc_members[6]=
{
{
(char *)"reference",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"targetData",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"firingType",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"request",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"duration",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"fireCommand",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ExAwesPlanning_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ExAwesPlanning", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
ExAwesPlanning_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ExAwesPlanning*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ExAwesPlanning_g_tc;
}
ExAwesPlanning_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
ExAwesPlanning_g_tc_request_string = initialize_string_typecode(RTIXCdrLong_MAX);
ExAwesPlanning_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ExAwesPlanning_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&ExAwesPlanning_g_tc_reference_string;
ExAwesPlanning_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L12_TargetData>::get().native();
ExAwesPlanning_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ExAwesPlanning_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&ExAwesPlanning_g_tc_request_string;
ExAwesPlanning_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ExAwesPlanning_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L33_FireCommand>::get().native();
/* Initialize the values for member annotations. */
ExAwesPlanning_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
ExAwesPlanning_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
ExAwesPlanning_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ExAwesPlanning_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
ExAwesPlanning_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ExAwesPlanning_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ExAwesPlanning_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ExAwesPlanning_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ExAwesPlanning_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
ExAwesPlanning_g_tc_members[3]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
ExAwesPlanning_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ExAwesPlanning_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
ExAwesPlanning_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ExAwesPlanning_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ExAwesPlanning_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ExAwesPlanning_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ExAwesPlanning_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ExAwesPlanning_g_tc._data._sampleAccessInfo = sample_access_info();
ExAwesPlanning_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ExAwesPlanning_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ExAwesPlanning *sample;
static RTIXCdrMemberAccessInfo ExAwesPlanning_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ExAwesPlanning_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ExAwesPlanning_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ExAwesPlanning);
if (sample == NULL) {
return NULL;
}
ExAwesPlanning_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
ExAwesPlanning_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->targetData - (char *)sample);
ExAwesPlanning_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->firingType - (char *)sample);
ExAwesPlanning_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->request - (char *)sample);
ExAwesPlanning_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->duration - (char *)sample);
ExAwesPlanning_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->fireCommand - (char *)sample);
ExAwesPlanning_g_sampleAccessInfo.memberAccessInfos =
ExAwesPlanning_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ExAwesPlanning);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ExAwesPlanning_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ExAwesPlanning_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ExAwesPlanning_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ExAwesPlanning_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ExAwesPlanning >;
ExAwesPlanning_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ExAwesPlanning_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ExAwesPlanning_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ExAwesPlanning_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ExAwesPlanning >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ExAwesPlanning >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::L13_EffectorUnit > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode L13_EffectorUnit_g_tc_identifier_string;
static DDS_TypeCode_Member L13_EffectorUnit_g_tc_members[3]=
{
{
(char *)"identifier",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"r",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"oi",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode L13_EffectorUnit_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::L13_EffectorUnit", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
L13_EffectorUnit_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for L13_EffectorUnit*/
if (is_initialized.load(std::memory_order_acquire)) {
return &L13_EffectorUnit_g_tc;
}
L13_EffectorUnit_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
L13_EffectorUnit_g_tc._data._annotations._allowedDataRepresentationMask = 5;
L13_EffectorUnit_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&L13_EffectorUnit_g_tc_identifier_string;
L13_EffectorUnit_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
L13_EffectorUnit_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L19_Oi>::get().native();
/* Initialize the values for member annotations. */
L13_EffectorUnit_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
L13_EffectorUnit_g_tc_members[0]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
L13_EffectorUnit_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
L13_EffectorUnit_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
L13_EffectorUnit_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
L13_EffectorUnit_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
L13_EffectorUnit_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
L13_EffectorUnit_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
L13_EffectorUnit_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
L13_EffectorUnit_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 1;
L13_EffectorUnit_g_tc._data._sampleAccessInfo = sample_access_info();
L13_EffectorUnit_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &L13_EffectorUnit_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::L13_EffectorUnit *sample;
static RTIXCdrMemberAccessInfo L13_EffectorUnit_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo L13_EffectorUnit_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &L13_EffectorUnit_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::L13_EffectorUnit);
if (sample == NULL) {
return NULL;
}
L13_EffectorUnit_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
L13_EffectorUnit_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->r - (char *)sample);
L13_EffectorUnit_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->oi - (char *)sample);
L13_EffectorUnit_g_sampleAccessInfo.memberAccessInfos =
L13_EffectorUnit_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::L13_EffectorUnit);
if (candidateTypeSize > RTIXCdrLong_MAX) {
L13_EffectorUnit_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
L13_EffectorUnit_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
L13_EffectorUnit_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
L13_EffectorUnit_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::L13_EffectorUnit >;
L13_EffectorUnit_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &L13_EffectorUnit_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin L13_EffectorUnit_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &L13_EffectorUnit_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::L13_EffectorUnit >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::L13_EffectorUnit >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ExReportEffector > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode ExReportEffector_g_tc_charges_sequence;
static DDS_TypeCode_Member ExReportEffector_g_tc_members[7]=
{
{
(char *)"effectingSystemType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectorId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"status",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectorUnit",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"charges",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinate",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectableArea",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ExReportEffector_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ExReportEffector", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
7, /* Number of members */
ExReportEffector_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ExReportEffector*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ExReportEffector_g_tc;
}
ExReportEffector_g_tc_charges_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::L8_Charges > >(RTIXCdrLong_MAX);
ExReportEffector_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ExReportEffector_g_tc_charges_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L8_Charges>::get().native();
ExReportEffector_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L26_EffectingSystemType>::get().native();
ExReportEffector_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L27_EffectorId>::get().native();
ExReportEffector_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::L28_Status>::get().native();
ExReportEffector_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L13_EffectorUnit>::get().native();
ExReportEffector_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)& ExReportEffector_g_tc_charges_sequence;
ExReportEffector_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
ExReportEffector_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L18_EffectableArea>::get().native();
/* Initialize the values for member annotations. */
ExReportEffector_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ExReportEffector_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 1;
ExReportEffector_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ExReportEffector_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 1;
ExReportEffector_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ExReportEffector_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 0;
ExReportEffector_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ExReportEffector_g_tc._data._sampleAccessInfo = sample_access_info();
ExReportEffector_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ExReportEffector_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ExReportEffector *sample;
static RTIXCdrMemberAccessInfo ExReportEffector_g_memberAccessInfos[7] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ExReportEffector_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ExReportEffector_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ExReportEffector);
if (sample == NULL) {
return NULL;
}
ExReportEffector_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectingSystemType - (char *)sample);
ExReportEffector_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorId - (char *)sample);
ExReportEffector_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->status - (char *)sample);
ExReportEffector_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorUnit - (char *)sample);
ExReportEffector_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->charges - (char *)sample);
ExReportEffector_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinate - (char *)sample);
ExReportEffector_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectableArea - (char *)sample);
ExReportEffector_g_sampleAccessInfo.memberAccessInfos =
ExReportEffector_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ExReportEffector);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ExReportEffector_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ExReportEffector_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ExReportEffector_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ExReportEffector_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ExReportEffector >;
ExReportEffector_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ExReportEffector_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ExReportEffector_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ExReportEffector_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ExReportEffector >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ExReportEffector >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Ex_ReconResults > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode Ex_ReconResults_g_tc_explorationResult_sequence;
static DDS_TypeCode_Member Ex_ReconResults_g_tc_members[1]=
{
{
(char *)"explorationResult",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Ex_ReconResults_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Ex_ReconResults", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
Ex_ReconResults_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Ex_ReconResults*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Ex_ReconResults_g_tc;
}
Ex_ReconResults_g_tc_explorationResult_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::EX_ExplorationResult > >(RTIXCdrLong_MAX);
Ex_ReconResults_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Ex_ReconResults_g_tc_explorationResult_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EX_ExplorationResult>::get().native();
Ex_ReconResults_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& Ex_ReconResults_g_tc_explorationResult_sequence;
/* Initialize the values for member annotations. */
Ex_ReconResults_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
Ex_ReconResults_g_tc._data._sampleAccessInfo = sample_access_info();
Ex_ReconResults_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Ex_ReconResults_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Ex_ReconResults *sample;
static RTIXCdrMemberAccessInfo Ex_ReconResults_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Ex_ReconResults_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Ex_ReconResults_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Ex_ReconResults);
if (sample == NULL) {
return NULL;
}
Ex_ReconResults_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->explorationResult - (char *)sample);
Ex_ReconResults_g_sampleAccessInfo.memberAccessInfos =
Ex_ReconResults_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Ex_ReconResults);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Ex_ReconResults_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Ex_ReconResults_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Ex_ReconResults_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Ex_ReconResults_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Ex_ReconResults >;
Ex_ReconResults_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Ex_ReconResults_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Ex_ReconResults_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Ex_ReconResults_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Ex_ReconResults >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Ex_ReconResults >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Ex_ReportSupplyZone > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member Ex_ReportSupplyZone_g_tc_members[3]=
{
{
(char *)"effectorUnit",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"coordinate",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"charges",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Ex_ReportSupplyZone_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Ex_ReportSupplyZone", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
Ex_ReportSupplyZone_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Ex_ReportSupplyZone*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Ex_ReportSupplyZone_g_tc;
}
Ex_ReportSupplyZone_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Ex_ReportSupplyZone_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L13_EffectorUnit>::get().native();
Ex_ReportSupplyZone_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
Ex_ReportSupplyZone_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::L8_Charges>::get().native();
/* Initialize the values for member annotations. */
Ex_ReportSupplyZone_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
Ex_ReportSupplyZone_g_tc._data._sampleAccessInfo = sample_access_info();
Ex_ReportSupplyZone_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Ex_ReportSupplyZone_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Ex_ReportSupplyZone *sample;
static RTIXCdrMemberAccessInfo Ex_ReportSupplyZone_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Ex_ReportSupplyZone_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Ex_ReportSupplyZone_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Ex_ReportSupplyZone);
if (sample == NULL) {
return NULL;
}
Ex_ReportSupplyZone_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectorUnit - (char *)sample);
Ex_ReportSupplyZone_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->coordinate - (char *)sample);
Ex_ReportSupplyZone_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->charges - (char *)sample);
Ex_ReportSupplyZone_g_sampleAccessInfo.memberAccessInfos =
Ex_ReportSupplyZone_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Ex_ReportSupplyZone);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Ex_ReportSupplyZone_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Ex_ReportSupplyZone_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Ex_ReportSupplyZone_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Ex_ReportSupplyZone_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Ex_ReportSupplyZone >;
Ex_ReportSupplyZone_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Ex_ReportSupplyZone_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Ex_ReportSupplyZone_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Ex_ReportSupplyZone_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Ex_ReportSupplyZone >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Ex_ReportSupplyZone >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::FireSmokeMarkerData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode FireSmokeMarkerData_g_tc_payload_sequence;
static DDS_TypeCode_Member FireSmokeMarkerData_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode FireSmokeMarkerData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::FireSmokeMarkerData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
FireSmokeMarkerData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for FireSmokeMarkerData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &FireSmokeMarkerData_g_tc;
}
FireSmokeMarkerData_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
FireSmokeMarkerData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
FireSmokeMarkerData_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
FireSmokeMarkerData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& FireSmokeMarkerData_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
FireSmokeMarkerData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
FireSmokeMarkerData_g_tc._data._sampleAccessInfo = sample_access_info();
FireSmokeMarkerData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &FireSmokeMarkerData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::FireSmokeMarkerData *sample;
static RTIXCdrMemberAccessInfo FireSmokeMarkerData_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo FireSmokeMarkerData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &FireSmokeMarkerData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::FireSmokeMarkerData);
if (sample == NULL) {
return NULL;
}
FireSmokeMarkerData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
FireSmokeMarkerData_g_sampleAccessInfo.memberAccessInfos =
FireSmokeMarkerData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::FireSmokeMarkerData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
FireSmokeMarkerData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
FireSmokeMarkerData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
FireSmokeMarkerData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
FireSmokeMarkerData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::FireSmokeMarkerData >;
FireSmokeMarkerData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &FireSmokeMarkerData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin FireSmokeMarkerData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &FireSmokeMarkerData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::FireSmokeMarkerData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::FireSmokeMarkerData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::FunctionalAreaEntry > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member FunctionalAreaEntry_g_tc_members[2]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"aesItemId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode FunctionalAreaEntry_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::FunctionalAreaEntry", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
FunctionalAreaEntry_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for FunctionalAreaEntry*/
if (is_initialized.load(std::memory_order_acquire)) {
return &FunctionalAreaEntry_g_tc;
}
FunctionalAreaEntry_g_tc._data._annotations._allowedDataRepresentationMask = 5;
FunctionalAreaEntry_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
FunctionalAreaEntry_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
FunctionalAreaEntry_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
FunctionalAreaEntry_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
FunctionalAreaEntry_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
FunctionalAreaEntry_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
FunctionalAreaEntry_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
FunctionalAreaEntry_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
FunctionalAreaEntry_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
FunctionalAreaEntry_g_tc._data._sampleAccessInfo = sample_access_info();
FunctionalAreaEntry_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &FunctionalAreaEntry_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::FunctionalAreaEntry *sample;
static RTIXCdrMemberAccessInfo FunctionalAreaEntry_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo FunctionalAreaEntry_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &FunctionalAreaEntry_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::FunctionalAreaEntry);
if (sample == NULL) {
return NULL;
}
FunctionalAreaEntry_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
FunctionalAreaEntry_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->aesItemId - (char *)sample);
FunctionalAreaEntry_g_sampleAccessInfo.memberAccessInfos =
FunctionalAreaEntry_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::FunctionalAreaEntry);
if (candidateTypeSize > RTIXCdrLong_MAX) {
FunctionalAreaEntry_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
FunctionalAreaEntry_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
FunctionalAreaEntry_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
FunctionalAreaEntry_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::FunctionalAreaEntry >;
FunctionalAreaEntry_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &FunctionalAreaEntry_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin FunctionalAreaEntry_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &FunctionalAreaEntry_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::FunctionalAreaEntry >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::FunctionalAreaEntry >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::GeopairingData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode GeopairingData_g_tc_payload_sequence;
static DDS_TypeCode_Member GeopairingData_g_tc_members[2]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"payload",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode GeopairingData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::GeopairingData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
GeopairingData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for GeopairingData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &GeopairingData_g_tc;
}
GeopairingData_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
GeopairingData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
GeopairingData_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
GeopairingData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
GeopairingData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& GeopairingData_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
GeopairingData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
GeopairingData_g_tc._data._sampleAccessInfo = sample_access_info();
GeopairingData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &GeopairingData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::GeopairingData *sample;
static RTIXCdrMemberAccessInfo GeopairingData_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo GeopairingData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &GeopairingData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::GeopairingData);
if (sample == NULL) {
return NULL;
}
GeopairingData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
GeopairingData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
GeopairingData_g_sampleAccessInfo.memberAccessInfos =
GeopairingData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::GeopairingData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
GeopairingData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
GeopairingData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
GeopairingData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
GeopairingData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::GeopairingData >;
GeopairingData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &GeopairingData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin GeopairingData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &GeopairingData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::GeopairingData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::GeopairingData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::LaserDesignation > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member LaserDesignation_g_tc_members[4]=
{
{
(char *)"gearId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"code",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"outputPower",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"spotLocation",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode LaserDesignation_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::LaserDesignation", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
LaserDesignation_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for LaserDesignation*/
if (is_initialized.load(std::memory_order_acquire)) {
return &LaserDesignation_g_tc;
}
LaserDesignation_g_tc._data._annotations._allowedDataRepresentationMask = 5;
LaserDesignation_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
LaserDesignation_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
LaserDesignation_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
LaserDesignation_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
/* Initialize the values for member annotations. */
LaserDesignation_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
LaserDesignation_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
LaserDesignation_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
LaserDesignation_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
LaserDesignation_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
LaserDesignation_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
LaserDesignation_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
LaserDesignation_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
LaserDesignation_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
LaserDesignation_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
LaserDesignation_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
LaserDesignation_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
LaserDesignation_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
LaserDesignation_g_tc_members[2]._annotations._defaultValue._u.double_value = 0.0;
LaserDesignation_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
LaserDesignation_g_tc_members[2]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
LaserDesignation_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
LaserDesignation_g_tc_members[2]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
LaserDesignation_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
LaserDesignation_g_tc._data._sampleAccessInfo = sample_access_info();
LaserDesignation_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &LaserDesignation_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::LaserDesignation *sample;
static RTIXCdrMemberAccessInfo LaserDesignation_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo LaserDesignation_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &LaserDesignation_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::LaserDesignation);
if (sample == NULL) {
return NULL;
}
LaserDesignation_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gearId - (char *)sample);
LaserDesignation_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->code - (char *)sample);
LaserDesignation_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->outputPower - (char *)sample);
LaserDesignation_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->spotLocation - (char *)sample);
LaserDesignation_g_sampleAccessInfo.memberAccessInfos =
LaserDesignation_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::LaserDesignation);
if (candidateTypeSize > RTIXCdrLong_MAX) {
LaserDesignation_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
LaserDesignation_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
LaserDesignation_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
LaserDesignation_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::LaserDesignation >;
LaserDesignation_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &LaserDesignation_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin LaserDesignation_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &LaserDesignation_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::LaserDesignation >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::LaserDesignation >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::MineTriggered > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member MineTriggered_g_tc_members[4]=
{
{
(char *)"mineAreaId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mineIndex",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"position",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeTypeId",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode MineTriggered_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::MineTriggered", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
MineTriggered_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for MineTriggered*/
if (is_initialized.load(std::memory_order_acquire)) {
return &MineTriggered_g_tc;
}
MineTriggered_g_tc._data._annotations._allowedDataRepresentationMask = 5;
MineTriggered_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MineTriggered_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MineTriggered_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
MineTriggered_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
MineTriggered_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
MineTriggered_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MineTriggered_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MineTriggered_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
MineTriggered_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MineTriggered_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MineTriggered_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MineTriggered_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MineTriggered_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MineTriggered_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
MineTriggered_g_tc._data._sampleAccessInfo = sample_access_info();
MineTriggered_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &MineTriggered_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::MineTriggered *sample;
static RTIXCdrMemberAccessInfo MineTriggered_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo MineTriggered_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &MineTriggered_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::MineTriggered);
if (sample == NULL) {
return NULL;
}
MineTriggered_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineAreaId - (char *)sample);
MineTriggered_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineIndex - (char *)sample);
MineTriggered_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
MineTriggered_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
MineTriggered_g_sampleAccessInfo.memberAccessInfos =
MineTriggered_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::MineTriggered);
if (candidateTypeSize > RTIXCdrLong_MAX) {
MineTriggered_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
MineTriggered_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
MineTriggered_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
MineTriggered_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::MineTriggered >;
MineTriggered_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &MineTriggered_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin MineTriggered_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &MineTriggered_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::MineTriggered >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::MineTriggered >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::MinelayerTrailerData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member MinelayerTrailerData_g_tc_members[7]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"barrierId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"layingDensity",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectStart",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectDuration",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeTypeId",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mineCount",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode MinelayerTrailerData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::MinelayerTrailerData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
7, /* Number of members */
MinelayerTrailerData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for MinelayerTrailerData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &MinelayerTrailerData_g_tc;
}
MinelayerTrailerData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
MinelayerTrailerData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
MinelayerTrailerData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MinelayerTrailerData_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MinelayerTrailerData_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
MinelayerTrailerData_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MinelayerTrailerData_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MinelayerTrailerData_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
MinelayerTrailerData_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerData_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerData_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerData_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerData_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerData_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerData_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
MinelayerTrailerData_g_tc_members[3]._annotations._defaultValue._u.long_long_value = 0ll;
MinelayerTrailerData_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
MinelayerTrailerData_g_tc_members[3]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
MinelayerTrailerData_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
MinelayerTrailerData_g_tc_members[3]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
MinelayerTrailerData_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerData_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerData_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerData_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerData_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerData_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerData_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[6]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerData_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[6]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerData_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerData_g_tc_members[6]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
MinelayerTrailerData_g_tc._data._sampleAccessInfo = sample_access_info();
MinelayerTrailerData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &MinelayerTrailerData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::MinelayerTrailerData *sample;
static RTIXCdrMemberAccessInfo MinelayerTrailerData_g_memberAccessInfos[7] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo MinelayerTrailerData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &MinelayerTrailerData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::MinelayerTrailerData);
if (sample == NULL) {
return NULL;
}
MinelayerTrailerData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
MinelayerTrailerData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->barrierId - (char *)sample);
MinelayerTrailerData_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->layingDensity - (char *)sample);
MinelayerTrailerData_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectStart - (char *)sample);
MinelayerTrailerData_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectDuration - (char *)sample);
MinelayerTrailerData_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
MinelayerTrailerData_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineCount - (char *)sample);
MinelayerTrailerData_g_sampleAccessInfo.memberAccessInfos =
MinelayerTrailerData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::MinelayerTrailerData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
MinelayerTrailerData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
MinelayerTrailerData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
MinelayerTrailerData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
MinelayerTrailerData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::MinelayerTrailerData >;
MinelayerTrailerData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &MinelayerTrailerData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin MinelayerTrailerData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &MinelayerTrailerData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::MinelayerTrailerData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::MinelayerTrailerData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::MinelayerThrowerData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member MinelayerThrowerData_g_tc_members[1]=
{
{
(char *)"throwingType",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode MinelayerThrowerData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::MinelayerThrowerData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
MinelayerThrowerData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for MinelayerThrowerData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &MinelayerThrowerData_g_tc;
}
MinelayerThrowerData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
MinelayerThrowerData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::ThrowingType>::get().native();
/* Initialize the values for member annotations. */
MinelayerThrowerData_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
MinelayerThrowerData_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
MinelayerThrowerData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::MinelayerTrailerData >::get().native(); /* Base class */
MinelayerThrowerData_g_tc._data._sampleAccessInfo = sample_access_info();
MinelayerThrowerData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &MinelayerThrowerData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::MinelayerThrowerData *sample;
static RTIXCdrMemberAccessInfo MinelayerThrowerData_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo MinelayerThrowerData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &MinelayerThrowerData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::MinelayerThrowerData);
if (sample == NULL) {
return NULL;
}
MinelayerThrowerData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->throwingType - (char *)sample);
MinelayerThrowerData_g_sampleAccessInfo.memberAccessInfos =
MinelayerThrowerData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::MinelayerThrowerData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
MinelayerThrowerData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
MinelayerThrowerData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
MinelayerThrowerData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
MinelayerThrowerData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::MinelayerThrowerData >;
MinelayerThrowerData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &MinelayerThrowerData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin MinelayerThrowerData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &MinelayerThrowerData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::MinelayerThrowerData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::MinelayerThrowerData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::MinelayerTrailerPosition > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member MinelayerTrailerPosition_g_tc_members[3]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeTypeId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"dusSerialNo",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode MinelayerTrailerPosition_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::MinelayerTrailerPosition", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
MinelayerTrailerPosition_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for MinelayerTrailerPosition*/
if (is_initialized.load(std::memory_order_acquire)) {
return &MinelayerTrailerPosition_g_tc;
}
MinelayerTrailerPosition_g_tc._data._annotations._allowedDataRepresentationMask = 5;
MinelayerTrailerPosition_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
MinelayerTrailerPosition_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
MinelayerTrailerPosition_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
MinelayerTrailerPosition_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerPosition_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerPosition_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerPosition_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerPosition_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerPosition_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerPosition_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerPosition_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
MinelayerTrailerPosition_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerPosition_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
MinelayerTrailerPosition_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
MinelayerTrailerPosition_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
MinelayerTrailerPosition_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
MinelayerTrailerPosition_g_tc._data._sampleAccessInfo = sample_access_info();
MinelayerTrailerPosition_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &MinelayerTrailerPosition_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::MinelayerTrailerPosition *sample;
static RTIXCdrMemberAccessInfo MinelayerTrailerPosition_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo MinelayerTrailerPosition_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &MinelayerTrailerPosition_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::MinelayerTrailerPosition);
if (sample == NULL) {
return NULL;
}
MinelayerTrailerPosition_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
MinelayerTrailerPosition_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
MinelayerTrailerPosition_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->dusSerialNo - (char *)sample);
MinelayerTrailerPosition_g_sampleAccessInfo.memberAccessInfos =
MinelayerTrailerPosition_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::MinelayerTrailerPosition);
if (candidateTypeSize > RTIXCdrLong_MAX) {
MinelayerTrailerPosition_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
MinelayerTrailerPosition_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
MinelayerTrailerPosition_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
MinelayerTrailerPosition_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::MinelayerTrailerPosition >;
MinelayerTrailerPosition_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &MinelayerTrailerPosition_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin MinelayerTrailerPosition_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &MinelayerTrailerPosition_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::MinelayerTrailerPosition >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::MinelayerTrailerPosition >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::OcData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode OcData_g_tc_payload_sequence;
static DDS_TypeCode_Member OcData_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode OcData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::OcData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
OcData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for OcData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &OcData_g_tc;
}
OcData_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
OcData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
OcData_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
OcData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& OcData_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
OcData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
OcData_g_tc._data._sampleAccessInfo = sample_access_info();
OcData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &OcData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::OcData *sample;
static RTIXCdrMemberAccessInfo OcData_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo OcData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &OcData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::OcData);
if (sample == NULL) {
return NULL;
}
OcData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
OcData_g_sampleAccessInfo.memberAccessInfos =
OcData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::OcData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
OcData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
OcData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
OcData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
OcData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::OcData >;
OcData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &OcData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin OcData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &OcData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::OcData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::OcData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::OperatorAction > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member OperatorAction_g_tc_members[3]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"operatorId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"action",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode OperatorAction_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::OperatorAction", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
OperatorAction_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for OperatorAction*/
if (is_initialized.load(std::memory_order_acquire)) {
return &OperatorAction_g_tc;
}
OperatorAction_g_tc._data._annotations._allowedDataRepresentationMask = 5;
OperatorAction_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
OperatorAction_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
OperatorAction_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
OperatorAction_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
OperatorAction_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
OperatorAction_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
OperatorAction_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
OperatorAction_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
OperatorAction_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
OperatorAction_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
OperatorAction_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
OperatorAction_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
OperatorAction_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
OperatorAction_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
OperatorAction_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
OperatorAction_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
OperatorAction_g_tc._data._sampleAccessInfo = sample_access_info();
OperatorAction_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &OperatorAction_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::OperatorAction *sample;
static RTIXCdrMemberAccessInfo OperatorAction_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo OperatorAction_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &OperatorAction_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::OperatorAction);
if (sample == NULL) {
return NULL;
}
OperatorAction_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
OperatorAction_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->operatorId - (char *)sample);
OperatorAction_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->action - (char *)sample);
OperatorAction_g_sampleAccessInfo.memberAccessInfos =
OperatorAction_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::OperatorAction);
if (candidateTypeSize > RTIXCdrLong_MAX) {
OperatorAction_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
OperatorAction_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
OperatorAction_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
OperatorAction_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::OperatorAction >;
OperatorAction_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &OperatorAction_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin OperatorAction_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &OperatorAction_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::OperatorAction >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::OperatorAction >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ParticipantConfigurationReport > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member ParticipantConfigurationReport_g_tc_members[15]=
{
{
(char *)"positionIntervallVehicle",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionIntervallPersonell",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionIntervallAircraft",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionTransmissionIntervall",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"heightbarrier",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"faultPositionHandling",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"switchingPositionIntervall",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAdditionalBroadcastRequest",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"factorWaittimeIncreaseHighload",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAutomaticVulnerbilityIncreaseLevel1",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAutomaticVulnerbilityIncreaseLevel2",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAutomaticVulnerbilityIncreaseLevel3",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"opticalCode",/* Member name */
{
14,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModel",/* Member name */
{
15,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"validTimeOps",/* Member name */
{
16,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ParticipantConfigurationReport_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ParticipantConfigurationReport", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
15, /* Number of members */
ParticipantConfigurationReport_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ParticipantConfigurationReport*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ParticipantConfigurationReport_g_tc;
}
ParticipantConfigurationReport_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ParticipantConfigurationReport_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FaultPositionHandling>::get().native();
ParticipantConfigurationReport_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::SwitichingPositionIntervall>::get().native();
ParticipantConfigurationReport_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[12]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::OpticalCode>::get().native();
ParticipantConfigurationReport_g_tc_members[13]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantConfigurationReport_g_tc_members[14]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
ParticipantConfigurationReport_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantConfigurationReport_g_tc_members[5]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantConfigurationReport_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantConfigurationReport_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantConfigurationReport_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[9]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[10]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[10]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[10]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[10]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[10]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[11]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[11]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[11]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[11]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[11]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[12]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantConfigurationReport_g_tc_members[12]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantConfigurationReport_g_tc_members[13]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[13]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[13]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[13]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[13]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[13]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc_members[14]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[14]._annotations._defaultValue._u.long_value = 0;
ParticipantConfigurationReport_g_tc_members[14]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[14]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantConfigurationReport_g_tc_members[14]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantConfigurationReport_g_tc_members[14]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantConfigurationReport_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ParticipantConfigurationReport_g_tc._data._sampleAccessInfo = sample_access_info();
ParticipantConfigurationReport_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ParticipantConfigurationReport_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ParticipantConfigurationReport *sample;
static RTIXCdrMemberAccessInfo ParticipantConfigurationReport_g_memberAccessInfos[15] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ParticipantConfigurationReport_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ParticipantConfigurationReport_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ParticipantConfigurationReport);
if (sample == NULL) {
return NULL;
}
ParticipantConfigurationReport_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionIntervallVehicle - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionIntervallPersonell - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionIntervallAircraft - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionTransmissionIntervall - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->heightbarrier - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->faultPositionHandling - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->switchingPositionIntervall - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAdditionalBroadcastRequest - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->factorWaittimeIncreaseHighload - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAutomaticVulnerbilityIncreaseLevel1 - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAutomaticVulnerbilityIncreaseLevel2 - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAutomaticVulnerbilityIncreaseLevel3 - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[12].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->opticalCode - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[13].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModel - (char *)sample);
ParticipantConfigurationReport_g_memberAccessInfos[14].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->validTimeOps - (char *)sample);
ParticipantConfigurationReport_g_sampleAccessInfo.memberAccessInfos =
ParticipantConfigurationReport_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ParticipantConfigurationReport);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ParticipantConfigurationReport_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ParticipantConfigurationReport_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ParticipantConfigurationReport_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ParticipantConfigurationReport_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ParticipantConfigurationReport >;
ParticipantConfigurationReport_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ParticipantConfigurationReport_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ParticipantConfigurationReport_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ParticipantConfigurationReport_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ParticipantConfigurationReport >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ParticipantConfigurationReport >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ParticipantModeReport > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member ParticipantModeReport_g_tc_members[12]=
{
{
(char *)"language",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"operationMode",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reactivationDetoxication",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reactivationMaintenance",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reactivationMedic",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"protectionModeVest",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"protectionModeHelmet",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"personellProtectionMode",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"protectionLevel",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"handgrenadeSearchMode",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"internationalMode",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"abcProtectionMode",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ParticipantModeReport_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ParticipantModeReport", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
12, /* Number of members */
ParticipantModeReport_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ParticipantModeReport*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ParticipantModeReport_g_tc;
}
ParticipantModeReport_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ParticipantModeReport_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::LanguageConfiguration>::get().native();
ParticipantModeReport_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::OperationMode>::get().native();
ParticipantModeReport_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantModeReport_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantModeReport_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantModeReport_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::WphMode>::get().native();
ParticipantModeReport_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::WphMode>::get().native();
ParticipantModeReport_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::PersonalProtection>::get().native();
ParticipantModeReport_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::ProtectionLevel>::get().native();
ParticipantModeReport_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::HandgrenadeSearchMode>::get().native();
ParticipantModeReport_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::InternationalMode>::get().native();
ParticipantModeReport_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::ABCProtectionMode>::get().native();
/* Initialize the values for member annotations. */
ParticipantModeReport_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
ParticipantModeReport_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantModeReport_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantModeReport_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
ParticipantModeReport_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantModeReport_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantModeReport_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
ParticipantModeReport_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantModeReport_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantModeReport_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantModeReport_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[5]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[7]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[8]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[9]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[10]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantModeReport_g_tc_members[11]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantModeReport_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ParticipantModeReport_g_tc._data._sampleAccessInfo = sample_access_info();
ParticipantModeReport_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ParticipantModeReport_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ParticipantModeReport *sample;
static RTIXCdrMemberAccessInfo ParticipantModeReport_g_memberAccessInfos[12] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ParticipantModeReport_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ParticipantModeReport_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ParticipantModeReport);
if (sample == NULL) {
return NULL;
}
ParticipantModeReport_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->language - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->operationMode - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reactivationDetoxication - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reactivationMaintenance - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reactivationMedic - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->protectionModeVest - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->protectionModeHelmet - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->personellProtectionMode - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->protectionLevel - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->handgrenadeSearchMode - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->internationalMode - (char *)sample);
ParticipantModeReport_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->abcProtectionMode - (char *)sample);
ParticipantModeReport_g_sampleAccessInfo.memberAccessInfos =
ParticipantModeReport_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ParticipantModeReport);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ParticipantModeReport_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ParticipantModeReport_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ParticipantModeReport_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ParticipantModeReport_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ParticipantModeReport >;
ParticipantModeReport_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ParticipantModeReport_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ParticipantModeReport_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ParticipantModeReport_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ParticipantModeReport >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ParticipantModeReport >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode ParticipantSanitaryMaterialStockReport_g_tc_sanitaryMaterialStock_sequence;
static DDS_TypeCode_Member ParticipantSanitaryMaterialStockReport_g_tc_members[5]=
{
{
(char *)"originatorEquipmentNumber",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"qualification",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"uniqueId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sanitaryMaterialCount",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sanitaryMaterialStock",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ParticipantSanitaryMaterialStockReport_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ParticipantSanitaryMaterialStockReport", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
5, /* Number of members */
ParticipantSanitaryMaterialStockReport_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ParticipantSanitaryMaterialStockReport*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ParticipantSanitaryMaterialStockReport_g_tc;
}
ParticipantSanitaryMaterialStockReport_g_tc_sanitaryMaterialStock_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
ParticipantSanitaryMaterialStockReport_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ParticipantSanitaryMaterialStockReport_g_tc_sanitaryMaterialStock_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitaryMaterialStockReport_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Qualification>::get().native();
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitaryMaterialStockReport_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)& ParticipantSanitaryMaterialStockReport_g_tc_sanitaryMaterialStock_sequence;
/* Initialize the values for member annotations. */
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitaryMaterialStockReport_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitaryMaterialStockReport_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitaryMaterialStockReport_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitaryMaterialStockReport_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ParticipantSanitaryMaterialStockReport_g_tc._data._sampleAccessInfo = sample_access_info();
ParticipantSanitaryMaterialStockReport_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ParticipantSanitaryMaterialStockReport_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ParticipantSanitaryMaterialStockReport *sample;
static RTIXCdrMemberAccessInfo ParticipantSanitaryMaterialStockReport_g_memberAccessInfos[5] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ParticipantSanitaryMaterialStockReport);
if (sample == NULL) {
return NULL;
}
ParticipantSanitaryMaterialStockReport_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorEquipmentNumber - (char *)sample);
ParticipantSanitaryMaterialStockReport_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->qualification - (char *)sample);
ParticipantSanitaryMaterialStockReport_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uniqueId - (char *)sample);
ParticipantSanitaryMaterialStockReport_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sanitaryMaterialCount - (char *)sample);
ParticipantSanitaryMaterialStockReport_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sanitaryMaterialStock - (char *)sample);
ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo.memberAccessInfos =
ParticipantSanitaryMaterialStockReport_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ParticipantSanitaryMaterialStockReport);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >;
ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ParticipantSanitaryMaterialStockReport_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ParticipantSanitaryMaterialStockReport_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ParticipantSanitaryMaterialStockReport_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ParticipantSanitation > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member ParticipantSanitation_g_tc_members[6]=
{
{
(char *)"originatorEquipmentNumber",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"qualification",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"uniqueId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"proceduresTaken",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sanitationResult",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sanitationEvaluation",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ParticipantSanitation_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ParticipantSanitation", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
ParticipantSanitation_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ParticipantSanitation*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ParticipantSanitation_g_tc;
}
ParticipantSanitation_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ParticipantSanitation_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitation_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Qualification>::get().native();
ParticipantSanitation_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitation_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
ParticipantSanitation_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::SanitationResult>::get().native();
ParticipantSanitation_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::SanitationEvaluation>::get().native();
/* Initialize the values for member annotations. */
ParticipantSanitation_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitation_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitation_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitation_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitation_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitation_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitation_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitation_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantSanitation_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitation_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitation_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitation_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitation_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitation_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitation_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
ParticipantSanitation_g_tc_members[3]._annotations._defaultValue._u.long_long_value = 0ll;
ParticipantSanitation_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
ParticipantSanitation_g_tc_members[3]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
ParticipantSanitation_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
ParticipantSanitation_g_tc_members[3]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
ParticipantSanitation_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitation_g_tc_members[4]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantSanitation_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitation_g_tc_members[5]._annotations._defaultValue._u.enumerated_value = -1;
ParticipantSanitation_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ParticipantSanitation_g_tc._data._sampleAccessInfo = sample_access_info();
ParticipantSanitation_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ParticipantSanitation_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ParticipantSanitation *sample;
static RTIXCdrMemberAccessInfo ParticipantSanitation_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ParticipantSanitation_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ParticipantSanitation_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ParticipantSanitation);
if (sample == NULL) {
return NULL;
}
ParticipantSanitation_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorEquipmentNumber - (char *)sample);
ParticipantSanitation_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->qualification - (char *)sample);
ParticipantSanitation_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uniqueId - (char *)sample);
ParticipantSanitation_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->proceduresTaken - (char *)sample);
ParticipantSanitation_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sanitationResult - (char *)sample);
ParticipantSanitation_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sanitationEvaluation - (char *)sample);
ParticipantSanitation_g_sampleAccessInfo.memberAccessInfos =
ParticipantSanitation_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ParticipantSanitation);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ParticipantSanitation_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ParticipantSanitation_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ParticipantSanitation_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ParticipantSanitation_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ParticipantSanitation >;
ParticipantSanitation_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ParticipantSanitation_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ParticipantSanitation_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ParticipantSanitation_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ParticipantSanitation >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ParticipantSanitation >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ParticipantSanitationRepair > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member ParticipantSanitationRepair_g_tc_members[12]=
{
{
(char *)"originatorType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumberOrigin",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"stateStart",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"typeOfTreatment",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"triage",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"tyeOfDamage",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"stateResult",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"treatmentResult",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"triagePriority",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"fullState",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"timeOfTreatment",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"timeOfRecovery",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ParticipantSanitationRepair_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ParticipantSanitationRepair", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
12, /* Number of members */
ParticipantSanitationRepair_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ParticipantSanitationRepair*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ParticipantSanitationRepair_g_tc;
}
ParticipantSanitationRepair_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ParticipantSanitationRepair_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::StateChangeOriginator>::get().native();
ParticipantSanitationRepair_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::VulnerabilityState>::get().native();
ParticipantSanitationRepair_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::VulnerabilityState>::get().native();
ParticipantSanitationRepair_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TreatmentResult>::get().native();
ParticipantSanitationRepair_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
ParticipantSanitationRepair_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
ParticipantSanitationRepair_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitationRepair_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantSanitationRepair_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitationRepair_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = -1;
ParticipantSanitationRepair_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitationRepair_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = -1;
ParticipantSanitationRepair_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ParticipantSanitationRepair_g_tc_members[7]._annotations._defaultValue._u.enumerated_value = 0;
ParticipantSanitationRepair_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[9]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[10]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[10]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[10]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[10]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[10]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[11]._annotations._defaultValue._u.long_value = 0;
ParticipantSanitationRepair_g_tc_members[11]._annotations._minValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[11]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
ParticipantSanitationRepair_g_tc_members[11]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
ParticipantSanitationRepair_g_tc_members[11]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
ParticipantSanitationRepair_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ParticipantSanitationRepair_g_tc._data._sampleAccessInfo = sample_access_info();
ParticipantSanitationRepair_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ParticipantSanitationRepair_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ParticipantSanitationRepair *sample;
static RTIXCdrMemberAccessInfo ParticipantSanitationRepair_g_memberAccessInfos[12] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ParticipantSanitationRepair_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ParticipantSanitationRepair_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ParticipantSanitationRepair);
if (sample == NULL) {
return NULL;
}
ParticipantSanitationRepair_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorType - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumberOrigin - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->stateStart - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->typeOfTreatment - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->triage - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->tyeOfDamage - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->stateResult - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->treatmentResult - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->triagePriority - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->fullState - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->timeOfTreatment - (char *)sample);
ParticipantSanitationRepair_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->timeOfRecovery - (char *)sample);
ParticipantSanitationRepair_g_sampleAccessInfo.memberAccessInfos =
ParticipantSanitationRepair_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ParticipantSanitationRepair);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ParticipantSanitationRepair_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ParticipantSanitationRepair_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ParticipantSanitationRepair_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ParticipantSanitationRepair_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ParticipantSanitationRepair >;
ParticipantSanitationRepair_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ParticipantSanitationRepair_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ParticipantSanitationRepair_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ParticipantSanitationRepair_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ParticipantSanitationRepair >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ParticipantSanitationRepair >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ParticipantSwVersions > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode ParticipantSwVersions_g_tc_equipments_sequence;
static DDS_TypeCode_Member ParticipantSwVersions_g_tc_members[1]=
{
{
(char *)"equipments",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ParticipantSwVersions_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ParticipantSwVersions", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
ParticipantSwVersions_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ParticipantSwVersions*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ParticipantSwVersions_g_tc;
}
ParticipantSwVersions_g_tc_equipments_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::EquipmentSwVersion > >(RTIXCdrLong_MAX);
ParticipantSwVersions_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ParticipantSwVersions_g_tc_equipments_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentSwVersion>::get().native();
ParticipantSwVersions_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& ParticipantSwVersions_g_tc_equipments_sequence;
/* Initialize the values for member annotations. */
ParticipantSwVersions_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ParticipantSwVersions_g_tc._data._sampleAccessInfo = sample_access_info();
ParticipantSwVersions_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ParticipantSwVersions_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ParticipantSwVersions *sample;
static RTIXCdrMemberAccessInfo ParticipantSwVersions_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ParticipantSwVersions_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ParticipantSwVersions_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ParticipantSwVersions);
if (sample == NULL) {
return NULL;
}
ParticipantSwVersions_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipments - (char *)sample);
ParticipantSwVersions_g_sampleAccessInfo.memberAccessInfos =
ParticipantSwVersions_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ParticipantSwVersions);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ParticipantSwVersions_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ParticipantSwVersions_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ParticipantSwVersions_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ParticipantSwVersions_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ParticipantSwVersions >;
ParticipantSwVersions_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ParticipantSwVersions_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ParticipantSwVersions_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ParticipantSwVersions_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ParticipantSwVersions >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ParticipantSwVersions >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::Reammunition > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member Reammunition_g_tc_members[4]=
{
{
(char *)"chargeTypeId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"newStock",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"newDefaultStock",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"tracerRatio",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode Reammunition_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::Reammunition", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
Reammunition_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for Reammunition*/
if (is_initialized.load(std::memory_order_acquire)) {
return &Reammunition_g_tc;
}
Reammunition_g_tc._data._annotations._allowedDataRepresentationMask = 5;
Reammunition_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Reammunition_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Reammunition_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
Reammunition_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
Reammunition_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
Reammunition_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Reammunition_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Reammunition_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
Reammunition_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Reammunition_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Reammunition_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
Reammunition_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Reammunition_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Reammunition_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
Reammunition_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
Reammunition_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
Reammunition_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
Reammunition_g_tc._data._sampleAccessInfo = sample_access_info();
Reammunition_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &Reammunition_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::Reammunition *sample;
static RTIXCdrMemberAccessInfo Reammunition_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo Reammunition_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &Reammunition_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::Reammunition);
if (sample == NULL) {
return NULL;
}
Reammunition_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
Reammunition_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->newStock - (char *)sample);
Reammunition_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->newDefaultStock - (char *)sample);
Reammunition_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->tracerRatio - (char *)sample);
Reammunition_g_sampleAccessInfo.memberAccessInfos =
Reammunition_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::Reammunition);
if (candidateTypeSize > RTIXCdrLong_MAX) {
Reammunition_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
Reammunition_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
Reammunition_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
Reammunition_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::Reammunition >;
Reammunition_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &Reammunition_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin Reammunition_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &Reammunition_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::Reammunition >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::Reammunition >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::RestoreRadioReadiness > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member RestoreRadioReadiness_g_tc_members[4]=
{
{
(char *)"readinessLossPosition",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"readinessLossTime",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"readinessRestorePosition",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"readinessRestoreTime",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode RestoreRadioReadiness_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::RestoreRadioReadiness", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
RestoreRadioReadiness_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for RestoreRadioReadiness*/
if (is_initialized.load(std::memory_order_acquire)) {
return &RestoreRadioReadiness_g_tc;
}
RestoreRadioReadiness_g_tc._data._annotations._allowedDataRepresentationMask = 5;
RestoreRadioReadiness_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
RestoreRadioReadiness_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
RestoreRadioReadiness_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
RestoreRadioReadiness_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
RestoreRadioReadiness_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
RestoreRadioReadiness_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
RestoreRadioReadiness_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
RestoreRadioReadiness_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
RestoreRadioReadiness_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
RestoreRadioReadiness_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
RestoreRadioReadiness_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
RestoreRadioReadiness_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
RestoreRadioReadiness_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
RestoreRadioReadiness_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
RestoreRadioReadiness_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
RestoreRadioReadiness_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
RestoreRadioReadiness_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
RestoreRadioReadiness_g_tc._data._sampleAccessInfo = sample_access_info();
RestoreRadioReadiness_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &RestoreRadioReadiness_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::RestoreRadioReadiness *sample;
static RTIXCdrMemberAccessInfo RestoreRadioReadiness_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo RestoreRadioReadiness_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &RestoreRadioReadiness_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::RestoreRadioReadiness);
if (sample == NULL) {
return NULL;
}
RestoreRadioReadiness_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->readinessLossPosition - (char *)sample);
RestoreRadioReadiness_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->readinessLossTime - (char *)sample);
RestoreRadioReadiness_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->readinessRestorePosition - (char *)sample);
RestoreRadioReadiness_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->readinessRestoreTime - (char *)sample);
RestoreRadioReadiness_g_sampleAccessInfo.memberAccessInfos =
RestoreRadioReadiness_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::RestoreRadioReadiness);
if (candidateTypeSize > RTIXCdrLong_MAX) {
RestoreRadioReadiness_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
RestoreRadioReadiness_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
RestoreRadioReadiness_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
RestoreRadioReadiness_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::RestoreRadioReadiness >;
RestoreRadioReadiness_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &RestoreRadioReadiness_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin RestoreRadioReadiness_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &RestoreRadioReadiness_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::RestoreRadioReadiness >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::RestoreRadioReadiness >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendCesHitInformation > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendCesHitInformation_g_tc_members[7]=
{
{
(char *)"originatorId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originatorEquipmentNumber",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"chargeTypeId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"directionDegree",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"distanceToOrignator",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectPercent",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectTime",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendCesHitInformation_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendCesHitInformation", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
7, /* Number of members */
SendCesHitInformation_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendCesHitInformation*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendCesHitInformation_g_tc;
}
SendCesHitInformation_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendCesHitInformation_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitInformation_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitInformation_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitInformation_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitInformation_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitInformation_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitInformation_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
/* Initialize the values for member annotations. */
SendCesHitInformation_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendCesHitInformation_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitInformation_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitInformation_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendCesHitInformation_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitInformation_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitInformation_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendCesHitInformation_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitInformation_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitInformation_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
SendCesHitInformation_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitInformation_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitInformation_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
SendCesHitInformation_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitInformation_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitInformation_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
SendCesHitInformation_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitInformation_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitInformation_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitInformation_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
SendCesHitInformation_g_tc_members[6]._annotations._defaultValue._u.long_long_value = 0ll;
SendCesHitInformation_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
SendCesHitInformation_g_tc_members[6]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
SendCesHitInformation_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
SendCesHitInformation_g_tc_members[6]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
SendCesHitInformation_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendCesHitInformation_g_tc._data._sampleAccessInfo = sample_access_info();
SendCesHitInformation_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendCesHitInformation_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendCesHitInformation *sample;
static RTIXCdrMemberAccessInfo SendCesHitInformation_g_memberAccessInfos[7] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendCesHitInformation_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendCesHitInformation_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendCesHitInformation);
if (sample == NULL) {
return NULL;
}
SendCesHitInformation_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorId - (char *)sample);
SendCesHitInformation_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorEquipmentNumber - (char *)sample);
SendCesHitInformation_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
SendCesHitInformation_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->directionDegree - (char *)sample);
SendCesHitInformation_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->distanceToOrignator - (char *)sample);
SendCesHitInformation_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectPercent - (char *)sample);
SendCesHitInformation_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectTime - (char *)sample);
SendCesHitInformation_g_sampleAccessInfo.memberAccessInfos =
SendCesHitInformation_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendCesHitInformation);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendCesHitInformation_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendCesHitInformation_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendCesHitInformation_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendCesHitInformation_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendCesHitInformation >;
SendCesHitInformation_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendCesHitInformation_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendCesHitInformation_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendCesHitInformation_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendCesHitInformation >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendCesHitInformation >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendCesHitRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendCesHitRequest_g_tc_members[9]=
{
{
(char *)"chargeTypeId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"aesId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originatorEquipmentNumber",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"remainEffectPercent",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"position",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"effectTime",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"pdmEventType",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"mineId",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendCesHitRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendCesHitRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
9, /* Number of members */
SendCesHitRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendCesHitRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendCesHitRequest_g_tc;
}
SendCesHitRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendCesHitRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TabPosition>::get().native();
SendCesHitRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
SendCesHitRequest_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::PdmEventType>::get().native();
SendCesHitRequest_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendCesHitRequest_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendCesHitRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendCesHitRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendCesHitRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendCesHitRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
SendCesHitRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
SendCesHitRequest_g_tc_members[5]._annotations._defaultValue._u.long_long_value = 0ll;
SendCesHitRequest_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
SendCesHitRequest_g_tc_members[5]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
SendCesHitRequest_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
SendCesHitRequest_g_tc_members[5]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
SendCesHitRequest_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendCesHitRequest_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = 0;
SendCesHitRequest_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
SendCesHitRequest_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitRequest_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitRequest_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
SendCesHitRequest_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendCesHitRequest_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendCesHitRequest_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendCesHitRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendCesHitRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendCesHitRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendCesHitRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendCesHitRequest *sample;
static RTIXCdrMemberAccessInfo SendCesHitRequest_g_memberAccessInfos[9] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendCesHitRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendCesHitRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendCesHitRequest);
if (sample == NULL) {
return NULL;
}
SendCesHitRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->chargeTypeId - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->aesId - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorEquipmentNumber - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->remainEffectPercent - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->effectTime - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->pdmEventType - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
SendCesHitRequest_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->mineId - (char *)sample);
SendCesHitRequest_g_sampleAccessInfo.memberAccessInfos =
SendCesHitRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendCesHitRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendCesHitRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendCesHitRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendCesHitRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendCesHitRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendCesHitRequest >;
SendCesHitRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendCesHitRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendCesHitRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendCesHitRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendCesHitRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendCesHitRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendControlDataRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendControlDataRequest_g_tc_controlData_sequence;
static DDS_TypeCode_Member SendControlDataRequest_g_tc_members[2]=
{
{
(char *)"controlCode",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"controlData",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendControlDataRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendControlDataRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
SendControlDataRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendControlDataRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendControlDataRequest_g_tc;
}
SendControlDataRequest_g_tc_controlData_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
SendControlDataRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendControlDataRequest_g_tc_controlData_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
SendControlDataRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::ControlDataCode>::get().native();
SendControlDataRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& SendControlDataRequest_g_tc_controlData_sequence;
/* Initialize the values for member annotations. */
SendControlDataRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendControlDataRequest_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
SendControlDataRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendControlDataRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendControlDataRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendControlDataRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendControlDataRequest *sample;
static RTIXCdrMemberAccessInfo SendControlDataRequest_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendControlDataRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendControlDataRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendControlDataRequest);
if (sample == NULL) {
return NULL;
}
SendControlDataRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->controlCode - (char *)sample);
SendControlDataRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->controlData - (char *)sample);
SendControlDataRequest_g_sampleAccessInfo.memberAccessInfos =
SendControlDataRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendControlDataRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendControlDataRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendControlDataRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendControlDataRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendControlDataRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendControlDataRequest >;
SendControlDataRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendControlDataRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendControlDataRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendControlDataRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendControlDataRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendControlDataRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendEquipmentMessageRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendEquipmentMessageRequest_g_tc_equipmentNumbers_sequence;
static DDS_TypeCode SendEquipmentMessageRequest_g_tc_subject_string;
static DDS_TypeCode SendEquipmentMessageRequest_g_tc_message_string;
static DDS_TypeCode_Member SendEquipmentMessageRequest_g_tc_members[6]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumbers",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"messageId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sender",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"subject",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"message",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendEquipmentMessageRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendEquipmentMessageRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
SendEquipmentMessageRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendEquipmentMessageRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendEquipmentMessageRequest_g_tc;
}
SendEquipmentMessageRequest_g_tc_equipmentNumbers_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
SendEquipmentMessageRequest_g_tc_subject_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendEquipmentMessageRequest_g_tc_message_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendEquipmentMessageRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendEquipmentMessageRequest_g_tc_equipmentNumbers_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendEquipmentMessageRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendEquipmentMessageRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& SendEquipmentMessageRequest_g_tc_equipmentNumbers_sequence;
SendEquipmentMessageRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendEquipmentMessageRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendEquipmentMessageRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&SendEquipmentMessageRequest_g_tc_subject_string;
SendEquipmentMessageRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&SendEquipmentMessageRequest_g_tc_message_string;
/* Initialize the values for member annotations. */
SendEquipmentMessageRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendEquipmentMessageRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendEquipmentMessageRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendEquipmentMessageRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendEquipmentMessageRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendEquipmentMessageRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendEquipmentMessageRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendEquipmentMessageRequest_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendEquipmentMessageRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendEquipmentMessageRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendEquipmentMessageRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendEquipmentMessageRequest *sample;
static RTIXCdrMemberAccessInfo SendEquipmentMessageRequest_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendEquipmentMessageRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendEquipmentMessageRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendEquipmentMessageRequest);
if (sample == NULL) {
return NULL;
}
SendEquipmentMessageRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendEquipmentMessageRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumbers - (char *)sample);
SendEquipmentMessageRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->messageId - (char *)sample);
SendEquipmentMessageRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sender - (char *)sample);
SendEquipmentMessageRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->subject - (char *)sample);
SendEquipmentMessageRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->message - (char *)sample);
SendEquipmentMessageRequest_g_sampleAccessInfo.memberAccessInfos =
SendEquipmentMessageRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendEquipmentMessageRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendEquipmentMessageRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendEquipmentMessageRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendEquipmentMessageRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendEquipmentMessageRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendEquipmentMessageRequest >;
SendEquipmentMessageRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendEquipmentMessageRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendEquipmentMessageRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendEquipmentMessageRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendEquipmentMessageRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendEquipmentMessageRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendExConfirmationReportRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendExConfirmationReportRequest_g_tc_reference_string;
static DDS_TypeCode SendExConfirmationReportRequest_g_tc_unitIdentifier_string;
static DDS_TypeCode SendExConfirmationReportRequest_g_tc_identifier_string;
static DDS_TypeCode_Member SendExConfirmationReportRequest_g_tc_members[6]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"participantId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reference",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"unitIdentifier",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"identifier",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendExConfirmationReportRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendExConfirmationReportRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
SendExConfirmationReportRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendExConfirmationReportRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendExConfirmationReportRequest_g_tc;
}
SendExConfirmationReportRequest_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExConfirmationReportRequest_g_tc_unitIdentifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExConfirmationReportRequest_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExConfirmationReportRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendExConfirmationReportRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExConfirmationReportRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExConfirmationReportRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExConfirmationReportRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&SendExConfirmationReportRequest_g_tc_reference_string;
SendExConfirmationReportRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&SendExConfirmationReportRequest_g_tc_unitIdentifier_string;
SendExConfirmationReportRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&SendExConfirmationReportRequest_g_tc_identifier_string;
/* Initialize the values for member annotations. */
SendExConfirmationReportRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendExConfirmationReportRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExConfirmationReportRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExConfirmationReportRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendExConfirmationReportRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExConfirmationReportRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExConfirmationReportRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendExConfirmationReportRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExConfirmationReportRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExConfirmationReportRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExConfirmationReportRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExConfirmationReportRequest_g_tc_members[3]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExConfirmationReportRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExConfirmationReportRequest_g_tc_members[4]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExConfirmationReportRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExConfirmationReportRequest_g_tc_members[5]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExConfirmationReportRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendExConfirmationReportRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendExConfirmationReportRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendExConfirmationReportRequest *sample;
static RTIXCdrMemberAccessInfo SendExConfirmationReportRequest_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendExConfirmationReportRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendExConfirmationReportRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendExConfirmationReportRequest);
if (sample == NULL) {
return NULL;
}
SendExConfirmationReportRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendExConfirmationReportRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->participantId - (char *)sample);
SendExConfirmationReportRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
SendExConfirmationReportRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
SendExConfirmationReportRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->unitIdentifier - (char *)sample);
SendExConfirmationReportRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
SendExConfirmationReportRequest_g_sampleAccessInfo.memberAccessInfos =
SendExConfirmationReportRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendExConfirmationReportRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendExConfirmationReportRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendExConfirmationReportRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendExConfirmationReportRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendExConfirmationReportRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendExConfirmationReportRequest >;
SendExConfirmationReportRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendExConfirmationReportRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendExConfirmationReportRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendExConfirmationReportRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendExConfirmationReportRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendExConfirmationReportRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendExFireReadinessRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendExFireReadinessRequest_g_tc_reference_string;
static DDS_TypeCode_Member SendExFireReadinessRequest_g_tc_members[4]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"participantId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reference",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendExFireReadinessRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendExFireReadinessRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
SendExFireReadinessRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendExFireReadinessRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendExFireReadinessRequest_g_tc;
}
SendExFireReadinessRequest_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExFireReadinessRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendExFireReadinessRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExFireReadinessRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExFireReadinessRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExFireReadinessRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&SendExFireReadinessRequest_g_tc_reference_string;
/* Initialize the values for member annotations. */
SendExFireReadinessRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendExFireReadinessRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExFireReadinessRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExFireReadinessRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendExFireReadinessRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExFireReadinessRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExFireReadinessRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendExFireReadinessRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExFireReadinessRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExFireReadinessRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExFireReadinessRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExFireReadinessRequest_g_tc_members[3]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExFireReadinessRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendExFireReadinessRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendExFireReadinessRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendExFireReadinessRequest *sample;
static RTIXCdrMemberAccessInfo SendExFireReadinessRequest_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendExFireReadinessRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendExFireReadinessRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendExFireReadinessRequest);
if (sample == NULL) {
return NULL;
}
SendExFireReadinessRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendExFireReadinessRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->participantId - (char *)sample);
SendExFireReadinessRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
SendExFireReadinessRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
SendExFireReadinessRequest_g_sampleAccessInfo.memberAccessInfos =
SendExFireReadinessRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendExFireReadinessRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendExFireReadinessRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendExFireReadinessRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendExFireReadinessRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendExFireReadinessRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendExFireReadinessRequest >;
SendExFireReadinessRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendExFireReadinessRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendExFireReadinessRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendExFireReadinessRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendExFireReadinessRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendExFireReadinessRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendExFiredReportRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendExFiredReportRequest_g_tc_reference_string;
static DDS_TypeCode SendExFiredReportRequest_g_tc_unitIdentifier_string;
static DDS_TypeCode SendExFiredReportRequest_g_tc_identifier_string;
static DDS_TypeCode_Member SendExFiredReportRequest_g_tc_members[6]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"participantId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reference",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"unitIdentifier",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"identifier",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendExFiredReportRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendExFiredReportRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
6, /* Number of members */
SendExFiredReportRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendExFiredReportRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendExFiredReportRequest_g_tc;
}
SendExFiredReportRequest_g_tc_reference_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExFiredReportRequest_g_tc_unitIdentifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExFiredReportRequest_g_tc_identifier_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendExFiredReportRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendExFiredReportRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExFiredReportRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExFiredReportRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendExFiredReportRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&SendExFiredReportRequest_g_tc_reference_string;
SendExFiredReportRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&SendExFiredReportRequest_g_tc_unitIdentifier_string;
SendExFiredReportRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&SendExFiredReportRequest_g_tc_identifier_string;
/* Initialize the values for member annotations. */
SendExFiredReportRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendExFiredReportRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExFiredReportRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExFiredReportRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendExFiredReportRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExFiredReportRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExFiredReportRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendExFiredReportRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendExFiredReportRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendExFiredReportRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendExFiredReportRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExFiredReportRequest_g_tc_members[3]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExFiredReportRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExFiredReportRequest_g_tc_members[4]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExFiredReportRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendExFiredReportRequest_g_tc_members[5]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendExFiredReportRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendExFiredReportRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendExFiredReportRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendExFiredReportRequest *sample;
static RTIXCdrMemberAccessInfo SendExFiredReportRequest_g_memberAccessInfos[6] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendExFiredReportRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendExFiredReportRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendExFiredReportRequest);
if (sample == NULL) {
return NULL;
}
SendExFiredReportRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendExFiredReportRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->participantId - (char *)sample);
SendExFiredReportRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
SendExFiredReportRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reference - (char *)sample);
SendExFiredReportRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->unitIdentifier - (char *)sample);
SendExFiredReportRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->identifier - (char *)sample);
SendExFiredReportRequest_g_sampleAccessInfo.memberAccessInfos =
SendExFiredReportRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendExFiredReportRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendExFiredReportRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendExFiredReportRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendExFiredReportRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendExFiredReportRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendExFiredReportRequest >;
SendExFiredReportRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendExFiredReportRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendExFiredReportRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendExFiredReportRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendExFiredReportRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendExFiredReportRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendFireSmokeMarkerDataRequest_g_tc_payload_sequence;
static DDS_TypeCode_Member SendFireSmokeMarkerDataRequest_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendFireSmokeMarkerDataRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendFireSmokeMarkerDataRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendFireSmokeMarkerDataRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendFireSmokeMarkerDataRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendFireSmokeMarkerDataRequest_g_tc;
}
SendFireSmokeMarkerDataRequest_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
SendFireSmokeMarkerDataRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendFireSmokeMarkerDataRequest_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
SendFireSmokeMarkerDataRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& SendFireSmokeMarkerDataRequest_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
SendFireSmokeMarkerDataRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendFireSmokeMarkerDataRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendFireSmokeMarkerDataRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendFireSmokeMarkerDataRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendFireSmokeMarkerDataRequest *sample;
static RTIXCdrMemberAccessInfo SendFireSmokeMarkerDataRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendFireSmokeMarkerDataRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendFireSmokeMarkerDataRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendFireSmokeMarkerDataRequest);
if (sample == NULL) {
return NULL;
}
SendFireSmokeMarkerDataRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
SendFireSmokeMarkerDataRequest_g_sampleAccessInfo.memberAccessInfos =
SendFireSmokeMarkerDataRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendFireSmokeMarkerDataRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendFireSmokeMarkerDataRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendFireSmokeMarkerDataRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendFireSmokeMarkerDataRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendFireSmokeMarkerDataRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >;
SendFireSmokeMarkerDataRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendFireSmokeMarkerDataRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendFireSmokeMarkerDataRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendFireSmokeMarkerDataRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendGeopairingDataRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendGeopairingDataRequest_g_tc_payload_sequence;
static DDS_TypeCode_Member SendGeopairingDataRequest_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendGeopairingDataRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendGeopairingDataRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendGeopairingDataRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendGeopairingDataRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendGeopairingDataRequest_g_tc;
}
SendGeopairingDataRequest_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
SendGeopairingDataRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendGeopairingDataRequest_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
SendGeopairingDataRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& SendGeopairingDataRequest_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
SendGeopairingDataRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendGeopairingDataRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendGeopairingDataRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendGeopairingDataRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendGeopairingDataRequest *sample;
static RTIXCdrMemberAccessInfo SendGeopairingDataRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendGeopairingDataRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendGeopairingDataRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendGeopairingDataRequest);
if (sample == NULL) {
return NULL;
}
SendGeopairingDataRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
SendGeopairingDataRequest_g_sampleAccessInfo.memberAccessInfos =
SendGeopairingDataRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendGeopairingDataRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendGeopairingDataRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendGeopairingDataRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendGeopairingDataRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendGeopairingDataRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendGeopairingDataRequest >;
SendGeopairingDataRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendGeopairingDataRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendGeopairingDataRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendGeopairingDataRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendGeopairingDataRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendGeopairingDataRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendLanguageSelectionRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendLanguageSelectionRequest_g_tc_members[1]=
{
{
(char *)"language",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendLanguageSelectionRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendLanguageSelectionRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendLanguageSelectionRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendLanguageSelectionRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendLanguageSelectionRequest_g_tc;
}
SendLanguageSelectionRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendLanguageSelectionRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::LanguageConfiguration>::get().native();
/* Initialize the values for member annotations. */
SendLanguageSelectionRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendLanguageSelectionRequest_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
SendLanguageSelectionRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendLanguageSelectionRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendLanguageSelectionRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendLanguageSelectionRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendLanguageSelectionRequest *sample;
static RTIXCdrMemberAccessInfo SendLanguageSelectionRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendLanguageSelectionRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendLanguageSelectionRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendLanguageSelectionRequest);
if (sample == NULL) {
return NULL;
}
SendLanguageSelectionRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->language - (char *)sample);
SendLanguageSelectionRequest_g_sampleAccessInfo.memberAccessInfos =
SendLanguageSelectionRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendLanguageSelectionRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendLanguageSelectionRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendLanguageSelectionRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendLanguageSelectionRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendLanguageSelectionRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendLanguageSelectionRequest >;
SendLanguageSelectionRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendLanguageSelectionRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendLanguageSelectionRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendLanguageSelectionRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendLanguageSelectionRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendLanguageSelectionRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendModifyUasStateRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendModifyUasStateRequest_g_tc_members[4]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"uasId",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_KEY_MEMBER , /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"uasState",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumber",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendModifyUasStateRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendModifyUasStateRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
SendModifyUasStateRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendModifyUasStateRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendModifyUasStateRequest_g_tc;
}
SendModifyUasStateRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendModifyUasStateRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendModifyUasStateRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendModifyUasStateRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::UasState>::get().native();
SendModifyUasStateRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendModifyUasStateRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendModifyUasStateRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendModifyUasStateRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendModifyUasStateRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendModifyUasStateRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendModifyUasStateRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendModifyUasStateRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendModifyUasStateRequest_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 0;
SendModifyUasStateRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
SendModifyUasStateRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendModifyUasStateRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendModifyUasStateRequest_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendModifyUasStateRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendModifyUasStateRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendModifyUasStateRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendModifyUasStateRequest *sample;
static RTIXCdrMemberAccessInfo SendModifyUasStateRequest_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendModifyUasStateRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendModifyUasStateRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendModifyUasStateRequest);
if (sample == NULL) {
return NULL;
}
SendModifyUasStateRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendModifyUasStateRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uasId - (char *)sample);
SendModifyUasStateRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uasState - (char *)sample);
SendModifyUasStateRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumber - (char *)sample);
SendModifyUasStateRequest_g_sampleAccessInfo.memberAccessInfos =
SendModifyUasStateRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendModifyUasStateRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendModifyUasStateRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendModifyUasStateRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendModifyUasStateRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendModifyUasStateRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendModifyUasStateRequest >;
SendModifyUasStateRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendModifyUasStateRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendModifyUasStateRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendModifyUasStateRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendModifyUasStateRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendModifyUasStateRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendOcCommandRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendOcCommandRequest_g_tc_equipmentNumbers_sequence;
static DDS_TypeCode_Member SendOcCommandRequest_g_tc_members[3]=
{
{
(char *)"requestId",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"equipmentNumbers",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"action",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendOcCommandRequest_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendOcCommandRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
SendOcCommandRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendOcCommandRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendOcCommandRequest_g_tc;
}
SendOcCommandRequest_g_tc_equipmentNumbers_sequence = initialize_sequence_typecode< ::omg::types::sequence< int32_t > >(RTIXCdrLong_MAX);
SendOcCommandRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendOcCommandRequest_g_tc_equipmentNumbers_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendOcCommandRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendOcCommandRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)& SendOcCommandRequest_g_tc_equipmentNumbers_sequence;
SendOcCommandRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendOcCommandRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendOcCommandRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendOcCommandRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendOcCommandRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendOcCommandRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendOcCommandRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendOcCommandRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendOcCommandRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendOcCommandRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendOcCommandRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendOcCommandRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendOcCommandRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendOcCommandRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendOcCommandRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendOcCommandRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendOcCommandRequest *sample;
static RTIXCdrMemberAccessInfo SendOcCommandRequest_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendOcCommandRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendOcCommandRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendOcCommandRequest);
if (sample == NULL) {
return NULL;
}
SendOcCommandRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendOcCommandRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentNumbers - (char *)sample);
SendOcCommandRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->action - (char *)sample);
SendOcCommandRequest_g_sampleAccessInfo.memberAccessInfos =
SendOcCommandRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendOcCommandRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendOcCommandRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendOcCommandRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendOcCommandRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendOcCommandRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendOcCommandRequest >;
SendOcCommandRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendOcCommandRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendOcCommandRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendOcCommandRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendOcCommandRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendOcCommandRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendOcDataRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendOcDataRequest_g_tc_payload_sequence;
static DDS_TypeCode_Member SendOcDataRequest_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendOcDataRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendOcDataRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendOcDataRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendOcDataRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendOcDataRequest_g_tc;
}
SendOcDataRequest_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
SendOcDataRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendOcDataRequest_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
SendOcDataRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& SendOcDataRequest_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
SendOcDataRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendOcDataRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendOcDataRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendOcDataRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendOcDataRequest *sample;
static RTIXCdrMemberAccessInfo SendOcDataRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendOcDataRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendOcDataRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendOcDataRequest);
if (sample == NULL) {
return NULL;
}
SendOcDataRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
SendOcDataRequest_g_sampleAccessInfo.memberAccessInfos =
SendOcDataRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendOcDataRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendOcDataRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendOcDataRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendOcDataRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendOcDataRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendOcDataRequest >;
SendOcDataRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendOcDataRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendOcDataRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendOcDataRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendOcDataRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendOcDataRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendParticipantBeStillWarningRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendParticipantBeStillWarningRequest_g_tc_members[1]=
{
{
(char *)"data",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendParticipantBeStillWarningRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendParticipantBeStillWarningRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendParticipantBeStillWarningRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendParticipantBeStillWarningRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendParticipantBeStillWarningRequest_g_tc;
}
SendParticipantBeStillWarningRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendParticipantBeStillWarningRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendParticipantBeStillWarningRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantBeStillWarningRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendParticipantBeStillWarningRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantBeStillWarningRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantBeStillWarningRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantBeStillWarningRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantBeStillWarningRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendParticipantBeStillWarningRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendParticipantBeStillWarningRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendParticipantBeStillWarningRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendParticipantBeStillWarningRequest *sample;
static RTIXCdrMemberAccessInfo SendParticipantBeStillWarningRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendParticipantBeStillWarningRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendParticipantBeStillWarningRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendParticipantBeStillWarningRequest);
if (sample == NULL) {
return NULL;
}
SendParticipantBeStillWarningRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->data - (char *)sample);
SendParticipantBeStillWarningRequest_g_sampleAccessInfo.memberAccessInfos =
SendParticipantBeStillWarningRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendParticipantBeStillWarningRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendParticipantBeStillWarningRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendParticipantBeStillWarningRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendParticipantBeStillWarningRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendParticipantBeStillWarningRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >;
SendParticipantBeStillWarningRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendParticipantBeStillWarningRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendParticipantBeStillWarningRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendParticipantBeStillWarningRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendParticipantBlockedAreaRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendParticipantBlockedAreaRequest_g_tc_members[1]=
{
{
(char *)"blockedAreaMode",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendParticipantBlockedAreaRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendParticipantBlockedAreaRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendParticipantBlockedAreaRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendParticipantBlockedAreaRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendParticipantBlockedAreaRequest_g_tc;
}
SendParticipantBlockedAreaRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendParticipantBlockedAreaRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::BlockedAreaMode>::get().native();
/* Initialize the values for member annotations. */
SendParticipantBlockedAreaRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantBlockedAreaRequest_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantBlockedAreaRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendParticipantBlockedAreaRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendParticipantBlockedAreaRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendParticipantBlockedAreaRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendParticipantBlockedAreaRequest *sample;
static RTIXCdrMemberAccessInfo SendParticipantBlockedAreaRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendParticipantBlockedAreaRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendParticipantBlockedAreaRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendParticipantBlockedAreaRequest);
if (sample == NULL) {
return NULL;
}
SendParticipantBlockedAreaRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->blockedAreaMode - (char *)sample);
SendParticipantBlockedAreaRequest_g_sampleAccessInfo.memberAccessInfos =
SendParticipantBlockedAreaRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendParticipantBlockedAreaRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendParticipantBlockedAreaRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendParticipantBlockedAreaRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendParticipantBlockedAreaRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendParticipantBlockedAreaRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >;
SendParticipantBlockedAreaRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendParticipantBlockedAreaRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendParticipantBlockedAreaRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendParticipantBlockedAreaRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendParticipantConfigurationRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendParticipantConfigurationRequest_g_tc_members[15]=
{
{
(char *)"positionIntervallVehicle",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionIntervallPersonell",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionIntervallAircraft",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionTransmissionIntervall",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"heightbarrier",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"faultPositionHandling",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"switchingPositionIntervall",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAdditionalBroadcastDemand",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"factorWaittimeIncreaseHighload",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAutomaticVulnerabilityIncreaseLevel1",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAutomaticVulnerabilityIncreaseLevel2",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"waittimeAutomaticVulnerabilityIncreaseLevel3",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"opticalCode",/* Member name */
{
14,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModel",/* Member name */
{
15,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"validTimeOps",/* Member name */
{
16,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendParticipantConfigurationRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendParticipantConfigurationRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
15, /* Number of members */
SendParticipantConfigurationRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendParticipantConfigurationRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendParticipantConfigurationRequest_g_tc;
}
SendParticipantConfigurationRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendParticipantConfigurationRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FaultPositionHandling>::get().native();
SendParticipantConfigurationRequest_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::SwitichingPositionIntervall>::get().native();
SendParticipantConfigurationRequest_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[12]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::OpticalCode>::get().native();
SendParticipantConfigurationRequest_g_tc_members[13]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantConfigurationRequest_g_tc_members[14]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendParticipantConfigurationRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantConfigurationRequest_g_tc_members[5]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantConfigurationRequest_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantConfigurationRequest_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantConfigurationRequest_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[7]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[7]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[7]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[7]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[7]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[8]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[8]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[8]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[9]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[9]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[9]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[9]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[9]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[10]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[10]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[10]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[10]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[10]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[11]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[11]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[11]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[11]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[11]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[12]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantConfigurationRequest_g_tc_members[12]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantConfigurationRequest_g_tc_members[13]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[13]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[13]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[13]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[13]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[13]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc_members[14]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[14]._annotations._defaultValue._u.long_value = 0;
SendParticipantConfigurationRequest_g_tc_members[14]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[14]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantConfigurationRequest_g_tc_members[14]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantConfigurationRequest_g_tc_members[14]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantConfigurationRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendParticipantConfigurationRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendParticipantConfigurationRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendParticipantConfigurationRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendParticipantConfigurationRequest *sample;
static RTIXCdrMemberAccessInfo SendParticipantConfigurationRequest_g_memberAccessInfos[15] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendParticipantConfigurationRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendParticipantConfigurationRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendParticipantConfigurationRequest);
if (sample == NULL) {
return NULL;
}
SendParticipantConfigurationRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionIntervallVehicle - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionIntervallPersonell - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionIntervallAircraft - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionTransmissionIntervall - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->heightbarrier - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->faultPositionHandling - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->switchingPositionIntervall - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAdditionalBroadcastDemand - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->factorWaittimeIncreaseHighload - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAutomaticVulnerabilityIncreaseLevel1 - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAutomaticVulnerabilityIncreaseLevel2 - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->waittimeAutomaticVulnerabilityIncreaseLevel3 - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[12].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->opticalCode - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[13].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModel - (char *)sample);
SendParticipantConfigurationRequest_g_memberAccessInfos[14].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->validTimeOps - (char *)sample);
SendParticipantConfigurationRequest_g_sampleAccessInfo.memberAccessInfos =
SendParticipantConfigurationRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendParticipantConfigurationRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendParticipantConfigurationRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendParticipantConfigurationRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendParticipantConfigurationRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendParticipantConfigurationRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendParticipantConfigurationRequest >;
SendParticipantConfigurationRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendParticipantConfigurationRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendParticipantConfigurationRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendParticipantConfigurationRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendParticipantConfigurationRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendParticipantConfigurationRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendParticipantModeRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendParticipantModeRequest_g_tc_members[13]=
{
{
(char *)"requestId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"language",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"operationMode",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reactivationDetoxication",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reactivationMaintenance",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reactivationMedic",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"protectionModeVest",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"protectionModeHelmet",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"personellProtection",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"protectionLevel",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"handgrenadeSearchMode",/* Member name */
{
12,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"internationalMode",/* Member name */
{
13,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"abcProtectionMode",/* Member name */
{
14,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendParticipantModeRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendParticipantModeRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
13, /* Number of members */
SendParticipantModeRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendParticipantModeRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendParticipantModeRequest_g_tc;
}
SendParticipantModeRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendParticipantModeRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantModeRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::LanguageConfiguration>::get().native();
SendParticipantModeRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::OperationMode>::get().native();
SendParticipantModeRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantModeRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantModeRequest_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendParticipantModeRequest_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::WphMode>::get().native();
SendParticipantModeRequest_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::WphMode>::get().native();
SendParticipantModeRequest_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::PersonalProtection>::get().native();
SendParticipantModeRequest_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::ProtectionLevel>::get().native();
SendParticipantModeRequest_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::HandgrenadeSearchMode>::get().native();
SendParticipantModeRequest_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::InternationalMode>::get().native();
SendParticipantModeRequest_g_tc_members[12]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::ABCProtectionMode>::get().native();
/* Initialize the values for member annotations. */
SendParticipantModeRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendParticipantModeRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantModeRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantModeRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[1]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
SendParticipantModeRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantModeRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantModeRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
SendParticipantModeRequest_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantModeRequest_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantModeRequest_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
SendParticipantModeRequest_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantModeRequest_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantModeRequest_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantModeRequest_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[6]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[7]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[7]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[8]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[9]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[9]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[10]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[10]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[11]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc_members[12]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendParticipantModeRequest_g_tc_members[12]._annotations._defaultValue._u.enumerated_value = 0;
SendParticipantModeRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendParticipantModeRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendParticipantModeRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendParticipantModeRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendParticipantModeRequest *sample;
static RTIXCdrMemberAccessInfo SendParticipantModeRequest_g_memberAccessInfos[13] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendParticipantModeRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendParticipantModeRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendParticipantModeRequest);
if (sample == NULL) {
return NULL;
}
SendParticipantModeRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->language - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->operationMode - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reactivationDetoxication - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reactivationMaintenance - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reactivationMedic - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->protectionModeVest - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->protectionModeHelmet - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->personellProtection - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->protectionLevel - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->handgrenadeSearchMode - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->internationalMode - (char *)sample);
SendParticipantModeRequest_g_memberAccessInfos[12].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->abcProtectionMode - (char *)sample);
SendParticipantModeRequest_g_sampleAccessInfo.memberAccessInfos =
SendParticipantModeRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendParticipantModeRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendParticipantModeRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendParticipantModeRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendParticipantModeRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendParticipantModeRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendParticipantModeRequest >;
SendParticipantModeRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendParticipantModeRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendParticipantModeRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendParticipantModeRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendParticipantModeRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendParticipantModeRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendParticipantSwVerionsRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendParticipantSwVerionsRequest_g_tc_members[1]=
{
{
(char *)"equipmentFunctionId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendParticipantSwVerionsRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendParticipantSwVerionsRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendParticipantSwVerionsRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendParticipantSwVerionsRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendParticipantSwVerionsRequest_g_tc;
}
SendParticipantSwVerionsRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendParticipantSwVerionsRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendParticipantSwVerionsRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendParticipantSwVerionsRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendParticipantSwVerionsRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendParticipantSwVerionsRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendParticipantSwVerionsRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendParticipantSwVerionsRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendParticipantSwVerionsRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendParticipantSwVerionsRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendParticipantSwVerionsRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendParticipantSwVerionsRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendParticipantSwVerionsRequest *sample;
static RTIXCdrMemberAccessInfo SendParticipantSwVerionsRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendParticipantSwVerionsRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendParticipantSwVerionsRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendParticipantSwVerionsRequest);
if (sample == NULL) {
return NULL;
}
SendParticipantSwVerionsRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->equipmentFunctionId - (char *)sample);
SendParticipantSwVerionsRequest_g_sampleAccessInfo.memberAccessInfos =
SendParticipantSwVerionsRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendParticipantSwVerionsRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendParticipantSwVerionsRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendParticipantSwVerionsRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendParticipantSwVerionsRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendParticipantSwVerionsRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendParticipantSwVerionsRequest >;
SendParticipantSwVerionsRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendParticipantSwVerionsRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendParticipantSwVerionsRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendParticipantSwVerionsRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendParticipantSwVerionsRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendParticipantSwVerionsRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendResetAllDusMinesRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendResetAllDusMinesRequest_g_tc_members[1]=
{
{
(char *)"id",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendResetAllDusMinesRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendResetAllDusMinesRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendResetAllDusMinesRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendResetAllDusMinesRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendResetAllDusMinesRequest_g_tc;
}
SendResetAllDusMinesRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendResetAllDusMinesRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendResetAllDusMinesRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendResetAllDusMinesRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendResetAllDusMinesRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendResetAllDusMinesRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendResetAllDusMinesRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendResetAllDusMinesRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendResetAllDusMinesRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendResetAllDusMinesRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendResetAllDusMinesRequest *sample;
static RTIXCdrMemberAccessInfo SendResetAllDusMinesRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendResetAllDusMinesRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendResetAllDusMinesRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendResetAllDusMinesRequest);
if (sample == NULL) {
return NULL;
}
SendResetAllDusMinesRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->id - (char *)sample);
SendResetAllDusMinesRequest_g_sampleAccessInfo.memberAccessInfos =
SendResetAllDusMinesRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendResetAllDusMinesRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendResetAllDusMinesRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendResetAllDusMinesRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendResetAllDusMinesRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendResetAllDusMinesRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendResetAllDusMinesRequest >;
SendResetAllDusMinesRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendResetAllDusMinesRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendResetAllDusMinesRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendResetAllDusMinesRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendResetAllDusMinesRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendResetAllDusMinesRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendSelectiveReammunitionRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendSelectiveReammunitionRequest_g_tc_reammunition_sequence;
static DDS_TypeCode_Member SendSelectiveReammunitionRequest_g_tc_members[3]=
{
{
(char *)"requestId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"gearId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"reammunition",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendSelectiveReammunitionRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendSelectiveReammunitionRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
SendSelectiveReammunitionRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendSelectiveReammunitionRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendSelectiveReammunitionRequest_g_tc;
}
SendSelectiveReammunitionRequest_g_tc_reammunition_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::TrainingAreaBase::Reammunition > >(RTIXCdrLong_MAX);
SendSelectiveReammunitionRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendSelectiveReammunitionRequest_g_tc_reammunition_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Reammunition>::get().native();
SendSelectiveReammunitionRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSelectiveReammunitionRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSelectiveReammunitionRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)& SendSelectiveReammunitionRequest_g_tc_reammunition_sequence;
/* Initialize the values for member annotations. */
SendSelectiveReammunitionRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSelectiveReammunitionRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendSelectiveReammunitionRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSelectiveReammunitionRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSelectiveReammunitionRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSelectiveReammunitionRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSelectiveReammunitionRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSelectiveReammunitionRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendSelectiveReammunitionRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSelectiveReammunitionRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSelectiveReammunitionRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSelectiveReammunitionRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSelectiveReammunitionRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendSelectiveReammunitionRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendSelectiveReammunitionRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendSelectiveReammunitionRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendSelectiveReammunitionRequest *sample;
static RTIXCdrMemberAccessInfo SendSelectiveReammunitionRequest_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendSelectiveReammunitionRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendSelectiveReammunitionRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendSelectiveReammunitionRequest);
if (sample == NULL) {
return NULL;
}
SendSelectiveReammunitionRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendSelectiveReammunitionRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->gearId - (char *)sample);
SendSelectiveReammunitionRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->reammunition - (char *)sample);
SendSelectiveReammunitionRequest_g_sampleAccessInfo.memberAccessInfos =
SendSelectiveReammunitionRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendSelectiveReammunitionRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendSelectiveReammunitionRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendSelectiveReammunitionRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendSelectiveReammunitionRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendSelectiveReammunitionRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendSelectiveReammunitionRequest >;
SendSelectiveReammunitionRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendSelectiveReammunitionRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendSelectiveReammunitionRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendSelectiveReammunitionRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendSelectiveReammunitionRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendSelectiveReammunitionRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendSetSanitationRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendSetSanitationRequest_g_tc_members[4]=
{
{
(char *)"requestId",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"originatorEquipmentNumber",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"qualification",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"sanitationProceduresTaken",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendSetSanitationRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendSetSanitationRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
SendSetSanitationRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendSetSanitationRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendSetSanitationRequest_g_tc;
}
SendSetSanitationRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendSetSanitationRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSetSanitationRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSetSanitationRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Qualification>::get().native();
SendSetSanitationRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
/* Initialize the values for member annotations. */
SendSetSanitationRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSetSanitationRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendSetSanitationRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSetSanitationRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSetSanitationRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSetSanitationRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSetSanitationRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSetSanitationRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendSetSanitationRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSetSanitationRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSetSanitationRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSetSanitationRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSetSanitationRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SendSetSanitationRequest_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 0;
SendSetSanitationRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
SendSetSanitationRequest_g_tc_members[3]._annotations._defaultValue._u.long_long_value = 0ll;
SendSetSanitationRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
SendSetSanitationRequest_g_tc_members[3]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
SendSetSanitationRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
SendSetSanitationRequest_g_tc_members[3]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
SendSetSanitationRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendSetSanitationRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendSetSanitationRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendSetSanitationRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendSetSanitationRequest *sample;
static RTIXCdrMemberAccessInfo SendSetSanitationRequest_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendSetSanitationRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendSetSanitationRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendSetSanitationRequest);
if (sample == NULL) {
return NULL;
}
SendSetSanitationRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->requestId - (char *)sample);
SendSetSanitationRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->originatorEquipmentNumber - (char *)sample);
SendSetSanitationRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->qualification - (char *)sample);
SendSetSanitationRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->sanitationProceduresTaken - (char *)sample);
SendSetSanitationRequest_g_sampleAccessInfo.memberAccessInfos =
SendSetSanitationRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendSetSanitationRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendSetSanitationRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendSetSanitationRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendSetSanitationRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendSetSanitationRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendSetSanitationRequest >;
SendSetSanitationRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendSetSanitationRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendSetSanitationRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendSetSanitationRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendSetSanitationRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendSetSanitationRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendSetVulnerabilityModelRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SendSetVulnerabilityModelRequest_g_tc_members[4]=
{
{
(char *)"vulnerabilityModelMineIed",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelAreaFire",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelOperationalResource",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"vulnerabilityModelACWeaponry",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendSetVulnerabilityModelRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendSetVulnerabilityModelRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
4, /* Number of members */
SendSetVulnerabilityModelRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendSetVulnerabilityModelRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendSetVulnerabilityModelRequest_g_tc;
}
SendSetVulnerabilityModelRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendSetVulnerabilityModelRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSetVulnerabilityModelRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSetVulnerabilityModelRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendSetVulnerabilityModelRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SendSetVulnerabilityModelRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendSetVulnerabilityModelRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSetVulnerabilityModelRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSetVulnerabilityModelRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendSetVulnerabilityModelRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSetVulnerabilityModelRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSetVulnerabilityModelRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendSetVulnerabilityModelRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSetVulnerabilityModelRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSetVulnerabilityModelRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
SendSetVulnerabilityModelRequest_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendSetVulnerabilityModelRequest_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendSetVulnerabilityModelRequest_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendSetVulnerabilityModelRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendSetVulnerabilityModelRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendSetVulnerabilityModelRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendSetVulnerabilityModelRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendSetVulnerabilityModelRequest *sample;
static RTIXCdrMemberAccessInfo SendSetVulnerabilityModelRequest_g_memberAccessInfos[4] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendSetVulnerabilityModelRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendSetVulnerabilityModelRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendSetVulnerabilityModelRequest);
if (sample == NULL) {
return NULL;
}
SendSetVulnerabilityModelRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelMineIed - (char *)sample);
SendSetVulnerabilityModelRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelAreaFire - (char *)sample);
SendSetVulnerabilityModelRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelOperationalResource - (char *)sample);
SendSetVulnerabilityModelRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->vulnerabilityModelACWeaponry - (char *)sample);
SendSetVulnerabilityModelRequest_g_sampleAccessInfo.memberAccessInfos =
SendSetVulnerabilityModelRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendSetVulnerabilityModelRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendSetVulnerabilityModelRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendSetVulnerabilityModelRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendSetVulnerabilityModelRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendSetVulnerabilityModelRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >;
SendSetVulnerabilityModelRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendSetVulnerabilityModelRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendSetVulnerabilityModelRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendSetVulnerabilityModelRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendTargetDataRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendTargetDataRequest_g_tc_payload_sequence;
static DDS_TypeCode_Member SendTargetDataRequest_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendTargetDataRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendTargetDataRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
SendTargetDataRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendTargetDataRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendTargetDataRequest_g_tc;
}
SendTargetDataRequest_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
SendTargetDataRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendTargetDataRequest_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
SendTargetDataRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& SendTargetDataRequest_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
SendTargetDataRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendTargetDataRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendTargetDataRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendTargetDataRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendTargetDataRequest *sample;
static RTIXCdrMemberAccessInfo SendTargetDataRequest_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendTargetDataRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendTargetDataRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendTargetDataRequest);
if (sample == NULL) {
return NULL;
}
SendTargetDataRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
SendTargetDataRequest_g_sampleAccessInfo.memberAccessInfos =
SendTargetDataRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendTargetDataRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendTargetDataRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendTargetDataRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendTargetDataRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendTargetDataRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendTargetDataRequest >;
SendTargetDataRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendTargetDataRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendTargetDataRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendTargetDataRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendTargetDataRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendTargetDataRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SendUasWaypointRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode SendUasWaypointRequest_g_tc_name_string;
static DDS_TypeCode SendUasWaypointRequest_g_tc_properties_string;
static DDS_TypeCode_Member SendUasWaypointRequest_g_tc_members[5]=
{
{
(char *)"actionNumber",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"itemNumber",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"planId",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"name",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"properties",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SendUasWaypointRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SendUasWaypointRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
5, /* Number of members */
SendUasWaypointRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SendUasWaypointRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SendUasWaypointRequest_g_tc;
}
SendUasWaypointRequest_g_tc_name_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendUasWaypointRequest_g_tc_properties_string = initialize_string_typecode(RTIXCdrLong_MAX);
SendUasWaypointRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SendUasWaypointRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendUasWaypointRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendUasWaypointRequest_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
SendUasWaypointRequest_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&SendUasWaypointRequest_g_tc_name_string;
SendUasWaypointRequest_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&SendUasWaypointRequest_g_tc_properties_string;
/* Initialize the values for member annotations. */
SendUasWaypointRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
SendUasWaypointRequest_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendUasWaypointRequest_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendUasWaypointRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SendUasWaypointRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendUasWaypointRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendUasWaypointRequest_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
SendUasWaypointRequest_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SendUasWaypointRequest_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SendUasWaypointRequest_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SendUasWaypointRequest_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendUasWaypointRequest_g_tc_members[3]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendUasWaypointRequest_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
SendUasWaypointRequest_g_tc_members[4]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
SendUasWaypointRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SendUasWaypointRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SendUasWaypointRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SendUasWaypointRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SendUasWaypointRequest *sample;
static RTIXCdrMemberAccessInfo SendUasWaypointRequest_g_memberAccessInfos[5] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SendUasWaypointRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SendUasWaypointRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SendUasWaypointRequest);
if (sample == NULL) {
return NULL;
}
SendUasWaypointRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->actionNumber - (char *)sample);
SendUasWaypointRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->itemNumber - (char *)sample);
SendUasWaypointRequest_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->planId - (char *)sample);
SendUasWaypointRequest_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->name - (char *)sample);
SendUasWaypointRequest_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->properties - (char *)sample);
SendUasWaypointRequest_g_sampleAccessInfo.memberAccessInfos =
SendUasWaypointRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SendUasWaypointRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SendUasWaypointRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SendUasWaypointRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SendUasWaypointRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SendUasWaypointRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SendUasWaypointRequest >;
SendUasWaypointRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SendUasWaypointRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SendUasWaypointRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SendUasWaypointRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SendUasWaypointRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SendUasWaypointRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::ServiceControl > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member ServiceControl_g_tc_members[1]=
{
{
(char *)"serviceControlState",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode ServiceControl_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::ServiceControl", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
ServiceControl_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for ServiceControl*/
if (is_initialized.load(std::memory_order_acquire)) {
return &ServiceControl_g_tc;
}
ServiceControl_g_tc._data._annotations._allowedDataRepresentationMask = 5;
ServiceControl_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::ServiceControlEnum>::get().native();
/* Initialize the values for member annotations. */
ServiceControl_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
ServiceControl_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
ServiceControl_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
ServiceControl_g_tc._data._sampleAccessInfo = sample_access_info();
ServiceControl_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &ServiceControl_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::ServiceControl *sample;
static RTIXCdrMemberAccessInfo ServiceControl_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo ServiceControl_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &ServiceControl_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::ServiceControl);
if (sample == NULL) {
return NULL;
}
ServiceControl_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->serviceControlState - (char *)sample);
ServiceControl_g_sampleAccessInfo.memberAccessInfos =
ServiceControl_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::ServiceControl);
if (candidateTypeSize > RTIXCdrLong_MAX) {
ServiceControl_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
ServiceControl_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
ServiceControl_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
ServiceControl_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::ServiceControl >;
ServiceControl_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &ServiceControl_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin ServiceControl_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &ServiceControl_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::ServiceControl >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::ServiceControl >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SetDevicePowerRequest > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SetDevicePowerRequest_g_tc_members[2]=
{
{
(char *)"powerType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"subdeviceId",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SetDevicePowerRequest_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SetDevicePowerRequest", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
SetDevicePowerRequest_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SetDevicePowerRequest*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SetDevicePowerRequest_g_tc;
}
SetDevicePowerRequest_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SetDevicePowerRequest_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::PowerMethod>::get().native();
SetDevicePowerRequest_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SetDevicePowerRequest_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
SetDevicePowerRequest_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
SetDevicePowerRequest_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SetDevicePowerRequest_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SetDevicePowerRequest_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SetDevicePowerRequest_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SetDevicePowerRequest_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SetDevicePowerRequest_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SetDevicePowerRequest_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::FtEquipmentBase >::get().native(); /* Base class */
SetDevicePowerRequest_g_tc._data._sampleAccessInfo = sample_access_info();
SetDevicePowerRequest_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SetDevicePowerRequest_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SetDevicePowerRequest *sample;
static RTIXCdrMemberAccessInfo SetDevicePowerRequest_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SetDevicePowerRequest_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SetDevicePowerRequest_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SetDevicePowerRequest);
if (sample == NULL) {
return NULL;
}
SetDevicePowerRequest_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->powerType - (char *)sample);
SetDevicePowerRequest_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->subdeviceId - (char *)sample);
SetDevicePowerRequest_g_sampleAccessInfo.memberAccessInfos =
SetDevicePowerRequest_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SetDevicePowerRequest);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SetDevicePowerRequest_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SetDevicePowerRequest_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SetDevicePowerRequest_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SetDevicePowerRequest_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SetDevicePowerRequest >;
SetDevicePowerRequest_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SetDevicePowerRequest_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SetDevicePowerRequest_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SetDevicePowerRequest_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SetDevicePowerRequest >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SetDevicePowerRequest >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::SpecialSensorData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member SpecialSensorData_g_tc_members[2]=
{
{
(char *)"position",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_NONKEY_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"operationalState",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode SpecialSensorData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::SpecialSensorData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
2, /* Number of members */
SpecialSensorData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for SpecialSensorData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &SpecialSensorData_g_tc;
}
SpecialSensorData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
SpecialSensorData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition2D>::get().native();
SpecialSensorData_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
SpecialSensorData_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
SpecialSensorData_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
SpecialSensorData_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
SpecialSensorData_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
SpecialSensorData_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
SpecialSensorData_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
SpecialSensorData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
SpecialSensorData_g_tc._data._sampleAccessInfo = sample_access_info();
SpecialSensorData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &SpecialSensorData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::SpecialSensorData *sample;
static RTIXCdrMemberAccessInfo SpecialSensorData_g_memberAccessInfos[2] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo SpecialSensorData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &SpecialSensorData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::SpecialSensorData);
if (sample == NULL) {
return NULL;
}
SpecialSensorData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->position - (char *)sample);
SpecialSensorData_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->operationalState - (char *)sample);
SpecialSensorData_g_sampleAccessInfo.memberAccessInfos =
SpecialSensorData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::SpecialSensorData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
SpecialSensorData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
SpecialSensorData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
SpecialSensorData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
SpecialSensorData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::SpecialSensorData >;
SpecialSensorData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &SpecialSensorData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin SpecialSensorData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &SpecialSensorData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::SpecialSensorData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::SpecialSensorData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::StateIed > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member StateIed_g_tc_members[5]=
{
{
(char *)"batteryWarnings",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"errorStateElectronics",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"errorStatePyrotechnics1",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"errorStatePyrotechnics2",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"errorStatePyrotechnics3",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode StateIed_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::StateIed", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
5, /* Number of members */
StateIed_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for StateIed*/
if (is_initialized.load(std::memory_order_acquire)) {
return &StateIed_g_tc;
}
StateIed_g_tc._data._annotations._allowedDataRepresentationMask = 5;
StateIed_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
StateIed_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
StateIed_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
StateIed_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
StateIed_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
StateIed_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[0]._annotations._defaultValue._u.long_value = 0;
StateIed_g_tc_members[0]._annotations._minValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[0]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
StateIed_g_tc_members[0]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[0]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
StateIed_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[1]._annotations._defaultValue._u.long_value = 0;
StateIed_g_tc_members[1]._annotations._minValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[1]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
StateIed_g_tc_members[1]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[1]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
StateIed_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[2]._annotations._defaultValue._u.long_value = 0;
StateIed_g_tc_members[2]._annotations._minValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[2]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
StateIed_g_tc_members[2]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[2]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
StateIed_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
StateIed_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
StateIed_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
StateIed_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
StateIed_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
StateIed_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
StateIed_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
StateIed_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::IedBaseData >::get().native(); /* Base class */
StateIed_g_tc._data._sampleAccessInfo = sample_access_info();
StateIed_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &StateIed_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::StateIed *sample;
static RTIXCdrMemberAccessInfo StateIed_g_memberAccessInfos[5] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo StateIed_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &StateIed_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::StateIed);
if (sample == NULL) {
return NULL;
}
StateIed_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->batteryWarnings - (char *)sample);
StateIed_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->errorStateElectronics - (char *)sample);
StateIed_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->errorStatePyrotechnics1 - (char *)sample);
StateIed_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->errorStatePyrotechnics2 - (char *)sample);
StateIed_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->errorStatePyrotechnics3 - (char *)sample);
StateIed_g_sampleAccessInfo.memberAccessInfos =
StateIed_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::StateIed);
if (candidateTypeSize > RTIXCdrLong_MAX) {
StateIed_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
StateIed_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
StateIed_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
StateIed_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::StateIed >;
StateIed_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &StateIed_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin StateIed_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &StateIed_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::StateIed >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::StateIed >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::TargetData > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode TargetData_g_tc_payload_sequence;
static DDS_TypeCode_Member TargetData_g_tc_members[1]=
{
{
(char *)"payload",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode TargetData_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::TargetData", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
TargetData_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for TargetData*/
if (is_initialized.load(std::memory_order_acquire)) {
return &TargetData_g_tc;
}
TargetData_g_tc_payload_sequence = initialize_sequence_typecode< ::omg::types::sequence< uint8_t > >(RTIXCdrLong_MAX);
TargetData_g_tc._data._annotations._allowedDataRepresentationMask = 5;
TargetData_g_tc_payload_sequence._data._typeCode = (RTICdrTypeCode *)&DDS_g_tc_octet;
TargetData_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)& TargetData_g_tc_payload_sequence;
/* Initialize the values for member annotations. */
TargetData_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
TargetData_g_tc._data._sampleAccessInfo = sample_access_info();
TargetData_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &TargetData_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::TargetData *sample;
static RTIXCdrMemberAccessInfo TargetData_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo TargetData_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &TargetData_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::TargetData);
if (sample == NULL) {
return NULL;
}
TargetData_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->payload - (char *)sample);
TargetData_g_sampleAccessInfo.memberAccessInfos =
TargetData_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::TargetData);
if (candidateTypeSize > RTIXCdrLong_MAX) {
TargetData_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
TargetData_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
TargetData_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
TargetData_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::TargetData >;
TargetData_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &TargetData_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin TargetData_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &TargetData_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::TargetData >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::TargetData >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::TrajectoryAdler > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode TrajectoryAdler_g_tc_geometry_sequence;
static DDS_TypeCode_Member TrajectoryAdler_g_tc_members[12]=
{
{
(char *)"trajectoryError",/* Member name */
{
0,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"positionTarget",/* Member name */
{
1,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"weaponSystemType",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"flightTime",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"peakHeight",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"firingDirection",/* Member name */
{
5,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"dropAngle",/* Member name */
{
6,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"geometry",/* Member name */
{
7,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"trajectoryStartTime",/* Member name */
{
8,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"dispersion",/* Member name */
{
9,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"trajectory",/* Member name */
{
10,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"partyId",/* Member name */
{
11,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode TrajectoryAdler_g_tc =
{{
DDS_TK_STRUCT, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::TrajectoryAdler", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
12, /* Number of members */
TrajectoryAdler_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for TrajectoryAdler*/
if (is_initialized.load(std::memory_order_acquire)) {
return &TrajectoryAdler_g_tc;
}
TrajectoryAdler_g_tc_geometry_sequence = initialize_sequence_typecode< ::omg::types::sequence< ::Core::GeoPositionRelativeTime > >(RTIXCdrLong_MAX);
TrajectoryAdler_g_tc._data._annotations._allowedDataRepresentationMask = 5;
TrajectoryAdler_g_tc_geometry_sequence._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPositionRelativeTime>::get().native();
TrajectoryAdler_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TrajectoryError>::get().native();
TrajectoryAdler_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::Core::GeoPosition>::get().native();
TrajectoryAdler_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::WeaponSystemType>::get().native();
TrajectoryAdler_g_tc_members[3]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryAdler_g_tc_members[4]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryAdler_g_tc_members[5]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
TrajectoryAdler_g_tc_members[6]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_double;
TrajectoryAdler_g_tc_members[7]._representation._typeCode = (RTICdrTypeCode *)& TrajectoryAdler_g_tc_geometry_sequence;
TrajectoryAdler_g_tc_members[8]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_longlong;
TrajectoryAdler_g_tc_members[9]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::Dispersion>::get().native();
TrajectoryAdler_g_tc_members[10]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::TrajectoryCalculationData>::get().native();
TrajectoryAdler_g_tc_members[11]._representation._typeCode = (RTICdrTypeCode *)&DDS_g_tc_long;
/* Initialize the values for member annotations. */
TrajectoryAdler_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
TrajectoryAdler_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
TrajectoryAdler_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
TrajectoryAdler_g_tc_members[2]._annotations._defaultValue._u.enumerated_value = 0;
TrajectoryAdler_g_tc_members[3]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[3]._annotations._defaultValue._u.long_value = 0;
TrajectoryAdler_g_tc_members[3]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[3]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryAdler_g_tc_members[3]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[3]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryAdler_g_tc_members[4]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[4]._annotations._defaultValue._u.long_value = 0;
TrajectoryAdler_g_tc_members[4]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[4]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryAdler_g_tc_members[4]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[4]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryAdler_g_tc_members[5]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[5]._annotations._defaultValue._u.long_value = 0;
TrajectoryAdler_g_tc_members[5]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[5]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryAdler_g_tc_members[5]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[5]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryAdler_g_tc_members[6]._annotations._defaultValue._d = RTI_XCDR_TK_DOUBLE;
TrajectoryAdler_g_tc_members[6]._annotations._defaultValue._u.double_value = 0.0;
TrajectoryAdler_g_tc_members[6]._annotations._minValue._d = RTI_XCDR_TK_DOUBLE;
TrajectoryAdler_g_tc_members[6]._annotations._minValue._u.double_value = RTIXCdrDouble_MIN;
TrajectoryAdler_g_tc_members[6]._annotations._maxValue._d = RTI_XCDR_TK_DOUBLE;
TrajectoryAdler_g_tc_members[6]._annotations._maxValue._u.double_value = RTIXCdrDouble_MAX;
TrajectoryAdler_g_tc_members[8]._annotations._defaultValue._d = RTI_XCDR_TK_LONGLONG;
TrajectoryAdler_g_tc_members[8]._annotations._defaultValue._u.long_long_value = 0ll;
TrajectoryAdler_g_tc_members[8]._annotations._minValue._d = RTI_XCDR_TK_LONGLONG;
TrajectoryAdler_g_tc_members[8]._annotations._minValue._u.long_long_value = RTIXCdrLongLong_MIN;
TrajectoryAdler_g_tc_members[8]._annotations._maxValue._d = RTI_XCDR_TK_LONGLONG;
TrajectoryAdler_g_tc_members[8]._annotations._maxValue._u.long_long_value = RTIXCdrLongLong_MAX;
TrajectoryAdler_g_tc_members[11]._annotations._defaultValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[11]._annotations._defaultValue._u.long_value = 0;
TrajectoryAdler_g_tc_members[11]._annotations._minValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[11]._annotations._minValue._u.long_value = RTIXCdrLong_MIN;
TrajectoryAdler_g_tc_members[11]._annotations._maxValue._d = RTI_XCDR_TK_LONG;
TrajectoryAdler_g_tc_members[11]._annotations._maxValue._u.long_value = RTIXCdrLong_MAX;
TrajectoryAdler_g_tc._data._sampleAccessInfo = sample_access_info();
TrajectoryAdler_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &TrajectoryAdler_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::TrajectoryAdler *sample;
static RTIXCdrMemberAccessInfo TrajectoryAdler_g_memberAccessInfos[12] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo TrajectoryAdler_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &TrajectoryAdler_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::TrajectoryAdler);
if (sample == NULL) {
return NULL;
}
TrajectoryAdler_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->trajectoryError - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->positionTarget - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->weaponSystemType - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[3].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->flightTime - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[4].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->peakHeight - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[5].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->firingDirection - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[6].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->dropAngle - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[7].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->geometry - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[8].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->trajectoryStartTime - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[9].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->dispersion - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[10].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->trajectory - (char *)sample);
TrajectoryAdler_g_memberAccessInfos[11].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->partyId - (char *)sample);
TrajectoryAdler_g_sampleAccessInfo.memberAccessInfos =
TrajectoryAdler_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::TrajectoryAdler);
if (candidateTypeSize > RTIXCdrLong_MAX) {
TrajectoryAdler_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
TrajectoryAdler_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
TrajectoryAdler_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
TrajectoryAdler_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::TrajectoryAdler >;
TrajectoryAdler_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &TrajectoryAdler_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin TrajectoryAdler_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &TrajectoryAdler_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::TrajectoryAdler >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::TrajectoryAdler >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::UASMissionStatus > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode UASMissionStatus_g_tc_currentMissionName_string;
static DDS_TypeCode UASMissionStatus_g_tc_missionEnded_string;
static DDS_TypeCode_Member UASMissionStatus_g_tc_members[3]=
{
{
(char *)"currentTask",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"currentMissionName",/* Member name */
{
3,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
},
{
(char *)"missionEnded",/* Member name */
{
4,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode UASMissionStatus_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::UASMissionStatus", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
3, /* Number of members */
UASMissionStatus_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for UASMissionStatus*/
if (is_initialized.load(std::memory_order_acquire)) {
return &UASMissionStatus_g_tc;
}
UASMissionStatus_g_tc_currentMissionName_string = initialize_string_typecode(RTIXCdrLong_MAX);
UASMissionStatus_g_tc_missionEnded_string = initialize_string_typecode(RTIXCdrLong_MAX);
UASMissionStatus_g_tc._data._annotations._allowedDataRepresentationMask = 5;
UASMissionStatus_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::UasActionTask>::get().native();
UASMissionStatus_g_tc_members[1]._representation._typeCode = (RTICdrTypeCode *)&UASMissionStatus_g_tc_currentMissionName_string;
UASMissionStatus_g_tc_members[2]._representation._typeCode = (RTICdrTypeCode *)&UASMissionStatus_g_tc_missionEnded_string;
/* Initialize the values for member annotations. */
UASMissionStatus_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
UASMissionStatus_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
UASMissionStatus_g_tc_members[1]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
UASMissionStatus_g_tc_members[1]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
UASMissionStatus_g_tc_members[2]._annotations._defaultValue._d = RTI_XCDR_TK_STRING;
UASMissionStatus_g_tc_members[2]._annotations._defaultValue._u.string_value = (DDS_Char *) "";
UASMissionStatus_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
UASMissionStatus_g_tc._data._sampleAccessInfo = sample_access_info();
UASMissionStatus_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &UASMissionStatus_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::UASMissionStatus *sample;
static RTIXCdrMemberAccessInfo UASMissionStatus_g_memberAccessInfos[3] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo UASMissionStatus_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &UASMissionStatus_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::UASMissionStatus);
if (sample == NULL) {
return NULL;
}
UASMissionStatus_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->currentTask - (char *)sample);
UASMissionStatus_g_memberAccessInfos[1].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->currentMissionName - (char *)sample);
UASMissionStatus_g_memberAccessInfos[2].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->missionEnded - (char *)sample);
UASMissionStatus_g_sampleAccessInfo.memberAccessInfos =
UASMissionStatus_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::UASMissionStatus);
if (candidateTypeSize > RTIXCdrLong_MAX) {
UASMissionStatus_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
UASMissionStatus_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
UASMissionStatus_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
UASMissionStatus_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::UASMissionStatus >;
UASMissionStatus_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &UASMissionStatus_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin UASMissionStatus_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &UASMissionStatus_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::UASMissionStatus >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::UASMissionStatus >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::UASRadioLinkConnectionState > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member UASRadioLinkConnectionState_g_tc_members[1]=
{
{
(char *)"connectionStatus",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode UASRadioLinkConnectionState_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::UASRadioLinkConnectionState", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
UASRadioLinkConnectionState_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for UASRadioLinkConnectionState*/
if (is_initialized.load(std::memory_order_acquire)) {
return &UASRadioLinkConnectionState_g_tc;
}
UASRadioLinkConnectionState_g_tc._data._annotations._allowedDataRepresentationMask = 5;
UASRadioLinkConnectionState_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::UasState>::get().native();
/* Initialize the values for member annotations. */
UASRadioLinkConnectionState_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
UASRadioLinkConnectionState_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
UASRadioLinkConnectionState_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
UASRadioLinkConnectionState_g_tc._data._sampleAccessInfo = sample_access_info();
UASRadioLinkConnectionState_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &UASRadioLinkConnectionState_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::UASRadioLinkConnectionState *sample;
static RTIXCdrMemberAccessInfo UASRadioLinkConnectionState_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo UASRadioLinkConnectionState_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &UASRadioLinkConnectionState_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::UASRadioLinkConnectionState);
if (sample == NULL) {
return NULL;
}
UASRadioLinkConnectionState_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->connectionStatus - (char *)sample);
UASRadioLinkConnectionState_g_sampleAccessInfo.memberAccessInfos =
UASRadioLinkConnectionState_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::UASRadioLinkConnectionState);
if (candidateTypeSize > RTIXCdrLong_MAX) {
UASRadioLinkConnectionState_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
UASRadioLinkConnectionState_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
UASRadioLinkConnectionState_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
UASRadioLinkConnectionState_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::UASRadioLinkConnectionState >;
UASRadioLinkConnectionState_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &UASRadioLinkConnectionState_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin UASRadioLinkConnectionState_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &UASRadioLinkConnectionState_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::UASRadioLinkConnectionState >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::UASRadioLinkConnectionState >::get())));
}
template<>
struct native_type_code< ::TrainingAreaBase::UASStatus > {
static DDS_TypeCode * get()
{
using namespace ::rti::topic::interpreter;
static std::atomic_bool is_initialized {false};
static DDS_TypeCode_Member UASStatus_g_tc_members[1]=
{
{
(char *)"uasState",/* Member name */
{
2,/* Representation ID */
DDS_BOOLEAN_FALSE,/* Is a pointer? */
-1, /* Bitfield bits */
NULL/* Member type code is assigned later */
},
0, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
RTI_CDR_REQUIRED_MEMBER, /* Is a key? */
DDS_PUBLIC_MEMBER,/* Member visibility */
RTICdrTypeCodeAnnotations_INITIALIZER
}
};
static DDS_TypeCode UASStatus_g_tc =
{{
DDS_TK_VALUE, /* Kind */
DDS_BOOLEAN_FALSE, /* Ignored */
-1, /*Ignored*/
(char *)"TrainingAreaBase::UASStatus", /* Name */
NULL, /* Ignored */
0, /* Ignored */
0, /* Ignored */
NULL, /* Ignored */
1, /* Number of members */
UASStatus_g_tc_members, /* Members */
DDS_VM_NONE, /* Ignored */
RTICdrTypeCodeAnnotations_INITIALIZER,
DDS_BOOLEAN_TRUE, /* _isCopyable */
NULL, /* _sampleAccessInfo: assigned later */
NULL /* _typePlugin: assigned later */
}}; /* Type code for UASStatus*/
if (is_initialized.load(std::memory_order_acquire)) {
return &UASStatus_g_tc;
}
UASStatus_g_tc._data._annotations._allowedDataRepresentationMask = 5;
UASStatus_g_tc_members[0]._representation._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::ProjectDataManagement::UasState>::get().native();
/* Initialize the values for member annotations. */
UASStatus_g_tc_members[0]._annotations._defaultValue._d = RTI_XCDR_TK_ENUM;
UASStatus_g_tc_members[0]._annotations._defaultValue._u.enumerated_value = 0;
UASStatus_g_tc._data._typeCode = (RTICdrTypeCode *)&::rti::topic::dynamic_type< ::TrainingAreaBase::EquipmentBase >::get().native(); /* Base class */
UASStatus_g_tc._data._sampleAccessInfo = sample_access_info();
UASStatus_g_tc._data._typePlugin = type_plugin_info();
is_initialized.store(true, std::memory_order_release);
return &UASStatus_g_tc;
}
static RTIXCdrSampleAccessInfo * sample_access_info()
{
static std::atomic_bool is_initialized {false};
::TrainingAreaBase::UASStatus *sample;
static RTIXCdrMemberAccessInfo UASStatus_g_memberAccessInfos[1] =
{RTIXCdrMemberAccessInfo_INITIALIZER};
static RTIXCdrSampleAccessInfo UASStatus_g_sampleAccessInfo =
RTIXCdrSampleAccessInfo_INITIALIZER;
if (is_initialized.load(std::memory_order_acquire)) {
return (RTIXCdrSampleAccessInfo*) &UASStatus_g_sampleAccessInfo;
}
RTIXCdrHeap_allocateStruct(
&sample,
::TrainingAreaBase::UASStatus);
if (sample == NULL) {
return NULL;
}
UASStatus_g_memberAccessInfos[0].bindingMemberValueOffset[0] =
(RTIXCdrUnsignedLong) ((char *)&sample->uasState - (char *)sample);
UASStatus_g_sampleAccessInfo.memberAccessInfos =
UASStatus_g_memberAccessInfos;
{
size_t candidateTypeSize = sizeof(::TrainingAreaBase::UASStatus);
if (candidateTypeSize > RTIXCdrLong_MAX) {
UASStatus_g_sampleAccessInfo.typeSize[0] =
RTIXCdrLong_MAX;
} else {
UASStatus_g_sampleAccessInfo.typeSize[0] =
(RTIXCdrUnsignedLong) candidateTypeSize;
}
}
UASStatus_g_sampleAccessInfo.useGetMemberValueOnlyWithRef =
RTI_XCDR_TRUE;
UASStatus_g_sampleAccessInfo.getMemberValuePointerFcn =
interpreter::get_aggregation_value_pointer< ::TrainingAreaBase::UASStatus >;
UASStatus_g_sampleAccessInfo.languageBinding =
RTI_XCDR_TYPE_BINDING_CPP_11_STL ;
RTIXCdrHeap_freeStruct(sample);
is_initialized.store(true, std::memory_order_release);
return (RTIXCdrSampleAccessInfo*) &UASStatus_g_sampleAccessInfo;
}
static RTIXCdrTypePlugin * type_plugin_info()
{
static RTIXCdrTypePlugin UASStatus_g_typePlugin =
{
NULL, /* serialize */
NULL, /* serialize_key */
NULL, /* deserialize_sample */
NULL, /* deserialize_key_sample */
NULL, /* skip */
NULL, /* get_serialized_sample_size */
NULL, /* get_serialized_sample_max_size_ex */
NULL, /* get_serialized_key_max_size_ex */
NULL, /* get_serialized_sample_min_size */
NULL, /* serialized_sample_to_key */
NULL,
NULL,
NULL,
NULL,
NULL
};
return &UASStatus_g_typePlugin;
}
}; // native_type_code
const ::dds::core::xtypes::StructType& dynamic_type< ::TrainingAreaBase::UASStatus >::get()
{
return static_cast<const ::dds::core::xtypes::StructType&>(
::rti::core::native_conversions::cast_from_native< ::dds::core::xtypes::DynamicType >(
*(native_type_code< ::TrainingAreaBase::UASStatus >::get())));
}
}
}
namespace dds {
namespace topic {
void topic_type_support< ::TrainingAreaBase::TrajectoryCalculationData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::TrajectoryCalculationDataPlugin_new,
::TrainingAreaBase::TrajectoryCalculationDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::TrajectoryCalculationData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::TrajectoryCalculationData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = TrajectoryCalculationDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = TrajectoryCalculationDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::TrajectoryCalculationData >::from_cdr_buffer(::TrainingAreaBase::TrajectoryCalculationData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = TrajectoryCalculationDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::TrajectoryCalculationData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::TrajectoryCalculationData >::reset_sample(::TrainingAreaBase::TrajectoryCalculationData& sample)
{
sample.chargeTypeId = 0;
sample.igniterTypeId = 0;
sample.igniterFunctionId = 0;
sample.loadTypeId = 0;
sample.loadNumber = 0;
sample.fuseTime = 0;
}
void topic_type_support< ::TrainingAreaBase::TrajectoryCalculationData >::allocate_sample(::TrainingAreaBase::TrajectoryCalculationData& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::AdlerCalculateTrajectoryRequestPlugin_new,
::TrainingAreaBase::AdlerCalculateTrajectoryRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::AdlerCalculateTrajectoryRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = AdlerCalculateTrajectoryRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = AdlerCalculateTrajectoryRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >::from_cdr_buffer(::TrainingAreaBase::AdlerCalculateTrajectoryRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = AdlerCalculateTrajectoryRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::AdlerCalculateTrajectoryRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >::reset_sample(::TrainingAreaBase::AdlerCalculateTrajectoryRequest& sample)
{
::rti::topic::reset_sample(sample.positionLaunch);
::rti::topic::reset_sample(sample.positionTarget);
;
sample.weaponSystemType = TrainingAreaBase::WeaponSystemType::PZH;
::rti::topic::reset_sample(sample.trajectory);
;
sample.angleGroup = ProjectDataManagement::L43_AngleGroup::Lower;
sample.explosionHeight = 0;
sample.partyId = 0;
sample.aesItemId = 0;
sample.explosionIndex = 0;
sample.properties = "";
}
void topic_type_support< ::TrainingAreaBase::AdlerCalculateTrajectoryRequest >::allocate_sample(::TrainingAreaBase::AdlerCalculateTrajectoryRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.positionLaunch, -1, -1);
::rti::topic::allocate_sample(sample.positionTarget, -1, -1);
::rti::topic::allocate_sample(sample.weaponSystemType, -1, -1);
::rti::topic::allocate_sample(sample.trajectory, -1, -1);
::rti::topic::allocate_sample(sample.angleGroup, -1, -1);
::rti::topic::allocate_sample(sample.properties, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::AdlerFqAfRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::AdlerFqAfRequestPlugin_new,
::TrainingAreaBase::AdlerFqAfRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::AdlerFqAfRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::AdlerFqAfRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = AdlerFqAfRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = AdlerFqAfRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::AdlerFqAfRequest >::from_cdr_buffer(::TrainingAreaBase::AdlerFqAfRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = AdlerFqAfRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::AdlerFqAfRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::AdlerFqAfRequest >::reset_sample(::TrainingAreaBase::AdlerFqAfRequest& sample)
{
sample.sampleTime = 0ll;
sample.aesItemId = 0;
}
void topic_type_support< ::TrainingAreaBase::AdlerFqAfRequest >::allocate_sample(::TrainingAreaBase::AdlerFqAfRequest& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::AdlerFqFbRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::AdlerFqFbRequestPlugin_new,
::TrainingAreaBase::AdlerFqFbRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::AdlerFqFbRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::AdlerFqFbRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = AdlerFqFbRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = AdlerFqFbRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::AdlerFqFbRequest >::from_cdr_buffer(::TrainingAreaBase::AdlerFqFbRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = AdlerFqFbRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::AdlerFqFbRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::AdlerFqFbRequest >::reset_sample(::TrainingAreaBase::AdlerFqFbRequest& sample)
{
sample.sampleTime = 0ll;
sample.aesItemId = 0;
}
void topic_type_support< ::TrainingAreaBase::AdlerFqFbRequest >::allocate_sample(::TrainingAreaBase::AdlerFqFbRequest& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::AdlerFqVmRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::AdlerFqVmRequestPlugin_new,
::TrainingAreaBase::AdlerFqVmRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::AdlerFqVmRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::AdlerFqVmRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = AdlerFqVmRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = AdlerFqVmRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::AdlerFqVmRequest >::from_cdr_buffer(::TrainingAreaBase::AdlerFqVmRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = AdlerFqVmRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::AdlerFqVmRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::AdlerFqVmRequest >::reset_sample(::TrainingAreaBase::AdlerFqVmRequest& sample)
{
sample.sampleTime = 0ll;
sample.aesItemId = 0;
}
void topic_type_support< ::TrainingAreaBase::AdlerFqVmRequest >::allocate_sample(::TrainingAreaBase::AdlerFqVmRequest& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EquipmentBase >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentBasePlugin_new,
::TrainingAreaBase::EquipmentBasePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentBase >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentBase& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentBasePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentBasePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentBase >::from_cdr_buffer(::TrainingAreaBase::EquipmentBase& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentBasePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentBase from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(::TrainingAreaBase::EquipmentBase& sample)
{
sample.equipmentNumber = 0;
sample.sampleTime = 0ll;
}
void topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(::TrainingAreaBase::EquipmentBase& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::BatteryAlarm >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::BatteryAlarmPlugin_new,
::TrainingAreaBase::BatteryAlarmPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::BatteryAlarm >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::BatteryAlarm& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = BatteryAlarmPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = BatteryAlarmPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::BatteryAlarm >::from_cdr_buffer(::TrainingAreaBase::BatteryAlarm& sample,
const std::vector<char>& buffer)
{
RTIBool ok = BatteryAlarmPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::BatteryAlarm from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::BatteryAlarm >::reset_sample(::TrainingAreaBase::BatteryAlarm& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.batteryPort = 0;
sample.description = "";
sample.acknowledge = 0;
sample.condition = 0;
sample.uniqueAlarmNumber = 0;
sample.alarmTime = 0ll;
}
void topic_type_support< ::TrainingAreaBase::BatteryAlarm >::allocate_sample(::TrainingAreaBase::BatteryAlarm& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.description, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::BatteryState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::BatteryStatePlugin_new,
::TrainingAreaBase::BatteryStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::BatteryState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::BatteryState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = BatteryStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = BatteryStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::BatteryState >::from_cdr_buffer(::TrainingAreaBase::BatteryState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = BatteryStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::BatteryState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::BatteryState >::reset_sample(::TrainingAreaBase::BatteryState& sample)
{
sample.batteryPort = 0;
sample.batteryPercent = 0;
sample.temperature = 0;
sample.frequency = 0;
sample.generic = 0.0;
sample.current = 0;
sample.switchOrValue = 0;
sample.voltage = 0;
sample.serialNumber = "";
}
void topic_type_support< ::TrainingAreaBase::BatteryState >::allocate_sample(::TrainingAreaBase::BatteryState& sample, int, int)
{
::rti::topic::allocate_sample(sample.serialNumber, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::BatteryInfo >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::BatteryInfoPlugin_new,
::TrainingAreaBase::BatteryInfoPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::BatteryInfo >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::BatteryInfo& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = BatteryInfoPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = BatteryInfoPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::BatteryInfo >::from_cdr_buffer(::TrainingAreaBase::BatteryInfo& sample,
const std::vector<char>& buffer)
{
RTIBool ok = BatteryInfoPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::BatteryInfo from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::BatteryInfo >::reset_sample(::TrainingAreaBase::BatteryInfo& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.batteryStates);
}
void topic_type_support< ::TrainingAreaBase::BatteryInfo >::allocate_sample(::TrainingAreaBase::BatteryInfo& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.batteryStates, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ConnectionState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ConnectionStatePlugin_new,
::TrainingAreaBase::ConnectionStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ConnectionState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ConnectionState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ConnectionStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ConnectionStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ConnectionState >::from_cdr_buffer(::TrainingAreaBase::ConnectionState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ConnectionStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ConnectionState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ConnectionState >::reset_sample(::TrainingAreaBase::ConnectionState& sample)
{
sample.name = "";
sample.state = 0;
}
void topic_type_support< ::TrainingAreaBase::ConnectionState >::allocate_sample(::TrainingAreaBase::ConnectionState& sample, int, int)
{
::rti::topic::allocate_sample(sample.name, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Connections >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ConnectionsPlugin_new,
::TrainingAreaBase::ConnectionsPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Connections >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Connections& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ConnectionsPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ConnectionsPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Connections >::from_cdr_buffer(::TrainingAreaBase::Connections& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ConnectionsPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Connections from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Connections >::reset_sample(::TrainingAreaBase::Connections& sample)
{
sample.id = 0;
::rti::topic::reset_sample(sample.connections);
}
void topic_type_support< ::TrainingAreaBase::Connections >::allocate_sample(::TrainingAreaBase::Connections& sample, int, int)
{
::rti::topic::allocate_sample(sample.connections, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::CtaDataError >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::CtaDataErrorPlugin_new,
::TrainingAreaBase::CtaDataErrorPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::CtaDataError >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::CtaDataError& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = CtaDataErrorPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = CtaDataErrorPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::CtaDataError >::from_cdr_buffer(::TrainingAreaBase::CtaDataError& sample,
const std::vector<char>& buffer)
{
RTIBool ok = CtaDataErrorPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::CtaDataError from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::CtaDataError >::reset_sample(::TrainingAreaBase::CtaDataError& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.reason = ProjectDataManagement::DataErrorReason::DataErrorReason_Unknown;
sample.originTelegramId = 0;
}
void topic_type_support< ::TrainingAreaBase::CtaDataError >::allocate_sample(::TrainingAreaBase::CtaDataError& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.reason, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::IedBaseData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::IedBaseDataPlugin_new,
::TrainingAreaBase::IedBaseDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::IedBaseData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::IedBaseData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = IedBaseDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = IedBaseDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::IedBaseData >::from_cdr_buffer(::TrainingAreaBase::IedBaseData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = IedBaseDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::IedBaseData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::IedBaseData >::reset_sample(::TrainingAreaBase::IedBaseData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.iedId = 0;
sample.tacticalState = 0;
sample.statePyrotechnics = 0;
}
void topic_type_support< ::TrainingAreaBase::IedBaseData >::allocate_sample(::TrainingAreaBase::IedBaseData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::DefinitionIed >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DefinitionIedPlugin_new,
::TrainingAreaBase::DefinitionIedPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DefinitionIed >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DefinitionIed& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DefinitionIedPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DefinitionIedPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DefinitionIed >::from_cdr_buffer(::TrainingAreaBase::DefinitionIed& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DefinitionIedPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DefinitionIed from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DefinitionIed >::reset_sample(::TrainingAreaBase::DefinitionIed& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::IedBaseData >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
sample.type = 0;
sample.remoteTrigger = 0;
sample.switchTrigger = 0;
sample.lightBarrierTrigger = 0;
sample.tautWireTrigger = 0;
sample.explosiveForce = 0;
sample.partyId = 0;
sample.pairingState = 0;
::rti::topic::reset_sample(sample.pairedId);
}
void topic_type_support< ::TrainingAreaBase::DefinitionIed >::allocate_sample(::TrainingAreaBase::DefinitionIed& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::IedBaseData >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::DemandBiteRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DemandBiteRequestPlugin_new,
::TrainingAreaBase::DemandBiteRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DemandBiteRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DemandBiteRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DemandBiteRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DemandBiteRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DemandBiteRequest >::from_cdr_buffer(::TrainingAreaBase::DemandBiteRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DemandBiteRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DemandBiteRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DemandBiteRequest >::reset_sample(::TrainingAreaBase::DemandBiteRequest& sample)
{
sample.requestId = 0;
::rti::topic::reset_sample(sample.equipmentNumbers);
sample.withSelfTest = 0;
}
void topic_type_support< ::TrainingAreaBase::DemandBiteRequest >::allocate_sample(::TrainingAreaBase::DemandBiteRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.equipmentNumbers, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::FtEquipmentBase >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::FtEquipmentBasePlugin_new,
::TrainingAreaBase::FtEquipmentBasePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::FtEquipmentBase& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = FtEquipmentBasePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = FtEquipmentBasePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::from_cdr_buffer(::TrainingAreaBase::FtEquipmentBase& sample,
const std::vector<char>& buffer)
{
RTIBool ok = FtEquipmentBasePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::FtEquipmentBase from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(::TrainingAreaBase::FtEquipmentBase& sample)
{
sample.equipmentNumber = 0;
sample.participantId = 0;
}
void topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(::TrainingAreaBase::FtEquipmentBase& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::DemandConfigurationReportRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DemandConfigurationReportRequestPlugin_new,
::TrainingAreaBase::DemandConfigurationReportRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DemandConfigurationReportRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DemandConfigurationReportRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DemandConfigurationReportRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DemandConfigurationReportRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DemandConfigurationReportRequest >::from_cdr_buffer(::TrainingAreaBase::DemandConfigurationReportRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DemandConfigurationReportRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DemandConfigurationReportRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DemandConfigurationReportRequest >::reset_sample(::TrainingAreaBase::DemandConfigurationReportRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.dummy = 0;
}
void topic_type_support< ::TrainingAreaBase::DemandConfigurationReportRequest >::allocate_sample(::TrainingAreaBase::DemandConfigurationReportRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::DemandInitRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DemandInitRequestPlugin_new,
::TrainingAreaBase::DemandInitRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DemandInitRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DemandInitRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DemandInitRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DemandInitRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DemandInitRequest >::from_cdr_buffer(::TrainingAreaBase::DemandInitRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DemandInitRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DemandInitRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DemandInitRequest >::reset_sample(::TrainingAreaBase::DemandInitRequest& sample)
{
sample.requestId = 0;
sample.workstationId = 0;
::rti::topic::reset_sample(sample.equipmentNumbers);
sample.restockCharges = 0;
sample.resetManipulation = 0;
sample.resetVulnerabilityState = 0;
sample.restockSanitationMaterial = 0;
}
void topic_type_support< ::TrainingAreaBase::DemandInitRequest >::allocate_sample(::TrainingAreaBase::DemandInitRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.equipmentNumbers, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantConfigurationRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DemandParticipantConfigurationRequestPlugin_new,
::TrainingAreaBase::DemandParticipantConfigurationRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DemandParticipantConfigurationRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DemandParticipantConfigurationRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DemandParticipantConfigurationRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DemandParticipantConfigurationRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantConfigurationRequest >::from_cdr_buffer(::TrainingAreaBase::DemandParticipantConfigurationRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DemandParticipantConfigurationRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DemandParticipantConfigurationRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantConfigurationRequest >::reset_sample(::TrainingAreaBase::DemandParticipantConfigurationRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.dummy = 0;
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantConfigurationRequest >::allocate_sample(::TrainingAreaBase::DemandParticipantConfigurationRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantModeRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DemandParticipantModeRequestPlugin_new,
::TrainingAreaBase::DemandParticipantModeRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DemandParticipantModeRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DemandParticipantModeRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DemandParticipantModeRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DemandParticipantModeRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantModeRequest >::from_cdr_buffer(::TrainingAreaBase::DemandParticipantModeRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DemandParticipantModeRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DemandParticipantModeRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantModeRequest >::reset_sample(::TrainingAreaBase::DemandParticipantModeRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.dummy = 0;
}
void topic_type_support< ::TrainingAreaBase::DemandParticipantModeRequest >::allocate_sample(::TrainingAreaBase::DemandParticipantModeRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DemandVulnerabilityStateChangeRequestPlugin_new,
::TrainingAreaBase::DemandVulnerabilityStateChangeRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DemandVulnerabilityStateChangeRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DemandVulnerabilityStateChangeRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >::from_cdr_buffer(::TrainingAreaBase::DemandVulnerabilityStateChangeRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DemandVulnerabilityStateChangeRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >::reset_sample(::TrainingAreaBase::DemandVulnerabilityStateChangeRequest& sample)
{
sample.requestId = 0;
sample.workstationId = 0;
::rti::topic::reset_sample(sample.equipmentNumbers);
;
sample.vulnerabilityState = ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange;
sample.vulnerabilityKind = 0;
sample.vitality = 0;
}
void topic_type_support< ::TrainingAreaBase::DemandVulnerabilityStateChangeRequest >::allocate_sample(::TrainingAreaBase::DemandVulnerabilityStateChangeRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.equipmentNumbers, -1, -1);
::rti::topic::allocate_sample(sample.vulnerabilityState, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Dispersion >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DispersionPlugin_new,
::TrainingAreaBase::DispersionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Dispersion >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Dispersion& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DispersionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DispersionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Dispersion >::from_cdr_buffer(::TrainingAreaBase::Dispersion& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DispersionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Dispersion from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Dispersion >::reset_sample(::TrainingAreaBase::Dispersion& sample)
{
sample.longitudinal = 0.0;
sample.lateral = 0.0;
sample.longitudinalH = 0.0;
sample.lateralH = 0.0;
}
void topic_type_support< ::TrainingAreaBase::Dispersion >::allocate_sample(::TrainingAreaBase::Dispersion& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::DusSingleMineState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::DusSingleMineStatePlugin_new,
::TrainingAreaBase::DusSingleMineStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::DusSingleMineState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::DusSingleMineState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = DusSingleMineStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = DusSingleMineStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::DusSingleMineState >::from_cdr_buffer(::TrainingAreaBase::DusSingleMineState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = DusSingleMineStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::DusSingleMineState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::DusSingleMineState >::reset_sample(::TrainingAreaBase::DusSingleMineState& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.mineId = 0;
sample.effectStart = 0ll;
::rti::topic::reset_sample(sample.position);
sample.chargeTypeId = 0;
sample.state = 0;
}
void topic_type_support< ::TrainingAreaBase::DusSingleMineState >::allocate_sample(::TrainingAreaBase::DusSingleMineState& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_CeaseFiring >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_CeaseFiringPlugin_new,
::TrainingAreaBase::EX_CeaseFiringPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_CeaseFiring >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_CeaseFiring& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_CeaseFiringPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_CeaseFiringPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_CeaseFiring >::from_cdr_buffer(::TrainingAreaBase::EX_CeaseFiring& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_CeaseFiringPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_CeaseFiring from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_CeaseFiring >::reset_sample(::TrainingAreaBase::EX_CeaseFiring& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.identifier = "";
;
sample.effectorId = ProjectDataManagement::L27_EffectorId::A;
;
sample.category = ProjectDataManagement::L22_FireHaltCategory::L22_FireHaltCategory_A;
sample.reference = "";
sample.targetPosNumber = 0;
::rti::topic::reset_sample(sample.coordinate);
sample.radius = 0;
sample.unloadRound = 0;
}
void topic_type_support< ::TrainingAreaBase::EX_CeaseFiring >::allocate_sample(::TrainingAreaBase::EX_CeaseFiring& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.effectorId, -1, -1);
::rti::topic::allocate_sample(sample.category, -1, -1);
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.coordinate, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_DoNotFire >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_DoNotFirePlugin_new,
::TrainingAreaBase::EX_DoNotFirePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_DoNotFire >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_DoNotFire& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_DoNotFirePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_DoNotFirePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_DoNotFire >::from_cdr_buffer(::TrainingAreaBase::EX_DoNotFire& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_DoNotFirePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_DoNotFire from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_DoNotFire >::reset_sample(::TrainingAreaBase::EX_DoNotFire& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.reference = "";
sample.identifier = "";
;
sample.effectorId = ProjectDataManagement::L27_EffectorId::A;
}
void topic_type_support< ::TrainingAreaBase::EX_DoNotFire >::allocate_sample(::TrainingAreaBase::EX_DoNotFire& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.effectorId, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L29_ReconnaissanceUnit >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L29_ReconnaissanceUnitPlugin_new,
::TrainingAreaBase::L29_ReconnaissanceUnitPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L29_ReconnaissanceUnit >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L29_ReconnaissanceUnit& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L29_ReconnaissanceUnitPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L29_ReconnaissanceUnitPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L29_ReconnaissanceUnit >::from_cdr_buffer(::TrainingAreaBase::L29_ReconnaissanceUnit& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L29_ReconnaissanceUnitPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L29_ReconnaissanceUnit from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L29_ReconnaissanceUnit >::reset_sample(::TrainingAreaBase::L29_ReconnaissanceUnit& sample)
{
sample.identifier = "";
sample.r = 0;
;
sample.oi = ProjectDataManagement::L19_Oi::L19_Oi_Empty;
}
void topic_type_support< ::TrainingAreaBase::L29_ReconnaissanceUnit >::allocate_sample(::TrainingAreaBase::L29_ReconnaissanceUnit& sample, int, int)
{
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.oi, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L30_reconnaissancePositionArea >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L30_reconnaissancePositionAreaPlugin_new,
::TrainingAreaBase::L30_reconnaissancePositionAreaPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L30_reconnaissancePositionArea >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L30_reconnaissancePositionArea& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L30_reconnaissancePositionAreaPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L30_reconnaissancePositionAreaPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L30_reconnaissancePositionArea >::from_cdr_buffer(::TrainingAreaBase::L30_reconnaissancePositionArea& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L30_reconnaissancePositionAreaPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L30_reconnaissancePositionArea from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L30_reconnaissancePositionArea >::reset_sample(::TrainingAreaBase::L30_reconnaissancePositionArea& sample)
{
sample.direction = 0;
sample.left = 0;
sample.right = 0;
}
void topic_type_support< ::TrainingAreaBase::L30_reconnaissancePositionArea >::allocate_sample(::TrainingAreaBase::L30_reconnaissancePositionArea& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EX_ExplorationResult >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_ExplorationResultPlugin_new,
::TrainingAreaBase::EX_ExplorationResultPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_ExplorationResult >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_ExplorationResult& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_ExplorationResultPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_ExplorationResultPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_ExplorationResult >::from_cdr_buffer(::TrainingAreaBase::EX_ExplorationResult& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_ExplorationResultPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_ExplorationResult from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_ExplorationResult >::reset_sample(::TrainingAreaBase::EX_ExplorationResult& sample)
{
::rti::topic::reset_sample(sample.reconnaissanceUnit);
::rti::topic::reset_sample(sample.loadingArea);
::rti::topic::reset_sample(sample.positions);
}
void topic_type_support< ::TrainingAreaBase::EX_ExplorationResult >::allocate_sample(::TrainingAreaBase::EX_ExplorationResult& sample, int, int)
{
::rti::topic::allocate_sample(sample.reconnaissanceUnit, -1, -1);
::rti::topic::allocate_sample(sample.loadingArea, -1, -1);
::rti::topic::allocate_sample(sample.positions, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_Fire >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_FirePlugin_new,
::TrainingAreaBase::EX_FirePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_Fire >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_Fire& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_FirePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_FirePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_Fire >::from_cdr_buffer(::TrainingAreaBase::EX_Fire& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_FirePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_Fire from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_Fire >::reset_sample(::TrainingAreaBase::EX_Fire& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.reference = "";
sample.identifier = "";
;
sample.effectorId = ProjectDataManagement::L27_EffectorId::A;
}
void topic_type_support< ::TrainingAreaBase::EX_Fire >::allocate_sample(::TrainingAreaBase::EX_Fire& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.effectorId, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L31_MailAddress >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L31_MailAddressPlugin_new,
::TrainingAreaBase::L31_MailAddressPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L31_MailAddress >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L31_MailAddress& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L31_MailAddressPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L31_MailAddressPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L31_MailAddress >::from_cdr_buffer(::TrainingAreaBase::L31_MailAddress& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L31_MailAddressPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L31_MailAddress from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L31_MailAddress >::reset_sample(::TrainingAreaBase::L31_MailAddress& sample)
{
sample.mailAddres = "";
}
void topic_type_support< ::TrainingAreaBase::L31_MailAddress >::allocate_sample(::TrainingAreaBase::L31_MailAddress& sample, int, int)
{
::rti::topic::allocate_sample(sample.mailAddres, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLines >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_GuidingLinesPlugin_new,
::TrainingAreaBase::EX_GuidingLinesPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_GuidingLines >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_GuidingLines& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_GuidingLinesPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_GuidingLinesPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLines >::from_cdr_buffer(::TrainingAreaBase::EX_GuidingLines& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_GuidingLinesPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_GuidingLines from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLines >::reset_sample(::TrainingAreaBase::EX_GuidingLines& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.kindGuidingLine = ProjectDataManagement::L25_KindGuidingLine::FFA;
sample.name = "";
sample.reportNumber = 0;
::rti::topic::reset_sample(sample.partOfTroup);
sample.startTime = 0;
sample.endTime = 0;
::rti::topic::reset_sample(sample.coordinates);
::rti::topic::reset_sample(sample.center);
sample.radius = 0;
sample.height = 0;
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLines >::allocate_sample(::TrainingAreaBase::EX_GuidingLines& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.kindGuidingLine, -1, -1);
::rti::topic::allocate_sample(sample.name, -1, -1);
::rti::topic::allocate_sample(sample.partOfTroup, -1, -1);
::rti::topic::allocate_sample(sample.coordinates, -1, -1);
::rti::topic::allocate_sample(sample.center, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_GuidingLinesAndBoundariesPlugin_new,
::TrainingAreaBase::EX_GuidingLinesAndBoundariesPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_GuidingLinesAndBoundaries& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_GuidingLinesAndBoundariesPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_GuidingLinesAndBoundariesPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >::from_cdr_buffer(::TrainingAreaBase::EX_GuidingLinesAndBoundaries& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_GuidingLinesAndBoundariesPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_GuidingLinesAndBoundaries from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >::reset_sample(::TrainingAreaBase::EX_GuidingLinesAndBoundaries& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.kind = ProjectDataManagement::L25_KindGuidingLine::FFA;
sample.name = "";
sample.reportNumber = 0;
::rti::topic::reset_sample(sample.partOfTroup);
sample.startTinme = 0;
sample.endTinme = 0;
::rti::topic::reset_sample(sample.coordinates);
::rti::topic::reset_sample(sample.center);
sample.radius = 0;
sample.maxHeight = 0;
}
void topic_type_support< ::TrainingAreaBase::EX_GuidingLinesAndBoundaries >::allocate_sample(::TrainingAreaBase::EX_GuidingLinesAndBoundaries& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.kind, -1, -1);
::rti::topic::allocate_sample(sample.name, -1, -1);
::rti::topic::allocate_sample(sample.partOfTroup, -1, -1);
::rti::topic::allocate_sample(sample.coordinates, -1, -1);
::rti::topic::allocate_sample(sample.center, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_MessageRevocation >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_MessageRevocationPlugin_new,
::TrainingAreaBase::EX_MessageRevocationPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_MessageRevocation >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_MessageRevocation& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_MessageRevocationPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_MessageRevocationPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_MessageRevocation >::from_cdr_buffer(::TrainingAreaBase::EX_MessageRevocation& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_MessageRevocationPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_MessageRevocation from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_MessageRevocation >::reset_sample(::TrainingAreaBase::EX_MessageRevocation& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.messageSource);
sample.messageIdentifier = 0;
}
void topic_type_support< ::TrainingAreaBase::EX_MessageRevocation >::allocate_sample(::TrainingAreaBase::EX_MessageRevocation& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.messageSource, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L3_Unit >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L3_UnitPlugin_new,
::TrainingAreaBase::L3_UnitPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L3_Unit >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L3_Unit& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L3_UnitPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L3_UnitPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L3_Unit >::from_cdr_buffer(::TrainingAreaBase::L3_Unit& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L3_UnitPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L3_Unit from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L3_Unit >::reset_sample(::TrainingAreaBase::L3_Unit& sample)
{
sample.identifier = "";
sample.r = 0;
;
sample.oi = ProjectDataManagement::L19_Oi::L19_Oi_Empty;
}
void topic_type_support< ::TrainingAreaBase::L3_Unit >::allocate_sample(::TrainingAreaBase::L3_Unit& sample, int, int)
{
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.oi, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L8_Charges >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L8_ChargesPlugin_new,
::TrainingAreaBase::L8_ChargesPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L8_Charges >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L8_Charges& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L8_ChargesPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L8_ChargesPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L8_Charges >::from_cdr_buffer(::TrainingAreaBase::L8_Charges& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L8_ChargesPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L8_Charges from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L8_Charges >::reset_sample(::TrainingAreaBase::L8_Charges& sample)
{
sample.chargeTypeId = 0;
sample.loadTypeId = 0;
sample.igniterTypeId = 0;
sample.count = 0;
}
void topic_type_support< ::TrainingAreaBase::L8_Charges >::allocate_sample(::TrainingAreaBase::L8_Charges& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::L18_EffectableArea >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L18_EffectableAreaPlugin_new,
::TrainingAreaBase::L18_EffectableAreaPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L18_EffectableArea >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L18_EffectableArea& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L18_EffectableAreaPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L18_EffectableAreaPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L18_EffectableArea >::from_cdr_buffer(::TrainingAreaBase::L18_EffectableArea& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L18_EffectableAreaPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L18_EffectableArea from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L18_EffectableArea >::reset_sample(::TrainingAreaBase::L18_EffectableArea& sample)
{
sample.direction = 0;
sample.left = 0;
sample.right = 0;
}
void topic_type_support< ::TrainingAreaBase::L18_EffectableArea >::allocate_sample(::TrainingAreaBase::L18_EffectableArea& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EX_ReportEffectorUnit >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_ReportEffectorUnitPlugin_new,
::TrainingAreaBase::EX_ReportEffectorUnitPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_ReportEffectorUnit >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_ReportEffectorUnit& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_ReportEffectorUnitPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_ReportEffectorUnitPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_ReportEffectorUnit >::from_cdr_buffer(::TrainingAreaBase::EX_ReportEffectorUnit& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_ReportEffectorUnitPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_ReportEffectorUnit from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_ReportEffectorUnit >::reset_sample(::TrainingAreaBase::EX_ReportEffectorUnit& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.effectingSystemType = ProjectDataManagement::L26_EffectingSystemType::Pzh2000;
;
sample.status = ProjectDataManagement::L28_Status::NichtEinsatzbereit;
::rti::topic::reset_sample(sample.unit);
::rti::topic::reset_sample(sample.center);
::rti::topic::reset_sample(sample.coordinates);
::rti::topic::reset_sample(sample.charges);
::rti::topic::reset_sample(sample.effectableArea);
}
void topic_type_support< ::TrainingAreaBase::EX_ReportEffectorUnit >::allocate_sample(::TrainingAreaBase::EX_ReportEffectorUnit& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.effectingSystemType, -1, -1);
::rti::topic::allocate_sample(sample.status, -1, -1);
::rti::topic::allocate_sample(sample.unit, -1, -1);
::rti::topic::allocate_sample(sample.center, -1, -1);
::rti::topic::allocate_sample(sample.coordinates, -1, -1);
::rti::topic::allocate_sample(sample.charges, -1, -1);
::rti::topic::allocate_sample(sample.effectableArea, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EX_StartFiring >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EX_StartFiringPlugin_new,
::TrainingAreaBase::EX_StartFiringPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EX_StartFiring >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EX_StartFiring& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EX_StartFiringPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EX_StartFiringPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EX_StartFiring >::from_cdr_buffer(::TrainingAreaBase::EX_StartFiring& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EX_StartFiringPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EX_StartFiring from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EX_StartFiring >::reset_sample(::TrainingAreaBase::EX_StartFiring& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.reference = "";
sample.identifier = "";
;
sample.effectorId = ProjectDataManagement::L27_EffectorId::A;
}
void topic_type_support< ::TrainingAreaBase::EX_StartFiring >::allocate_sample(::TrainingAreaBase::EX_StartFiring& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.effectorId, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EmergencyCall >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EmergencyCallPlugin_new,
::TrainingAreaBase::EmergencyCallPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EmergencyCall >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EmergencyCall& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EmergencyCallPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EmergencyCallPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EmergencyCall >::from_cdr_buffer(::TrainingAreaBase::EmergencyCall& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EmergencyCallPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EmergencyCall from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EmergencyCall >::reset_sample(::TrainingAreaBase::EmergencyCall& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
}
void topic_type_support< ::TrainingAreaBase::EmergencyCall >::allocate_sample(::TrainingAreaBase::EmergencyCall& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Equipment >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentPlugin_new,
::TrainingAreaBase::EquipmentPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Equipment >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Equipment& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Equipment >::from_cdr_buffer(::TrainingAreaBase::Equipment& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Equipment from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Equipment >::reset_sample(::TrainingAreaBase::Equipment& sample)
{
sample.equipmentFunctionId = 0;
sample.subDeviceId = 0;
sample.unqiueId = 0;
}
void topic_type_support< ::TrainingAreaBase::Equipment >::allocate_sample(::TrainingAreaBase::Equipment& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EquipmentBiteError >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentBiteErrorPlugin_new,
::TrainingAreaBase::EquipmentBiteErrorPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentBiteError >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentBiteError& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentBiteErrorPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentBiteErrorPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentBiteError >::from_cdr_buffer(::TrainingAreaBase::EquipmentBiteError& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentBiteErrorPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentBiteError from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentBiteError >::reset_sample(::TrainingAreaBase::EquipmentBiteError& sample)
{
sample.errorNumber = 0;
sample.canDeviceNumber = 0;
sample.subdeviceNumber = 0;
sample.uniqueId = 0;
}
void topic_type_support< ::TrainingAreaBase::EquipmentBiteError >::allocate_sample(::TrainingAreaBase::EquipmentBiteError& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EquipmentBite >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentBitePlugin_new,
::TrainingAreaBase::EquipmentBitePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentBite >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentBite& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentBitePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentBitePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentBite >::from_cdr_buffer(::TrainingAreaBase::EquipmentBite& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentBitePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentBite from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentBite >::reset_sample(::TrainingAreaBase::EquipmentBite& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.registerType = 0;
sample.biteState = 0;
sample.configState = 0;
sample.batteryState = 0;
sample.configError = 0;
::rti::topic::reset_sample(sample.biteErrors);
}
void topic_type_support< ::TrainingAreaBase::EquipmentBite >::allocate_sample(::TrainingAreaBase::EquipmentBite& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.biteErrors, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentConfigurationReport >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentConfigurationReportPlugin_new,
::TrainingAreaBase::EquipmentConfigurationReportPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentConfigurationReport >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentConfigurationReport& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentConfigurationReportPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentConfigurationReportPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentConfigurationReport >::from_cdr_buffer(::TrainingAreaBase::EquipmentConfigurationReport& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentConfigurationReportPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentConfigurationReport from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentConfigurationReport >::reset_sample(::TrainingAreaBase::EquipmentConfigurationReport& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.canStartupTime = 0;
sample.equipmentType = 0;
sample.loginWaittimeBitweenTrys = 0;
sample.loginMaxRetryCount = 0;
sample.loginMasteringFlag = 0;
sample.canDeviceConfiguration = 0;
sample.displayDeviceVoiceOutput = 0;
;
sample.displayDeviceLanguage = ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange;
sample.pyrotechnics = 0;
;
sample.mineHandgrenadeSensorMode = TrainingAreaBase::MineHandgrenadeSensorMode::PersonellMode;
sample.mineHandgrenadeSensorEnergySaving = 0;
;
sample.firMode = TrainingAreaBase::FirMode::NoFir;
;
sample.minelayerMode = TrainingAreaBase::MinelayerMode::NoMinelayerDevice;
;
sample.specialSensorStandard = TrainingAreaBase::SpecialSensorStandardMode::NoSpecialSensorStandard;
;
sample.agdusHwMode = TrainingAreaBase::AgdusHwMode::withoutHelmetWithoutVest;
;
sample.positionUpdateIntervall = TrainingAreaBase::PositionUpdateIntervall::Vehicle;
sample.displayTextMainGroup = 0;
sample.displayTextSubGroup = 0;
sample.vulnerabilityModelAgdus = 0;
sample.vulnerabilityModelMineIed = 0;
sample.vulnerabilityModelAreaFire = 0;
sample.vulnerabilityModelOperatingResource = 0;
sample.vulnerabilityModelACWeaponry = 0;
}
void topic_type_support< ::TrainingAreaBase::EquipmentConfigurationReport >::allocate_sample(::TrainingAreaBase::EquipmentConfigurationReport& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.displayDeviceLanguage, -1, -1);
::rti::topic::allocate_sample(sample.mineHandgrenadeSensorMode, -1, -1);
::rti::topic::allocate_sample(sample.firMode, -1, -1);
::rti::topic::allocate_sample(sample.minelayerMode, -1, -1);
::rti::topic::allocate_sample(sample.specialSensorStandard, -1, -1);
::rti::topic::allocate_sample(sample.agdusHwMode, -1, -1);
::rti::topic::allocate_sample(sample.positionUpdateIntervall, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentEvent >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentEventPlugin_new,
::TrainingAreaBase::EquipmentEventPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentEvent >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentEvent& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentEventPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentEventPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentEvent >::from_cdr_buffer(::TrainingAreaBase::EquipmentEvent& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentEventPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentEvent from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentEvent >::reset_sample(::TrainingAreaBase::EquipmentEvent& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
::rti::topic::reset_sample(sample.source);
sample.code = 0;
::rti::topic::reset_sample(sample.data);
}
void topic_type_support< ::TrainingAreaBase::EquipmentEvent >::allocate_sample(::TrainingAreaBase::EquipmentEvent& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
::rti::topic::allocate_sample(sample.source, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Gear >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::GearPlugin_new,
::TrainingAreaBase::GearPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Gear >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Gear& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = GearPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = GearPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Gear >::from_cdr_buffer(::TrainingAreaBase::Gear& sample,
const std::vector<char>& buffer)
{
RTIBool ok = GearPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Gear from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Gear >::reset_sample(::TrainingAreaBase::Gear& sample)
{
sample.gearId = 0;
sample.gearTypeId = 0;
sample.chargeCounting = 0;
}
void topic_type_support< ::TrainingAreaBase::Gear >::allocate_sample(::TrainingAreaBase::Gear& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearAssignment >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentGearAssignmentPlugin_new,
::TrainingAreaBase::EquipmentGearAssignmentPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentGearAssignment >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentGearAssignment& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentGearAssignmentPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentGearAssignmentPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearAssignment >::from_cdr_buffer(::TrainingAreaBase::EquipmentGearAssignment& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentGearAssignmentPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentGearAssignment from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearAssignment >::reset_sample(::TrainingAreaBase::EquipmentGearAssignment& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.gears);
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearAssignment >::allocate_sample(::TrainingAreaBase::EquipmentGearAssignment& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.gears, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::GearCharge >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::GearChargePlugin_new,
::TrainingAreaBase::GearChargePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::GearCharge >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::GearCharge& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = GearChargePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = GearChargePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::GearCharge >::from_cdr_buffer(::TrainingAreaBase::GearCharge& sample,
const std::vector<char>& buffer)
{
RTIBool ok = GearChargePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::GearCharge from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::GearCharge >::reset_sample(::TrainingAreaBase::GearCharge& sample)
{
sample.gearId = 0;
sample.gearTypeId = 0;
sample.chargeTypeId = 0;
sample.remain = 0;
}
void topic_type_support< ::TrainingAreaBase::GearCharge >::allocate_sample(::TrainingAreaBase::GearCharge& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearChargeState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentGearChargeStatePlugin_new,
::TrainingAreaBase::EquipmentGearChargeStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentGearChargeState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentGearChargeState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentGearChargeStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentGearChargeStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearChargeState >::from_cdr_buffer(::TrainingAreaBase::EquipmentGearChargeState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentGearChargeStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentGearChargeState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearChargeState >::reset_sample(::TrainingAreaBase::EquipmentGearChargeState& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.charge);
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearChargeState >::allocate_sample(::TrainingAreaBase::EquipmentGearChargeState& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.charge, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearEvent >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentGearEventPlugin_new,
::TrainingAreaBase::EquipmentGearEventPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentGearEvent >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentGearEvent& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentGearEventPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentGearEventPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearEvent >::from_cdr_buffer(::TrainingAreaBase::EquipmentGearEvent& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentGearEventPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentGearEvent from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearEvent >::reset_sample(::TrainingAreaBase::EquipmentGearEvent& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.chargeAmount = 0;
::rti::topic::reset_sample(sample.charge);
}
void topic_type_support< ::TrainingAreaBase::EquipmentGearEvent >::allocate_sample(::TrainingAreaBase::EquipmentGearEvent& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.charge, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentMessage >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentMessagePlugin_new,
::TrainingAreaBase::EquipmentMessagePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentMessage >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentMessage& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentMessagePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentMessagePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentMessage >::from_cdr_buffer(::TrainingAreaBase::EquipmentMessage& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentMessagePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentMessage from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentMessage >::reset_sample(::TrainingAreaBase::EquipmentMessage& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.subject = "";
sample.text = "";
sample.sender = 0;
sample.receiver = 0;
}
void topic_type_support< ::TrainingAreaBase::EquipmentMessage >::allocate_sample(::TrainingAreaBase::EquipmentMessage& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.subject, -1, -1);
::rti::topic::allocate_sample(sample.text, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentOperationalState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentOperationalStatePlugin_new,
::TrainingAreaBase::EquipmentOperationalStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentOperationalState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentOperationalState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentOperationalStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentOperationalStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentOperationalState >::from_cdr_buffer(::TrainingAreaBase::EquipmentOperationalState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentOperationalStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentOperationalState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentOperationalState >::reset_sample(::TrainingAreaBase::EquipmentOperationalState& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.isManipulation);
::rti::topic::reset_sample(sample.equipmentFunctionId);
::rti::topic::reset_sample(sample.nbcProtectionActive);
}
void topic_type_support< ::TrainingAreaBase::EquipmentOperationalState >::allocate_sample(::TrainingAreaBase::EquipmentOperationalState& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::TabPosition >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::TabPositionPlugin_new,
::TrainingAreaBase::TabPositionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::TabPosition >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::TabPosition& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = TabPositionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = TabPositionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::TabPosition >::from_cdr_buffer(::TrainingAreaBase::TabPosition& sample,
const std::vector<char>& buffer)
{
RTIBool ok = TabPositionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::TabPosition from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::TabPosition >::reset_sample(::TrainingAreaBase::TabPosition& sample)
{
::rti::topic::reset_sample(sample.position);
;
sample.reportingSource = Core::PositionReportingSource::Gps;
::rti::topic::reset_sample(sample.moutObjectId);
::rti::topic::reset_sample(sample.moutRoomId);
}
void topic_type_support< ::TrainingAreaBase::TabPosition >::allocate_sample(::TrainingAreaBase::TabPosition& sample, int, int)
{
::rti::topic::allocate_sample(sample.position, -1, -1);
::rti::topic::allocate_sample(sample.reportingSource, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentPosition >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentPositionPlugin_new,
::TrainingAreaBase::EquipmentPositionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentPosition >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentPosition& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentPositionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentPositionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentPosition >::from_cdr_buffer(::TrainingAreaBase::EquipmentPosition& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentPositionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentPosition from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentPosition >::reset_sample(::TrainingAreaBase::EquipmentPosition& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
::rti::topic::reset_sample(sample.mountedParticipants);
::rti::topic::reset_sample(sample.orientation);
}
void topic_type_support< ::TrainingAreaBase::EquipmentPosition >::allocate_sample(::TrainingAreaBase::EquipmentPosition& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentStatePlugin_new,
::TrainingAreaBase::EquipmentStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentState >::from_cdr_buffer(::TrainingAreaBase::EquipmentState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentState >::reset_sample(::TrainingAreaBase::EquipmentState& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.vulnerabilityState = ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange;
sample.vulnerabilityKindId = 0;
sample.vitality = 0;
sample.vulnerabilityBits = 0;
::rti::topic::reset_sample(sample.position);
sample.originatorId = 0;
;
sample.originatorType = ProjectDataManagement::StateChangeOriginator::StateChangeOriginator_Unknown;
sample.originatorChargeTypeId = 0;
}
void topic_type_support< ::TrainingAreaBase::EquipmentState >::allocate_sample(::TrainingAreaBase::EquipmentState& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.vulnerabilityState, -1, -1);
::rti::topic::allocate_sample(sample.originatorType, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::EquipmentSwVersion >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::EquipmentSwVersionPlugin_new,
::TrainingAreaBase::EquipmentSwVersionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::EquipmentSwVersion >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::EquipmentSwVersion& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = EquipmentSwVersionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = EquipmentSwVersionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::EquipmentSwVersion >::from_cdr_buffer(::TrainingAreaBase::EquipmentSwVersion& sample,
const std::vector<char>& buffer)
{
RTIBool ok = EquipmentSwVersionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::EquipmentSwVersion from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::EquipmentSwVersion >::reset_sample(::TrainingAreaBase::EquipmentSwVersion& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::Equipment >::reset_sample(sample);
sample.swVersion = 0;
}
void topic_type_support< ::TrainingAreaBase::EquipmentSwVersion >::allocate_sample(::TrainingAreaBase::EquipmentSwVersion& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::Equipment >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L12_TargetData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L12_TargetDataPlugin_new,
::TrainingAreaBase::L12_TargetDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L12_TargetData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L12_TargetData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L12_TargetDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L12_TargetDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L12_TargetData >::from_cdr_buffer(::TrainingAreaBase::L12_TargetData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L12_TargetDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L12_TargetData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L12_TargetData >::reset_sample(::TrainingAreaBase::L12_TargetData& sample)
{
sample.number = 0;
;
sample.geometry = ProjectDataManagement::L4_TargetGeometry::Point;
::rti::topic::reset_sample(sample.coordinate);
::rti::topic::reset_sample(sample.relativeCoordinate);
sample.radius = 0;
sample.width = 0;
sample.length = 0;
sample.targetAxis = 0;
sample.zog = 0;
sample.elements = 0;
sample.tagetType = 0;
sample.tagetSubtype = 0;
}
void topic_type_support< ::TrainingAreaBase::L12_TargetData >::allocate_sample(::TrainingAreaBase::L12_TargetData& sample, int, int)
{
::rti::topic::allocate_sample(sample.geometry, -1, -1);
::rti::topic::allocate_sample(sample.coordinate, -1, -1);
::rti::topic::allocate_sample(sample.relativeCoordinate, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L36_FiringCommandCharges >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L36_FiringCommandChargesPlugin_new,
::TrainingAreaBase::L36_FiringCommandChargesPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L36_FiringCommandCharges >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L36_FiringCommandCharges& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L36_FiringCommandChargesPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L36_FiringCommandChargesPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L36_FiringCommandCharges >::from_cdr_buffer(::TrainingAreaBase::L36_FiringCommandCharges& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L36_FiringCommandChargesPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L36_FiringCommandCharges from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L36_FiringCommandCharges >::reset_sample(::TrainingAreaBase::L36_FiringCommandCharges& sample)
{
sample.chargeType = 0;
sample.loadTypeId = 0;
sample.loadNumber = 0;
sample.igniterTypeId = 0;
sample.igniterFunctionId = 0;
sample.igniterTime = 0;
sample.amount = 0;
sample.interval = 0.0;
}
void topic_type_support< ::TrainingAreaBase::L36_FiringCommandCharges >::allocate_sample(::TrainingAreaBase::L36_FiringCommandCharges& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::L35_TrajectoryPoint >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L35_TrajectoryPointPlugin_new,
::TrainingAreaBase::L35_TrajectoryPointPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L35_TrajectoryPoint >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L35_TrajectoryPoint& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L35_TrajectoryPointPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L35_TrajectoryPointPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L35_TrajectoryPoint >::from_cdr_buffer(::TrainingAreaBase::L35_TrajectoryPoint& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L35_TrajectoryPointPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L35_TrajectoryPoint from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L35_TrajectoryPoint >::reset_sample(::TrainingAreaBase::L35_TrajectoryPoint& sample)
{
sample.time = 0.0;
::rti::topic::reset_sample(sample.relPos);
}
void topic_type_support< ::TrainingAreaBase::L35_TrajectoryPoint >::allocate_sample(::TrainingAreaBase::L35_TrajectoryPoint& sample, int, int)
{
::rti::topic::allocate_sample(sample.relPos, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L39_ScatteringData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L39_ScatteringDataPlugin_new,
::TrainingAreaBase::L39_ScatteringDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L39_ScatteringData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L39_ScatteringData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L39_ScatteringDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L39_ScatteringDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L39_ScatteringData >::from_cdr_buffer(::TrainingAreaBase::L39_ScatteringData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L39_ScatteringDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L39_ScatteringData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L39_ScatteringData >::reset_sample(::TrainingAreaBase::L39_ScatteringData& sample)
{
sample.mphWidth = 0.0;
sample.mphLength = 0.0;
sample.mphWidthDetonationHeight = 0.0;
sample.mphLengthDetonationHeight = 0.0;
}
void topic_type_support< ::TrainingAreaBase::L39_ScatteringData >::allocate_sample(::TrainingAreaBase::L39_ScatteringData& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::L34_effector >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L34_effectorPlugin_new,
::TrainingAreaBase::L34_effectorPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L34_effector >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L34_effector& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L34_effectorPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L34_effectorPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L34_effector >::from_cdr_buffer(::TrainingAreaBase::L34_effector& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L34_effectorPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L34_effector from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L34_effector >::reset_sample(::TrainingAreaBase::L34_effector& sample)
{
;
sample.effectorId = ProjectDataManagement::L27_EffectorId::A;
::rti::topic::reset_sample(sample.targetPos);
sample.flightTime = 0.0;
sample.maxHeight = 0;
sample.direction = 0;
sample.angleOfFall = 0;
::rti::topic::reset_sample(sample.firingCommandCharges);
::rti::topic::reset_sample(sample.trajectory);
::rti::topic::reset_sample(sample.scattering);
}
void topic_type_support< ::TrainingAreaBase::L34_effector >::allocate_sample(::TrainingAreaBase::L34_effector& sample, int, int)
{
::rti::topic::allocate_sample(sample.effectorId, -1, -1);
::rti::topic::allocate_sample(sample.targetPos, -1, -1);
::rti::topic::allocate_sample(sample.firingCommandCharges, -1, -1);
::rti::topic::allocate_sample(sample.trajectory, -1, -1);
::rti::topic::allocate_sample(sample.scattering, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L33_FireCommand >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L33_FireCommandPlugin_new,
::TrainingAreaBase::L33_FireCommandPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L33_FireCommand >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L33_FireCommand& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L33_FireCommandPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L33_FireCommandPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L33_FireCommand >::from_cdr_buffer(::TrainingAreaBase::L33_FireCommand& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L33_FireCommandPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L33_FireCommand from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L33_FireCommand >::reset_sample(::TrainingAreaBase::L33_FireCommand& sample)
{
sample.identifier = "";
sample.type = 0;
::rti::topic::reset_sample(sample.L34_effector);
}
void topic_type_support< ::TrainingAreaBase::L33_FireCommand >::allocate_sample(::TrainingAreaBase::L33_FireCommand& sample, int, int)
{
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.L34_effector, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ExAwesPlanning >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ExAwesPlanningPlugin_new,
::TrainingAreaBase::ExAwesPlanningPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ExAwesPlanning >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ExAwesPlanning& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ExAwesPlanningPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ExAwesPlanningPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ExAwesPlanning >::from_cdr_buffer(::TrainingAreaBase::ExAwesPlanning& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ExAwesPlanningPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ExAwesPlanning from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ExAwesPlanning >::reset_sample(::TrainingAreaBase::ExAwesPlanning& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.reference = "";
::rti::topic::reset_sample(sample.targetData);
sample.firingType = 0;
sample.request = "";
sample.duration = 0;
::rti::topic::reset_sample(sample.fireCommand);
}
void topic_type_support< ::TrainingAreaBase::ExAwesPlanning >::allocate_sample(::TrainingAreaBase::ExAwesPlanning& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.targetData, -1, -1);
::rti::topic::allocate_sample(sample.request, -1, -1);
::rti::topic::allocate_sample(sample.fireCommand, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::L13_EffectorUnit >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::L13_EffectorUnitPlugin_new,
::TrainingAreaBase::L13_EffectorUnitPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::L13_EffectorUnit >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::L13_EffectorUnit& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = L13_EffectorUnitPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = L13_EffectorUnitPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::L13_EffectorUnit >::from_cdr_buffer(::TrainingAreaBase::L13_EffectorUnit& sample,
const std::vector<char>& buffer)
{
RTIBool ok = L13_EffectorUnitPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::L13_EffectorUnit from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::L13_EffectorUnit >::reset_sample(::TrainingAreaBase::L13_EffectorUnit& sample)
{
sample.identifier = "";
sample.r = 0;
;
sample.oi = ProjectDataManagement::L19_Oi::L19_Oi_Empty;
}
void topic_type_support< ::TrainingAreaBase::L13_EffectorUnit >::allocate_sample(::TrainingAreaBase::L13_EffectorUnit& sample, int, int)
{
::rti::topic::allocate_sample(sample.identifier, -1, -1);
::rti::topic::allocate_sample(sample.oi, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ExReportEffector >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ExReportEffectorPlugin_new,
::TrainingAreaBase::ExReportEffectorPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ExReportEffector >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ExReportEffector& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ExReportEffectorPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ExReportEffectorPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ExReportEffector >::from_cdr_buffer(::TrainingAreaBase::ExReportEffector& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ExReportEffectorPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ExReportEffector from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ExReportEffector >::reset_sample(::TrainingAreaBase::ExReportEffector& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.effectingSystemType = ProjectDataManagement::L26_EffectingSystemType::Pzh2000;
;
sample.effectorId = ProjectDataManagement::L27_EffectorId::A;
;
sample.status = ProjectDataManagement::L28_Status::NichtEinsatzbereit;
::rti::topic::reset_sample(sample.effectorUnit);
::rti::topic::reset_sample(sample.charges);
::rti::topic::reset_sample(sample.coordinate);
::rti::topic::reset_sample(sample.effectableArea);
}
void topic_type_support< ::TrainingAreaBase::ExReportEffector >::allocate_sample(::TrainingAreaBase::ExReportEffector& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.effectingSystemType, -1, -1);
::rti::topic::allocate_sample(sample.effectorId, -1, -1);
::rti::topic::allocate_sample(sample.status, -1, -1);
::rti::topic::allocate_sample(sample.effectorUnit, -1, -1);
::rti::topic::allocate_sample(sample.charges, -1, -1);
::rti::topic::allocate_sample(sample.coordinate, -1, -1);
::rti::topic::allocate_sample(sample.effectableArea, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Ex_ReconResults >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::Ex_ReconResultsPlugin_new,
::TrainingAreaBase::Ex_ReconResultsPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Ex_ReconResults >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Ex_ReconResults& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = Ex_ReconResultsPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = Ex_ReconResultsPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Ex_ReconResults >::from_cdr_buffer(::TrainingAreaBase::Ex_ReconResults& sample,
const std::vector<char>& buffer)
{
RTIBool ok = Ex_ReconResultsPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Ex_ReconResults from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Ex_ReconResults >::reset_sample(::TrainingAreaBase::Ex_ReconResults& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.explorationResult);
}
void topic_type_support< ::TrainingAreaBase::Ex_ReconResults >::allocate_sample(::TrainingAreaBase::Ex_ReconResults& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.explorationResult, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Ex_ReportSupplyZone >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::Ex_ReportSupplyZonePlugin_new,
::TrainingAreaBase::Ex_ReportSupplyZonePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Ex_ReportSupplyZone >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Ex_ReportSupplyZone& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = Ex_ReportSupplyZonePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = Ex_ReportSupplyZonePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Ex_ReportSupplyZone >::from_cdr_buffer(::TrainingAreaBase::Ex_ReportSupplyZone& sample,
const std::vector<char>& buffer)
{
RTIBool ok = Ex_ReportSupplyZonePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Ex_ReportSupplyZone from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Ex_ReportSupplyZone >::reset_sample(::TrainingAreaBase::Ex_ReportSupplyZone& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.effectorUnit);
::rti::topic::reset_sample(sample.coordinate);
::rti::topic::reset_sample(sample.charges);
}
void topic_type_support< ::TrainingAreaBase::Ex_ReportSupplyZone >::allocate_sample(::TrainingAreaBase::Ex_ReportSupplyZone& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.effectorUnit, -1, -1);
::rti::topic::allocate_sample(sample.coordinate, -1, -1);
::rti::topic::allocate_sample(sample.charges, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::FireSmokeMarkerData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::FireSmokeMarkerDataPlugin_new,
::TrainingAreaBase::FireSmokeMarkerDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::FireSmokeMarkerData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::FireSmokeMarkerData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = FireSmokeMarkerDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = FireSmokeMarkerDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::FireSmokeMarkerData >::from_cdr_buffer(::TrainingAreaBase::FireSmokeMarkerData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = FireSmokeMarkerDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::FireSmokeMarkerData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::FireSmokeMarkerData >::reset_sample(::TrainingAreaBase::FireSmokeMarkerData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::FireSmokeMarkerData >::allocate_sample(::TrainingAreaBase::FireSmokeMarkerData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::FunctionalAreaEntry >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::FunctionalAreaEntryPlugin_new,
::TrainingAreaBase::FunctionalAreaEntryPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::FunctionalAreaEntry >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::FunctionalAreaEntry& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = FunctionalAreaEntryPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = FunctionalAreaEntryPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::FunctionalAreaEntry >::from_cdr_buffer(::TrainingAreaBase::FunctionalAreaEntry& sample,
const std::vector<char>& buffer)
{
RTIBool ok = FunctionalAreaEntryPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::FunctionalAreaEntry from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::FunctionalAreaEntry >::reset_sample(::TrainingAreaBase::FunctionalAreaEntry& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
sample.aesItemId = 0;
}
void topic_type_support< ::TrainingAreaBase::FunctionalAreaEntry >::allocate_sample(::TrainingAreaBase::FunctionalAreaEntry& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::GeopairingData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::GeopairingDataPlugin_new,
::TrainingAreaBase::GeopairingDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::GeopairingData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::GeopairingData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = GeopairingDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = GeopairingDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::GeopairingData >::from_cdr_buffer(::TrainingAreaBase::GeopairingData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = GeopairingDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::GeopairingData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::GeopairingData >::reset_sample(::TrainingAreaBase::GeopairingData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::GeopairingData >::allocate_sample(::TrainingAreaBase::GeopairingData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::LaserDesignation >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::LaserDesignationPlugin_new,
::TrainingAreaBase::LaserDesignationPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::LaserDesignation >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::LaserDesignation& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = LaserDesignationPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = LaserDesignationPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::LaserDesignation >::from_cdr_buffer(::TrainingAreaBase::LaserDesignation& sample,
const std::vector<char>& buffer)
{
RTIBool ok = LaserDesignationPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::LaserDesignation from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::LaserDesignation >::reset_sample(::TrainingAreaBase::LaserDesignation& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.gearId = 0;
sample.code = 0;
sample.outputPower = 0.0;
::rti::topic::reset_sample(sample.spotLocation);
}
void topic_type_support< ::TrainingAreaBase::LaserDesignation >::allocate_sample(::TrainingAreaBase::LaserDesignation& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.spotLocation, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::MineTriggered >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::MineTriggeredPlugin_new,
::TrainingAreaBase::MineTriggeredPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::MineTriggered >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::MineTriggered& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = MineTriggeredPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = MineTriggeredPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::MineTriggered >::from_cdr_buffer(::TrainingAreaBase::MineTriggered& sample,
const std::vector<char>& buffer)
{
RTIBool ok = MineTriggeredPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::MineTriggered from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::MineTriggered >::reset_sample(::TrainingAreaBase::MineTriggered& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.mineAreaId = 0;
sample.mineIndex = 0;
::rti::topic::reset_sample(sample.position);
::rti::topic::reset_sample(sample.chargeTypeId);
}
void topic_type_support< ::TrainingAreaBase::MineTriggered >::allocate_sample(::TrainingAreaBase::MineTriggered& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::MinelayerTrailerDataPlugin_new,
::TrainingAreaBase::MinelayerTrailerDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::MinelayerTrailerData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = MinelayerTrailerDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = MinelayerTrailerDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >::from_cdr_buffer(::TrainingAreaBase::MinelayerTrailerData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = MinelayerTrailerDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::MinelayerTrailerData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >::reset_sample(::TrainingAreaBase::MinelayerTrailerData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
sample.barrierId = 0;
sample.layingDensity = 0;
sample.effectStart = 0ll;
sample.effectDuration = 0;
sample.chargeTypeId = 0;
sample.mineCount = 0;
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >::allocate_sample(::TrainingAreaBase::MinelayerTrailerData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::MinelayerThrowerData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::MinelayerThrowerDataPlugin_new,
::TrainingAreaBase::MinelayerThrowerDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::MinelayerThrowerData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::MinelayerThrowerData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = MinelayerThrowerDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = MinelayerThrowerDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::MinelayerThrowerData >::from_cdr_buffer(::TrainingAreaBase::MinelayerThrowerData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = MinelayerThrowerDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::MinelayerThrowerData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::MinelayerThrowerData >::reset_sample(::TrainingAreaBase::MinelayerThrowerData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >::reset_sample(sample);
;
sample.throwingType = TrainingAreaBase::ThrowingType::Straight;
}
void topic_type_support< ::TrainingAreaBase::MinelayerThrowerData >::allocate_sample(::TrainingAreaBase::MinelayerThrowerData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::MinelayerTrailerData >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.throwingType, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerPosition >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::MinelayerTrailerPositionPlugin_new,
::TrainingAreaBase::MinelayerTrailerPositionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::MinelayerTrailerPosition >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::MinelayerTrailerPosition& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = MinelayerTrailerPositionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = MinelayerTrailerPositionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerPosition >::from_cdr_buffer(::TrainingAreaBase::MinelayerTrailerPosition& sample,
const std::vector<char>& buffer)
{
RTIBool ok = MinelayerTrailerPositionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::MinelayerTrailerPosition from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerPosition >::reset_sample(::TrainingAreaBase::MinelayerTrailerPosition& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
sample.chargeTypeId = 0;
sample.dusSerialNo = 0;
}
void topic_type_support< ::TrainingAreaBase::MinelayerTrailerPosition >::allocate_sample(::TrainingAreaBase::MinelayerTrailerPosition& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::OcData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::OcDataPlugin_new,
::TrainingAreaBase::OcDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::OcData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::OcData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = OcDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = OcDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::OcData >::from_cdr_buffer(::TrainingAreaBase::OcData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = OcDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::OcData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::OcData >::reset_sample(::TrainingAreaBase::OcData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::OcData >::allocate_sample(::TrainingAreaBase::OcData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::OperatorAction >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::OperatorActionPlugin_new,
::TrainingAreaBase::OperatorActionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::OperatorAction >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::OperatorAction& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = OperatorActionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = OperatorActionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::OperatorAction >::from_cdr_buffer(::TrainingAreaBase::OperatorAction& sample,
const std::vector<char>& buffer)
{
RTIBool ok = OperatorActionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::OperatorAction from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::OperatorAction >::reset_sample(::TrainingAreaBase::OperatorAction& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
sample.operatorId = 0;
sample.action = 0;
}
void topic_type_support< ::TrainingAreaBase::OperatorAction >::allocate_sample(::TrainingAreaBase::OperatorAction& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ParticipantConfigurationReport >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ParticipantConfigurationReportPlugin_new,
::TrainingAreaBase::ParticipantConfigurationReportPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ParticipantConfigurationReport >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ParticipantConfigurationReport& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ParticipantConfigurationReportPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ParticipantConfigurationReportPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ParticipantConfigurationReport >::from_cdr_buffer(::TrainingAreaBase::ParticipantConfigurationReport& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ParticipantConfigurationReportPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ParticipantConfigurationReport from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ParticipantConfigurationReport >::reset_sample(::TrainingAreaBase::ParticipantConfigurationReport& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.positionIntervallVehicle = 0;
sample.positionIntervallPersonell = 0;
sample.positionIntervallAircraft = 0;
sample.positionTransmissionIntervall = 0;
sample.heightbarrier = 0;
;
sample.faultPositionHandling = TrainingAreaBase::FaultPositionHandling::FaultPositionHandling_NoChange;
;
sample.switchingPositionIntervall = TrainingAreaBase::SwitichingPositionIntervall::SwitichingPositionIntervall_NoChange;
sample.waittimeAdditionalBroadcastRequest = 0;
sample.factorWaittimeIncreaseHighload = 0;
sample.waittimeAutomaticVulnerbilityIncreaseLevel1 = 0;
sample.waittimeAutomaticVulnerbilityIncreaseLevel2 = 0;
sample.waittimeAutomaticVulnerbilityIncreaseLevel3 = 0;
;
sample.opticalCode = TrainingAreaBase::OpticalCode::OpticalCode_NoChange;
sample.vulnerabilityModel = 0;
sample.validTimeOps = 0;
}
void topic_type_support< ::TrainingAreaBase::ParticipantConfigurationReport >::allocate_sample(::TrainingAreaBase::ParticipantConfigurationReport& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.faultPositionHandling, -1, -1);
::rti::topic::allocate_sample(sample.switchingPositionIntervall, -1, -1);
::rti::topic::allocate_sample(sample.opticalCode, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ParticipantModeReport >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ParticipantModeReportPlugin_new,
::TrainingAreaBase::ParticipantModeReportPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ParticipantModeReport >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ParticipantModeReport& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ParticipantModeReportPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ParticipantModeReportPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ParticipantModeReport >::from_cdr_buffer(::TrainingAreaBase::ParticipantModeReport& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ParticipantModeReportPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ParticipantModeReport from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ParticipantModeReport >::reset_sample(::TrainingAreaBase::ParticipantModeReport& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.language = ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange;
;
sample.operationMode = ProjectDataManagement::OperationMode::OperationMode_NoChange;
sample.reactivationDetoxication = 0;
sample.reactivationMaintenance = 0;
sample.reactivationMedic = 0;
;
sample.protectionModeVest = ProjectDataManagement::WphMode::WphMode_NoChange;
;
sample.protectionModeHelmet = ProjectDataManagement::WphMode::WphMode_NoChange;
;
sample.personellProtectionMode = ProjectDataManagement::PersonalProtection::PersonalProtection_NoChange;
;
sample.protectionLevel = ProjectDataManagement::ProtectionLevel::ProtectionLevel_NoChange;
;
sample.handgrenadeSearchMode = ProjectDataManagement::HandgrenadeSearchMode::HandgrenadeSearchMode_NoChange;
;
sample.internationalMode = ProjectDataManagement::InternationalMode::InternationalMode_NoChange;
;
sample.abcProtectionMode = ProjectDataManagement::ABCProtectionMode::ABCProtectionMode_NoChange;
}
void topic_type_support< ::TrainingAreaBase::ParticipantModeReport >::allocate_sample(::TrainingAreaBase::ParticipantModeReport& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.language, -1, -1);
::rti::topic::allocate_sample(sample.operationMode, -1, -1);
::rti::topic::allocate_sample(sample.protectionModeVest, -1, -1);
::rti::topic::allocate_sample(sample.protectionModeHelmet, -1, -1);
::rti::topic::allocate_sample(sample.personellProtectionMode, -1, -1);
::rti::topic::allocate_sample(sample.protectionLevel, -1, -1);
::rti::topic::allocate_sample(sample.handgrenadeSearchMode, -1, -1);
::rti::topic::allocate_sample(sample.internationalMode, -1, -1);
::rti::topic::allocate_sample(sample.abcProtectionMode, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ParticipantSanitaryMaterialStockReportPlugin_new,
::TrainingAreaBase::ParticipantSanitaryMaterialStockReportPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ParticipantSanitaryMaterialStockReportPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ParticipantSanitaryMaterialStockReportPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >::from_cdr_buffer(::TrainingAreaBase::ParticipantSanitaryMaterialStockReport& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ParticipantSanitaryMaterialStockReportPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >::reset_sample(::TrainingAreaBase::ParticipantSanitaryMaterialStockReport& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.originatorEquipmentNumber = 0;
;
sample.qualification = TrainingAreaBase::Qualification::NotDefined;
sample.uniqueId = 0;
sample.sanitaryMaterialCount = 0;
::rti::topic::reset_sample(sample.sanitaryMaterialStock);
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitaryMaterialStockReport >::allocate_sample(::TrainingAreaBase::ParticipantSanitaryMaterialStockReport& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.qualification, -1, -1);
::rti::topic::allocate_sample(sample.sanitaryMaterialStock, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitation >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ParticipantSanitationPlugin_new,
::TrainingAreaBase::ParticipantSanitationPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ParticipantSanitation >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ParticipantSanitation& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ParticipantSanitationPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ParticipantSanitationPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitation >::from_cdr_buffer(::TrainingAreaBase::ParticipantSanitation& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ParticipantSanitationPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ParticipantSanitation from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitation >::reset_sample(::TrainingAreaBase::ParticipantSanitation& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
sample.originatorEquipmentNumber = 0;
;
sample.qualification = TrainingAreaBase::Qualification::NotDefined;
sample.uniqueId = 0;
sample.proceduresTaken = 0ll;
;
sample.sanitationResult = TrainingAreaBase::SanitationResult::NoEffect;
;
sample.sanitationEvaluation = TrainingAreaBase::SanitationEvaluation::NotApplicable;
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitation >::allocate_sample(::TrainingAreaBase::ParticipantSanitation& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.qualification, -1, -1);
::rti::topic::allocate_sample(sample.sanitationResult, -1, -1);
::rti::topic::allocate_sample(sample.sanitationEvaluation, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitationRepair >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ParticipantSanitationRepairPlugin_new,
::TrainingAreaBase::ParticipantSanitationRepairPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ParticipantSanitationRepair >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ParticipantSanitationRepair& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ParticipantSanitationRepairPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ParticipantSanitationRepairPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitationRepair >::from_cdr_buffer(::TrainingAreaBase::ParticipantSanitationRepair& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ParticipantSanitationRepairPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ParticipantSanitationRepair from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitationRepair >::reset_sample(::TrainingAreaBase::ParticipantSanitationRepair& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.originatorType = ProjectDataManagement::StateChangeOriginator::StateChangeOriginator_Unknown;
sample.equipmentNumberOrigin = 0;
;
sample.stateStart = ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange;
sample.typeOfTreatment = 0;
sample.triage = 0;
sample.tyeOfDamage = 0;
;
sample.stateResult = ProjectDataManagement::VulnerabilityState::VulnerabilityState_NoChange;
;
sample.treatmentResult = TrainingAreaBase::TreatmentResult::None;
sample.triagePriority = 0;
sample.fullState = 0;
sample.timeOfTreatment = 0;
sample.timeOfRecovery = 0;
}
void topic_type_support< ::TrainingAreaBase::ParticipantSanitationRepair >::allocate_sample(::TrainingAreaBase::ParticipantSanitationRepair& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.originatorType, -1, -1);
::rti::topic::allocate_sample(sample.stateStart, -1, -1);
::rti::topic::allocate_sample(sample.stateResult, -1, -1);
::rti::topic::allocate_sample(sample.treatmentResult, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ParticipantSwVersions >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ParticipantSwVersionsPlugin_new,
::TrainingAreaBase::ParticipantSwVersionsPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ParticipantSwVersions >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ParticipantSwVersions& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ParticipantSwVersionsPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ParticipantSwVersionsPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ParticipantSwVersions >::from_cdr_buffer(::TrainingAreaBase::ParticipantSwVersions& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ParticipantSwVersionsPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ParticipantSwVersions from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ParticipantSwVersions >::reset_sample(::TrainingAreaBase::ParticipantSwVersions& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.equipments);
}
void topic_type_support< ::TrainingAreaBase::ParticipantSwVersions >::allocate_sample(::TrainingAreaBase::ParticipantSwVersions& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.equipments, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::Reammunition >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ReammunitionPlugin_new,
::TrainingAreaBase::ReammunitionPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::Reammunition >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::Reammunition& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ReammunitionPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ReammunitionPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::Reammunition >::from_cdr_buffer(::TrainingAreaBase::Reammunition& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ReammunitionPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::Reammunition from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::Reammunition >::reset_sample(::TrainingAreaBase::Reammunition& sample)
{
sample.chargeTypeId = 0;
sample.newStock = 0;
sample.newDefaultStock = 0;
sample.tracerRatio = 0;
}
void topic_type_support< ::TrainingAreaBase::Reammunition >::allocate_sample(::TrainingAreaBase::Reammunition& sample, int, int)
{
RTIOsapiUtility_unusedParameter(sample);
}
void topic_type_support< ::TrainingAreaBase::RestoreRadioReadiness >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::RestoreRadioReadinessPlugin_new,
::TrainingAreaBase::RestoreRadioReadinessPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::RestoreRadioReadiness >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::RestoreRadioReadiness& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = RestoreRadioReadinessPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = RestoreRadioReadinessPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::RestoreRadioReadiness >::from_cdr_buffer(::TrainingAreaBase::RestoreRadioReadiness& sample,
const std::vector<char>& buffer)
{
RTIBool ok = RestoreRadioReadinessPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::RestoreRadioReadiness from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::RestoreRadioReadiness >::reset_sample(::TrainingAreaBase::RestoreRadioReadiness& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.readinessLossPosition);
sample.readinessLossTime = 0;
::rti::topic::reset_sample(sample.readinessRestorePosition);
sample.readinessRestoreTime = 0;
}
void topic_type_support< ::TrainingAreaBase::RestoreRadioReadiness >::allocate_sample(::TrainingAreaBase::RestoreRadioReadiness& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.readinessLossPosition, -1, -1);
::rti::topic::allocate_sample(sample.readinessRestorePosition, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendCesHitInformation >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendCesHitInformationPlugin_new,
::TrainingAreaBase::SendCesHitInformationPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendCesHitInformation >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendCesHitInformation& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendCesHitInformationPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendCesHitInformationPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendCesHitInformation >::from_cdr_buffer(::TrainingAreaBase::SendCesHitInformation& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendCesHitInformationPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendCesHitInformation from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendCesHitInformation >::reset_sample(::TrainingAreaBase::SendCesHitInformation& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.originatorId = 0;
sample.originatorEquipmentNumber = 0;
sample.chargeTypeId = 0;
sample.directionDegree = 0;
sample.distanceToOrignator = 0;
sample.effectPercent = 0;
sample.effectTime = 0ll;
}
void topic_type_support< ::TrainingAreaBase::SendCesHitInformation >::allocate_sample(::TrainingAreaBase::SendCesHitInformation& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendCesHitRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendCesHitRequestPlugin_new,
::TrainingAreaBase::SendCesHitRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendCesHitRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendCesHitRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendCesHitRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendCesHitRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendCesHitRequest >::from_cdr_buffer(::TrainingAreaBase::SendCesHitRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendCesHitRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendCesHitRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendCesHitRequest >::reset_sample(::TrainingAreaBase::SendCesHitRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.chargeTypeId = 0;
sample.aesId = 0;
sample.originatorEquipmentNumber = 0;
sample.remainEffectPercent = 0;
::rti::topic::reset_sample(sample.position);
sample.effectTime = 0ll;
;
sample.pdmEventType = ProjectDataManagement::PdmEventType::EventType_Unknown;
sample.partyId = 0;
sample.mineId = 0;
}
void topic_type_support< ::TrainingAreaBase::SendCesHitRequest >::allocate_sample(::TrainingAreaBase::SendCesHitRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.position, -1, -1);
::rti::topic::allocate_sample(sample.pdmEventType, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendControlDataRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendControlDataRequestPlugin_new,
::TrainingAreaBase::SendControlDataRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendControlDataRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendControlDataRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendControlDataRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendControlDataRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendControlDataRequest >::from_cdr_buffer(::TrainingAreaBase::SendControlDataRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendControlDataRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendControlDataRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendControlDataRequest >::reset_sample(::TrainingAreaBase::SendControlDataRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
;
sample.controlCode = TrainingAreaBase::ControlDataCode::rsv;
::rti::topic::reset_sample(sample.controlData);
}
void topic_type_support< ::TrainingAreaBase::SendControlDataRequest >::allocate_sample(::TrainingAreaBase::SendControlDataRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.controlCode, -1, -1);
::rti::topic::allocate_sample(sample.controlData, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendEquipmentMessageRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendEquipmentMessageRequestPlugin_new,
::TrainingAreaBase::SendEquipmentMessageRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendEquipmentMessageRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendEquipmentMessageRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendEquipmentMessageRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendEquipmentMessageRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendEquipmentMessageRequest >::from_cdr_buffer(::TrainingAreaBase::SendEquipmentMessageRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendEquipmentMessageRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendEquipmentMessageRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendEquipmentMessageRequest >::reset_sample(::TrainingAreaBase::SendEquipmentMessageRequest& sample)
{
sample.requestId = 0;
::rti::topic::reset_sample(sample.equipmentNumbers);
::rti::topic::reset_sample(sample.messageId);
::rti::topic::reset_sample(sample.sender);
::rti::topic::reset_sample(sample.subject);
::rti::topic::reset_sample(sample.message);
}
void topic_type_support< ::TrainingAreaBase::SendEquipmentMessageRequest >::allocate_sample(::TrainingAreaBase::SendEquipmentMessageRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.equipmentNumbers, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendExConfirmationReportRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendExConfirmationReportRequestPlugin_new,
::TrainingAreaBase::SendExConfirmationReportRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendExConfirmationReportRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendExConfirmationReportRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendExConfirmationReportRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendExConfirmationReportRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendExConfirmationReportRequest >::from_cdr_buffer(::TrainingAreaBase::SendExConfirmationReportRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendExConfirmationReportRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendExConfirmationReportRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendExConfirmationReportRequest >::reset_sample(::TrainingAreaBase::SendExConfirmationReportRequest& sample)
{
sample.requestId = 0;
sample.participantId = 0;
sample.partyId = 0;
sample.reference = "";
sample.unitIdentifier = "";
sample.identifier = "";
}
void topic_type_support< ::TrainingAreaBase::SendExConfirmationReportRequest >::allocate_sample(::TrainingAreaBase::SendExConfirmationReportRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.unitIdentifier, -1, -1);
::rti::topic::allocate_sample(sample.identifier, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendExFireReadinessRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendExFireReadinessRequestPlugin_new,
::TrainingAreaBase::SendExFireReadinessRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendExFireReadinessRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendExFireReadinessRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendExFireReadinessRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendExFireReadinessRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendExFireReadinessRequest >::from_cdr_buffer(::TrainingAreaBase::SendExFireReadinessRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendExFireReadinessRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendExFireReadinessRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendExFireReadinessRequest >::reset_sample(::TrainingAreaBase::SendExFireReadinessRequest& sample)
{
sample.requestId = 0;
sample.participantId = 0;
sample.partyId = 0;
sample.reference = "";
}
void topic_type_support< ::TrainingAreaBase::SendExFireReadinessRequest >::allocate_sample(::TrainingAreaBase::SendExFireReadinessRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.reference, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendExFiredReportRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendExFiredReportRequestPlugin_new,
::TrainingAreaBase::SendExFiredReportRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendExFiredReportRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendExFiredReportRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendExFiredReportRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendExFiredReportRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendExFiredReportRequest >::from_cdr_buffer(::TrainingAreaBase::SendExFiredReportRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendExFiredReportRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendExFiredReportRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendExFiredReportRequest >::reset_sample(::TrainingAreaBase::SendExFiredReportRequest& sample)
{
sample.requestId = 0;
sample.participantId = 0;
sample.partyId = 0;
sample.reference = "";
sample.unitIdentifier = "";
sample.identifier = "";
}
void topic_type_support< ::TrainingAreaBase::SendExFiredReportRequest >::allocate_sample(::TrainingAreaBase::SendExFiredReportRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.reference, -1, -1);
::rti::topic::allocate_sample(sample.unitIdentifier, -1, -1);
::rti::topic::allocate_sample(sample.identifier, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendFireSmokeMarkerDataRequestPlugin_new,
::TrainingAreaBase::SendFireSmokeMarkerDataRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendFireSmokeMarkerDataRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendFireSmokeMarkerDataRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendFireSmokeMarkerDataRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >::from_cdr_buffer(::TrainingAreaBase::SendFireSmokeMarkerDataRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendFireSmokeMarkerDataRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendFireSmokeMarkerDataRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >::reset_sample(::TrainingAreaBase::SendFireSmokeMarkerDataRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::SendFireSmokeMarkerDataRequest >::allocate_sample(::TrainingAreaBase::SendFireSmokeMarkerDataRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendGeopairingDataRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendGeopairingDataRequestPlugin_new,
::TrainingAreaBase::SendGeopairingDataRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendGeopairingDataRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendGeopairingDataRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendGeopairingDataRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendGeopairingDataRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendGeopairingDataRequest >::from_cdr_buffer(::TrainingAreaBase::SendGeopairingDataRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendGeopairingDataRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendGeopairingDataRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendGeopairingDataRequest >::reset_sample(::TrainingAreaBase::SendGeopairingDataRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::SendGeopairingDataRequest >::allocate_sample(::TrainingAreaBase::SendGeopairingDataRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendLanguageSelectionRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendLanguageSelectionRequestPlugin_new,
::TrainingAreaBase::SendLanguageSelectionRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendLanguageSelectionRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendLanguageSelectionRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendLanguageSelectionRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendLanguageSelectionRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendLanguageSelectionRequest >::from_cdr_buffer(::TrainingAreaBase::SendLanguageSelectionRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendLanguageSelectionRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendLanguageSelectionRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendLanguageSelectionRequest >::reset_sample(::TrainingAreaBase::SendLanguageSelectionRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
;
sample.language = ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange;
}
void topic_type_support< ::TrainingAreaBase::SendLanguageSelectionRequest >::allocate_sample(::TrainingAreaBase::SendLanguageSelectionRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.language, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendModifyUasStateRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendModifyUasStateRequestPlugin_new,
::TrainingAreaBase::SendModifyUasStateRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendModifyUasStateRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendModifyUasStateRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendModifyUasStateRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendModifyUasStateRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendModifyUasStateRequest >::from_cdr_buffer(::TrainingAreaBase::SendModifyUasStateRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendModifyUasStateRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendModifyUasStateRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendModifyUasStateRequest >::reset_sample(::TrainingAreaBase::SendModifyUasStateRequest& sample)
{
sample.requestId = 0;
sample.uasId = 0;
;
sample.uasState = ProjectDataManagement::UasState::UasState_Undefined;
sample.equipmentNumber = 0;
}
void topic_type_support< ::TrainingAreaBase::SendModifyUasStateRequest >::allocate_sample(::TrainingAreaBase::SendModifyUasStateRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.uasState, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendOcCommandRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendOcCommandRequestPlugin_new,
::TrainingAreaBase::SendOcCommandRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendOcCommandRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendOcCommandRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendOcCommandRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendOcCommandRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendOcCommandRequest >::from_cdr_buffer(::TrainingAreaBase::SendOcCommandRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendOcCommandRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendOcCommandRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendOcCommandRequest >::reset_sample(::TrainingAreaBase::SendOcCommandRequest& sample)
{
sample.requestId = 0;
::rti::topic::reset_sample(sample.equipmentNumbers);
sample.action = 0;
}
void topic_type_support< ::TrainingAreaBase::SendOcCommandRequest >::allocate_sample(::TrainingAreaBase::SendOcCommandRequest& sample, int, int)
{
::rti::topic::allocate_sample(sample.equipmentNumbers, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendOcDataRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendOcDataRequestPlugin_new,
::TrainingAreaBase::SendOcDataRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendOcDataRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendOcDataRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendOcDataRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendOcDataRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendOcDataRequest >::from_cdr_buffer(::TrainingAreaBase::SendOcDataRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendOcDataRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendOcDataRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendOcDataRequest >::reset_sample(::TrainingAreaBase::SendOcDataRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::SendOcDataRequest >::allocate_sample(::TrainingAreaBase::SendOcDataRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendParticipantBeStillWarningRequestPlugin_new,
::TrainingAreaBase::SendParticipantBeStillWarningRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendParticipantBeStillWarningRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendParticipantBeStillWarningRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendParticipantBeStillWarningRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >::from_cdr_buffer(::TrainingAreaBase::SendParticipantBeStillWarningRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendParticipantBeStillWarningRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendParticipantBeStillWarningRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >::reset_sample(::TrainingAreaBase::SendParticipantBeStillWarningRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.data = 0;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBeStillWarningRequest >::allocate_sample(::TrainingAreaBase::SendParticipantBeStillWarningRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendParticipantBlockedAreaRequestPlugin_new,
::TrainingAreaBase::SendParticipantBlockedAreaRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendParticipantBlockedAreaRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendParticipantBlockedAreaRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendParticipantBlockedAreaRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >::from_cdr_buffer(::TrainingAreaBase::SendParticipantBlockedAreaRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendParticipantBlockedAreaRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendParticipantBlockedAreaRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >::reset_sample(::TrainingAreaBase::SendParticipantBlockedAreaRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
;
sample.blockedAreaMode = TrainingAreaBase::BlockedAreaMode::Enter;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantBlockedAreaRequest >::allocate_sample(::TrainingAreaBase::SendParticipantBlockedAreaRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.blockedAreaMode, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendParticipantConfigurationRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendParticipantConfigurationRequestPlugin_new,
::TrainingAreaBase::SendParticipantConfigurationRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendParticipantConfigurationRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendParticipantConfigurationRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendParticipantConfigurationRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendParticipantConfigurationRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantConfigurationRequest >::from_cdr_buffer(::TrainingAreaBase::SendParticipantConfigurationRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendParticipantConfigurationRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendParticipantConfigurationRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendParticipantConfigurationRequest >::reset_sample(::TrainingAreaBase::SendParticipantConfigurationRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.positionIntervallVehicle = 0;
sample.positionIntervallPersonell = 0;
sample.positionIntervallAircraft = 0;
sample.positionTransmissionIntervall = 0;
sample.heightbarrier = 0;
;
sample.faultPositionHandling = TrainingAreaBase::FaultPositionHandling::FaultPositionHandling_NoChange;
;
sample.switchingPositionIntervall = TrainingAreaBase::SwitichingPositionIntervall::SwitichingPositionIntervall_NoChange;
sample.waittimeAdditionalBroadcastDemand = 0;
sample.factorWaittimeIncreaseHighload = 0;
sample.waittimeAutomaticVulnerabilityIncreaseLevel1 = 0;
sample.waittimeAutomaticVulnerabilityIncreaseLevel2 = 0;
sample.waittimeAutomaticVulnerabilityIncreaseLevel3 = 0;
;
sample.opticalCode = TrainingAreaBase::OpticalCode::OpticalCode_NoChange;
sample.vulnerabilityModel = 0;
sample.validTimeOps = 0;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantConfigurationRequest >::allocate_sample(::TrainingAreaBase::SendParticipantConfigurationRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.faultPositionHandling, -1, -1);
::rti::topic::allocate_sample(sample.switchingPositionIntervall, -1, -1);
::rti::topic::allocate_sample(sample.opticalCode, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendParticipantModeRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendParticipantModeRequestPlugin_new,
::TrainingAreaBase::SendParticipantModeRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendParticipantModeRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendParticipantModeRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendParticipantModeRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendParticipantModeRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantModeRequest >::from_cdr_buffer(::TrainingAreaBase::SendParticipantModeRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendParticipantModeRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendParticipantModeRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendParticipantModeRequest >::reset_sample(::TrainingAreaBase::SendParticipantModeRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.requestId = 0;
;
sample.language = ProjectDataManagement::LanguageConfiguration::LanguageConfiguration_NoChange;
;
sample.operationMode = ProjectDataManagement::OperationMode::OperationMode_NoChange;
sample.reactivationDetoxication = 0;
sample.reactivationMaintenance = 0;
sample.reactivationMedic = 0;
;
sample.protectionModeVest = ProjectDataManagement::WphMode::WphMode_NoChange;
;
sample.protectionModeHelmet = ProjectDataManagement::WphMode::WphMode_NoChange;
;
sample.personellProtection = ProjectDataManagement::PersonalProtection::PersonalProtection_NoChange;
;
sample.protectionLevel = ProjectDataManagement::ProtectionLevel::ProtectionLevel_NoChange;
;
sample.handgrenadeSearchMode = ProjectDataManagement::HandgrenadeSearchMode::HandgrenadeSearchMode_NoChange;
;
sample.internationalMode = ProjectDataManagement::InternationalMode::InternationalMode_NoChange;
;
sample.abcProtectionMode = ProjectDataManagement::ABCProtectionMode::ABCProtectionMode_NoChange;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantModeRequest >::allocate_sample(::TrainingAreaBase::SendParticipantModeRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.language, -1, -1);
::rti::topic::allocate_sample(sample.operationMode, -1, -1);
::rti::topic::allocate_sample(sample.protectionModeVest, -1, -1);
::rti::topic::allocate_sample(sample.protectionModeHelmet, -1, -1);
::rti::topic::allocate_sample(sample.personellProtection, -1, -1);
::rti::topic::allocate_sample(sample.protectionLevel, -1, -1);
::rti::topic::allocate_sample(sample.handgrenadeSearchMode, -1, -1);
::rti::topic::allocate_sample(sample.internationalMode, -1, -1);
::rti::topic::allocate_sample(sample.abcProtectionMode, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendParticipantSwVerionsRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendParticipantSwVerionsRequestPlugin_new,
::TrainingAreaBase::SendParticipantSwVerionsRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendParticipantSwVerionsRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendParticipantSwVerionsRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendParticipantSwVerionsRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendParticipantSwVerionsRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantSwVerionsRequest >::from_cdr_buffer(::TrainingAreaBase::SendParticipantSwVerionsRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendParticipantSwVerionsRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendParticipantSwVerionsRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendParticipantSwVerionsRequest >::reset_sample(::TrainingAreaBase::SendParticipantSwVerionsRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.equipmentFunctionId = 0;
}
void topic_type_support< ::TrainingAreaBase::SendParticipantSwVerionsRequest >::allocate_sample(::TrainingAreaBase::SendParticipantSwVerionsRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendResetAllDusMinesRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendResetAllDusMinesRequestPlugin_new,
::TrainingAreaBase::SendResetAllDusMinesRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendResetAllDusMinesRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendResetAllDusMinesRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendResetAllDusMinesRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendResetAllDusMinesRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendResetAllDusMinesRequest >::from_cdr_buffer(::TrainingAreaBase::SendResetAllDusMinesRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendResetAllDusMinesRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendResetAllDusMinesRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendResetAllDusMinesRequest >::reset_sample(::TrainingAreaBase::SendResetAllDusMinesRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.id);
}
void topic_type_support< ::TrainingAreaBase::SendResetAllDusMinesRequest >::allocate_sample(::TrainingAreaBase::SendResetAllDusMinesRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendSelectiveReammunitionRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendSelectiveReammunitionRequestPlugin_new,
::TrainingAreaBase::SendSelectiveReammunitionRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendSelectiveReammunitionRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendSelectiveReammunitionRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendSelectiveReammunitionRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendSelectiveReammunitionRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendSelectiveReammunitionRequest >::from_cdr_buffer(::TrainingAreaBase::SendSelectiveReammunitionRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendSelectiveReammunitionRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendSelectiveReammunitionRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendSelectiveReammunitionRequest >::reset_sample(::TrainingAreaBase::SendSelectiveReammunitionRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.requestId = 0;
sample.gearId = 0;
::rti::topic::reset_sample(sample.reammunition);
}
void topic_type_support< ::TrainingAreaBase::SendSelectiveReammunitionRequest >::allocate_sample(::TrainingAreaBase::SendSelectiveReammunitionRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.reammunition, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendSetSanitationRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendSetSanitationRequestPlugin_new,
::TrainingAreaBase::SendSetSanitationRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendSetSanitationRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendSetSanitationRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendSetSanitationRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendSetSanitationRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendSetSanitationRequest >::from_cdr_buffer(::TrainingAreaBase::SendSetSanitationRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendSetSanitationRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendSetSanitationRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendSetSanitationRequest >::reset_sample(::TrainingAreaBase::SendSetSanitationRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.requestId = 0;
sample.originatorEquipmentNumber = 0;
;
sample.qualification = TrainingAreaBase::Qualification::NotDefined;
sample.sanitationProceduresTaken = 0ll;
}
void topic_type_support< ::TrainingAreaBase::SendSetSanitationRequest >::allocate_sample(::TrainingAreaBase::SendSetSanitationRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.qualification, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendSetVulnerabilityModelRequestPlugin_new,
::TrainingAreaBase::SendSetVulnerabilityModelRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendSetVulnerabilityModelRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendSetVulnerabilityModelRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendSetVulnerabilityModelRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >::from_cdr_buffer(::TrainingAreaBase::SendSetVulnerabilityModelRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendSetVulnerabilityModelRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendSetVulnerabilityModelRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >::reset_sample(::TrainingAreaBase::SendSetVulnerabilityModelRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.vulnerabilityModelMineIed = 0;
sample.vulnerabilityModelAreaFire = 0;
sample.vulnerabilityModelOperationalResource = 0;
sample.vulnerabilityModelACWeaponry = 0;
}
void topic_type_support< ::TrainingAreaBase::SendSetVulnerabilityModelRequest >::allocate_sample(::TrainingAreaBase::SendSetVulnerabilityModelRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendTargetDataRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendTargetDataRequestPlugin_new,
::TrainingAreaBase::SendTargetDataRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendTargetDataRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendTargetDataRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendTargetDataRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendTargetDataRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendTargetDataRequest >::from_cdr_buffer(::TrainingAreaBase::SendTargetDataRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendTargetDataRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendTargetDataRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendTargetDataRequest >::reset_sample(::TrainingAreaBase::SendTargetDataRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::SendTargetDataRequest >::allocate_sample(::TrainingAreaBase::SendTargetDataRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SendUasWaypointRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SendUasWaypointRequestPlugin_new,
::TrainingAreaBase::SendUasWaypointRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SendUasWaypointRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SendUasWaypointRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SendUasWaypointRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SendUasWaypointRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SendUasWaypointRequest >::from_cdr_buffer(::TrainingAreaBase::SendUasWaypointRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SendUasWaypointRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SendUasWaypointRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SendUasWaypointRequest >::reset_sample(::TrainingAreaBase::SendUasWaypointRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
sample.actionNumber = 0;
sample.itemNumber = 0;
sample.planId = 0;
sample.name = "";
sample.properties = "";
}
void topic_type_support< ::TrainingAreaBase::SendUasWaypointRequest >::allocate_sample(::TrainingAreaBase::SendUasWaypointRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.name, -1, -1);
::rti::topic::allocate_sample(sample.properties, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::ServiceControl >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::ServiceControlPlugin_new,
::TrainingAreaBase::ServiceControlPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::ServiceControl >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::ServiceControl& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = ServiceControlPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = ServiceControlPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::ServiceControl >::from_cdr_buffer(::TrainingAreaBase::ServiceControl& sample,
const std::vector<char>& buffer)
{
RTIBool ok = ServiceControlPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::ServiceControl from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::ServiceControl >::reset_sample(::TrainingAreaBase::ServiceControl& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.serviceControlState = TrainingAreaBase::ServiceControlEnum::PRESHUTDOWN;
}
void topic_type_support< ::TrainingAreaBase::ServiceControl >::allocate_sample(::TrainingAreaBase::ServiceControl& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.serviceControlState, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SetDevicePowerRequest >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SetDevicePowerRequestPlugin_new,
::TrainingAreaBase::SetDevicePowerRequestPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SetDevicePowerRequest >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SetDevicePowerRequest& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SetDevicePowerRequestPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SetDevicePowerRequestPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SetDevicePowerRequest >::from_cdr_buffer(::TrainingAreaBase::SetDevicePowerRequest& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SetDevicePowerRequestPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SetDevicePowerRequest from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SetDevicePowerRequest >::reset_sample(::TrainingAreaBase::SetDevicePowerRequest& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::reset_sample(sample);
;
sample.powerType = TrainingAreaBase::PowerMethod::Unknown;
sample.subdeviceId = 0;
}
void topic_type_support< ::TrainingAreaBase::SetDevicePowerRequest >::allocate_sample(::TrainingAreaBase::SetDevicePowerRequest& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::FtEquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.powerType, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::SpecialSensorData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::SpecialSensorDataPlugin_new,
::TrainingAreaBase::SpecialSensorDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::SpecialSensorData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::SpecialSensorData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = SpecialSensorDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = SpecialSensorDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::SpecialSensorData >::from_cdr_buffer(::TrainingAreaBase::SpecialSensorData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = SpecialSensorDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::SpecialSensorData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::SpecialSensorData >::reset_sample(::TrainingAreaBase::SpecialSensorData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.position);
sample.operationalState = 0;
}
void topic_type_support< ::TrainingAreaBase::SpecialSensorData >::allocate_sample(::TrainingAreaBase::SpecialSensorData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::StateIed >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::StateIedPlugin_new,
::TrainingAreaBase::StateIedPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::StateIed >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::StateIed& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = StateIedPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = StateIedPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::StateIed >::from_cdr_buffer(::TrainingAreaBase::StateIed& sample,
const std::vector<char>& buffer)
{
RTIBool ok = StateIedPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::StateIed from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::StateIed >::reset_sample(::TrainingAreaBase::StateIed& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::IedBaseData >::reset_sample(sample);
sample.batteryWarnings = 0;
sample.errorStateElectronics = 0;
sample.errorStatePyrotechnics1 = 0;
sample.errorStatePyrotechnics2 = 0;
sample.errorStatePyrotechnics3 = 0;
}
void topic_type_support< ::TrainingAreaBase::StateIed >::allocate_sample(::TrainingAreaBase::StateIed& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::IedBaseData >::allocate_sample(sample, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::TargetData >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::TargetDataPlugin_new,
::TrainingAreaBase::TargetDataPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::TargetData >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::TargetData& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = TargetDataPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = TargetDataPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::TargetData >::from_cdr_buffer(::TrainingAreaBase::TargetData& sample,
const std::vector<char>& buffer)
{
RTIBool ok = TargetDataPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::TargetData from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::TargetData >::reset_sample(::TrainingAreaBase::TargetData& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
::rti::topic::reset_sample(sample.payload);
}
void topic_type_support< ::TrainingAreaBase::TargetData >::allocate_sample(::TrainingAreaBase::TargetData& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.payload, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::TrajectoryAdler >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::TrajectoryAdlerPlugin_new,
::TrainingAreaBase::TrajectoryAdlerPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::TrajectoryAdler >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::TrajectoryAdler& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = TrajectoryAdlerPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = TrajectoryAdlerPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::TrajectoryAdler >::from_cdr_buffer(::TrainingAreaBase::TrajectoryAdler& sample,
const std::vector<char>& buffer)
{
RTIBool ok = TrajectoryAdlerPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::TrajectoryAdler from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::TrajectoryAdler >::reset_sample(::TrainingAreaBase::TrajectoryAdler& sample)
{
;
sample.trajectoryError = TrainingAreaBase::TrajectoryError::Ok;
::rti::topic::reset_sample(sample.positionTarget);
;
sample.weaponSystemType = TrainingAreaBase::WeaponSystemType::PZH;
sample.flightTime = 0;
sample.peakHeight = 0;
sample.firingDirection = 0;
sample.dropAngle = 0.0;
::rti::topic::reset_sample(sample.geometry);
sample.trajectoryStartTime = 0ll;
::rti::topic::reset_sample(sample.dispersion);
::rti::topic::reset_sample(sample.trajectory);
sample.partyId = 0;
}
void topic_type_support< ::TrainingAreaBase::TrajectoryAdler >::allocate_sample(::TrainingAreaBase::TrajectoryAdler& sample, int, int)
{
::rti::topic::allocate_sample(sample.trajectoryError, -1, -1);
::rti::topic::allocate_sample(sample.positionTarget, -1, -1);
::rti::topic::allocate_sample(sample.weaponSystemType, -1, -1);
::rti::topic::allocate_sample(sample.geometry, -1, -1);
::rti::topic::allocate_sample(sample.dispersion, -1, -1);
::rti::topic::allocate_sample(sample.trajectory, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::UASMissionStatus >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::UASMissionStatusPlugin_new,
::TrainingAreaBase::UASMissionStatusPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::UASMissionStatus >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::UASMissionStatus& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = UASMissionStatusPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = UASMissionStatusPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::UASMissionStatus >::from_cdr_buffer(::TrainingAreaBase::UASMissionStatus& sample,
const std::vector<char>& buffer)
{
RTIBool ok = UASMissionStatusPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::UASMissionStatus from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::UASMissionStatus >::reset_sample(::TrainingAreaBase::UASMissionStatus& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.currentTask = ProjectDataManagement::UasActionTask::Undefined;
sample.currentMissionName = "";
sample.missionEnded = "";
}
void topic_type_support< ::TrainingAreaBase::UASMissionStatus >::allocate_sample(::TrainingAreaBase::UASMissionStatus& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.currentTask, -1, -1);
::rti::topic::allocate_sample(sample.currentMissionName, -1, -1);
::rti::topic::allocate_sample(sample.missionEnded, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::UASRadioLinkConnectionState >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::UASRadioLinkConnectionStatePlugin_new,
::TrainingAreaBase::UASRadioLinkConnectionStatePlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::UASRadioLinkConnectionState >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::UASRadioLinkConnectionState& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = UASRadioLinkConnectionStatePlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = UASRadioLinkConnectionStatePlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::UASRadioLinkConnectionState >::from_cdr_buffer(::TrainingAreaBase::UASRadioLinkConnectionState& sample,
const std::vector<char>& buffer)
{
RTIBool ok = UASRadioLinkConnectionStatePlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::UASRadioLinkConnectionState from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::UASRadioLinkConnectionState >::reset_sample(::TrainingAreaBase::UASRadioLinkConnectionState& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.connectionStatus = ProjectDataManagement::UasState::UasState_Undefined;
}
void topic_type_support< ::TrainingAreaBase::UASRadioLinkConnectionState >::allocate_sample(::TrainingAreaBase::UASRadioLinkConnectionState& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.connectionStatus, -1, -1);
}
void topic_type_support< ::TrainingAreaBase::UASStatus >:: register_type(
::dds::domain::DomainParticipant& participant,
const std::string& type_name)
{
::rti::domain::register_type_plugin(
participant,
type_name,
::TrainingAreaBase::UASStatusPlugin_new,
::TrainingAreaBase::UASStatusPlugin_delete);
}
std::vector<char>& topic_type_support< ::TrainingAreaBase::UASStatus >::to_cdr_buffer(
std::vector<char>& buffer,
const ::TrainingAreaBase::UASStatus& sample,
::dds::core::policy::DataRepresentationId representation)
{
// First get the length of the buffer
unsigned int length = 0;
RTIBool ok = UASStatusPlugin_serialize_to_cdr_buffer(
NULL,
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to calculate cdr buffer size");
// Create a vector with that size and copy the cdr buffer into it
buffer.resize(length);
ok = UASStatusPlugin_serialize_to_cdr_buffer(
&buffer[0],
&length,
&sample,
representation);
::rti::core::check_return_code(
ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to copy cdr buffer");
return buffer;
}
void topic_type_support< ::TrainingAreaBase::UASStatus >::from_cdr_buffer(::TrainingAreaBase::UASStatus& sample,
const std::vector<char>& buffer)
{
RTIBool ok = UASStatusPlugin_deserialize_from_cdr_buffer(
&sample,
&buffer[0],
static_cast<unsigned int>(buffer.size()));
::rti::core::check_return_code(ok ? DDS_RETCODE_OK : DDS_RETCODE_ERROR,
"Failed to create ::TrainingAreaBase::UASStatus from cdr buffer");
}
void topic_type_support< ::TrainingAreaBase::UASStatus >::reset_sample(::TrainingAreaBase::UASStatus& sample)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::reset_sample(sample);
;
sample.uasState = ProjectDataManagement::UasState::UasState_Undefined;
}
void topic_type_support< ::TrainingAreaBase::UASStatus >::allocate_sample(::TrainingAreaBase::UASStatus& sample, int, int)
{
// Initialize base
topic_type_support< ::TrainingAreaBase::EquipmentBase >::allocate_sample(sample, -1, -1);
::rti::topic::allocate_sample(sample.uasState, -1, -1);
}
}
}
#endif // NDDS_STANDALONE_TYPE