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>
81 lines
4.0 KiB
C++
81 lines
4.0 KiB
C++
/**
|
|
* Send telegrams - interface
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Ehrlicher, SLSE, 2016-04-14
|
|
*/
|
|
#pragma once
|
|
|
|
#include "training_area_telegrams.h"
|
|
|
|
namespace TrainingAreaBase
|
|
{
|
|
class SendToTab
|
|
{
|
|
protected:
|
|
SendToTab() = default;
|
|
virtual ~SendToTab() = default;
|
|
public:
|
|
virtual const char *name() const = 0;
|
|
enum class HandleState
|
|
{
|
|
No, //<! the telegram can not be send to through this channel
|
|
YesFallback,//<! the telegram can be send through this channel if no other is available
|
|
YesShare, //<! the telegram can be sent through this channel, but should also sent through others (e.g. to all equipments)
|
|
Debug, //<! the telegram should be sent through
|
|
YesConsume //<! the telegram must be sent through this channel
|
|
};
|
|
virtual HandleState canHandleTelegram(int equipmentNumber, int telegramId) const = 0;
|
|
virtual void resetSendCounter() = 0;
|
|
virtual bool txData(const TetraIcd::Acknowledge &data) = 0;
|
|
virtual bool txData(const TetraIcd::DemandBite &data) = 0;
|
|
virtual bool txData(const TetraIcd::Init &data) = 0;
|
|
virtual bool txData(const TetraIcd::SetVulnerabilityModel &data) = 0;
|
|
virtual bool txData(const TetraIcd::DemandEquipmentConfigurationReport & data) = 0;
|
|
virtual bool txData(const TetraIcd::DemandVulnerabilityStateChange &data) = 0;
|
|
virtual bool txData(const TetraIcd::LanguageSelection &data) = 0;
|
|
virtual bool txData(const TetraIcd::EquipmentMessage &data) = 0;
|
|
virtual bool txData(const TetraIcd::EquipmentMessageOC &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateSingleExplosion &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateAreaExplosion &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateMineArea &data) = 0;
|
|
virtual bool txData(const TetraIcd::MineAreaSingleMineState &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateNContamination &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateCContamination &data) = 0;
|
|
virtual bool txData(const TetraIcd::DeactivateEffectSimulation &data) = 0;
|
|
virtual bool txData(const TetraIcd::ModifyAreaEffectSimulationName &data) = 0;
|
|
virtual bool txData(const TetraIcd::PauseEffectSimulation &data) = 0;
|
|
virtual bool txData(const TetraIcd::ResumeEffectSimulation &data) = 0;
|
|
virtual bool txData(const TetraIcd::MineTriggered &data) = 0;
|
|
virtual bool txData(const TetraIcd::DusMineReactivation &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateFunctionalArea &data) = 0;
|
|
virtual bool txData(const TetraIcd::CreateDusSingleMine &data) = 0;
|
|
virtual bool txData(const TetraIcd::ExerciseEnvironmentData &data) = 0;
|
|
virtual bool txData(const TetraIcd::ExerciseStateData &data) = 0;
|
|
virtual bool txData(const TetraIcd::ParticipantSwVersionsRequest &data) = 0;
|
|
virtual bool txData(const TetraIcd::OpaquePayloadDataOut &data) = 0;
|
|
virtual bool txData(const TetraIcd::TechnicalArea &data) = 0;
|
|
virtual bool txData(const TetraIcd::CesHitInformation &data) = 0;
|
|
virtual bool txData(const TetraIcd::CesHitRequest &data) = 0;
|
|
virtual bool txData(const TetraIcd::ParticipantMode &data) = 0;
|
|
virtual bool txData(const TetraIcd::DemandParticipantMode & data) = 0;
|
|
virtual bool txData(const TetraIcd::ParticipantConfiguration &data) = 0;
|
|
virtual bool txData(const TetraIcd::DemandParticipantConfiguration &data) = 0;
|
|
virtual bool txData(const TetraIcd::ExerciseEquipmentAssignmentComplete &data) = 0;
|
|
virtual bool txData(const TetraIcd::Sanitation &data) = 0;
|
|
virtual bool txData(const TetraIcd::SelectiveReammunition &data) = 0;
|
|
virtual bool txData(const TetraIcd::SetDevicePowerRequest &data) = 0;
|
|
virtual bool txData(const TetraIcd::OcCommand &data) = 0;
|
|
// Adler
|
|
virtual bool txData(const TrainingAreaBase::TetraIcd::ExFireReadiness &data) = 0;
|
|
virtual bool txData(const TrainingAreaBase::TetraIcd::ExFiredReport&data) = 0;
|
|
virtual bool txData(const TrainingAreaBase::TetraIcd::ExConfirmationReport &data) = 0;
|
|
|
|
// UAS
|
|
virtual bool txData(const TetraIcd::UAVPerformMission &data) = 0;
|
|
virtual bool txData(const TetraIcd::UAVChangeState &data) = 0;
|
|
|
|
};
|
|
}
|