Removes migration stub headers superseded by codegen outputs

Drops 184 stub headers and obsolete stub tests now generated in the build tree.
This commit is contained in:
berrux-dev committed 2026-09-21 02:38:33 +02:00
1 parent 4e29022c06
commit 220ca64679
184 files changed
-8951

No files matched your search

@@ -1,259 +0,0 @@
/**
* Stub implementation for DtcImpl base class
* Qt6 Migration - provides minimal stub implementations
*/
#include "pdm_dtc_impl.h"
#include <QJsonObject>
namespace ProjectDataManagement
{
namespace Interface
{
DtcImpl::DtcImpl(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector)
: m_ddsConnector(ddsConnector)
{
}
DtcImpl::~DtcImpl() = default;
// Data access methods - stub implementations
ChargeTypeData DtcImpl::chargeType(int /*chargeTypeId*/)
{
return ChargeTypeData();
}
IgniterType DtcImpl::igniterType(int /*igniterTypeId*/)
{
return IgniterType();
}
IgniterFunction DtcImpl::igniterFunction(int /*igniterFunctionId*/)
{
return IgniterFunction();
}
LoadType DtcImpl::loadType(int /*loadTypeId*/)
{
return LoadType();
}
GearType DtcImpl::gearType(int /*gearTypeId*/)
{
return GearType();
}
int DtcImpl::targetType(int /*targetTypeId*/)
{
return 0;
}
TargetSubType DtcImpl::targetSubType(int /*targetSubTypeId*/)
{
return TargetSubType();
}
// Collection getters - stub implementations
QMap<int, ChargeTypeData> DtcImpl::chargeTypes()
{
return QMap<int, ChargeTypeData>();
}
QVector<IgniterType> DtcImpl::igniterTypes()
{
return QVector<IgniterType>();
}
QVector<IgniterFunction> DtcImpl::igniterFunctions()
{
return QVector<IgniterFunction>();
}
QVector<LoadType> DtcImpl::loadTypes()
{
return QVector<LoadType>();
}
QVector<GearType> DtcImpl::gearTypes()
{
return QVector<GearType>();
}
QVector<int> DtcImpl::targetTypes()
{
return QVector<int>();
}
QVector<TargetSubType> DtcImpl::targetSubTypes()
{
return QVector<TargetSubType>();
}
QVector<ChargeTypeIgniterTypeIgniterFunction> DtcImpl::chargeTypeIgniterTypeIgniterFunctions()
{
return QVector<ChargeTypeIgniterTypeIgniterFunction>();
}
QVector<ChargeTypeLoadType> DtcImpl::chargeTypeLoadTypes()
{
return QVector<ChargeTypeLoadType>();
}
QVector<GearTypeChargeType> DtcImpl::gearTypeChargeTypes()
{
return QVector<GearTypeChargeType>();
}
QVector<BuildingChargeEffect> DtcImpl::buildingChargeEffects()
{
return QVector<BuildingChargeEffect>();
}
// isEnabled checks - stub implementations
bool DtcImpl::isChargeTypeEnabled()
{
return false;
}
bool DtcImpl::isIgniterTypeEnabled()
{
return false;
}
bool DtcImpl::isIgniterFunctionEnabled()
{
return false;
}
bool DtcImpl::isLoadTypeEnabled()
{
return false;
}
bool DtcImpl::isGearTypeEnabled()
{
return false;
}
bool DtcImpl::isTargetTypeEnabled()
{
return false;
}
bool DtcImpl::isTargetSubTypeEnabled()
{
return false;
}
bool DtcImpl::isChargeTypeIgniterTypeIgniterFunctionEnabled()
{
return false;
}
bool DtcImpl::isChargeTypeLoadTypeEnabled()
{
return false;
}
bool DtcImpl::isGearTypeChargeTypeEnabled()
{
return false;
}
bool DtcImpl::isBuildingChargeEffectEnabled()
{
return false;
}
// waitForHistoricalData methods - stub implementations
void DtcImpl::waitForHistoricalDataChargeType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataIgniterType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataIgniterFunction(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataLoadType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataGearType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataTargetType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataTargetSubType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataChargeTypeIgniterTypeIgniterFunction(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataChargeTypeLoadType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataGearTypeChargeType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataBuildingChargeEffect(int /*timeout_ms*/)
{
}
// Additional enable methods for pdm_handler.cpp
void DtcImpl::enableGearType(bool /*enable*/)
{
}
void DtcImpl::enableGearTypeChargeType(bool /*enable*/)
{
}
void DtcImpl::enableTargetTypeTargetSubType(bool /*enable*/)
{
}
void DtcImpl::enableRadioGroup(bool /*enable*/)
{
}
void DtcImpl::enableVulnerabilityKind(bool /*enable*/)
{
}
void DtcImpl::enableBuildingChargeEffect(bool /*enable*/)
{
}
// Additional waitForHistoricalData methods for pdm_handler.cpp
void DtcImpl::waitForHistoricalDataTargetTypeTargetSubType(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataRadioGroup(int /*timeout_ms*/)
{
}
void DtcImpl::waitForHistoricalDataVulnerabilityKind(int /*timeout_ms*/)
{
}
// Helper methods
QJsonObject DtcImpl::propertiesToJson(const std::string & /*properties*/)
{
return QJsonObject();
}
} // namespace Interface
} // namespace ProjectDataManagement
@@ -1,7 +0,0 @@
// Stub file for pdm_enums.hpp - used when BUILD_RTI=OFF
#ifndef PDM_ENUMS_HPP
#define PDM_ENUMS_HPP
// Minimal stub - actual enums generated by rtiddsgen when BUILD_RTI=ON
#endif // PDM_ENUMS_HPP
@@ -1,34 +0,0 @@
/**
* Operator Rights definitions
*/
// warning: this file is generated with command
// Lts/Common/CodeGen/codegen_simple.py ALL Lts/Services/ProjectDataManagement/pdm_service.xml build/Lts/Services/ProjectDataManagement/
// at Sun Sep 6 18:00:15 2026
// it will be overwritten by next run - do not modify!
#pragma once
namespace ProjectDataManagement
{
static const int Offset = 29;
}
namespace OperatorRights
{
enum Charges
{
ChargeVisibilityEdit = 0x1d010001,
};
enum Groups_ProjectDataManagement
{
GroupChargeVisibility = 0x1d010000,
};
enum Plugins_ProjectDataManagement
{
PluginCharges = 0x1d010000,
};
} // namespace OperatorRights
@@ -1,7 +0,0 @@
// Stub file for pdm_translation.h - used when BUILD_GRANTLEE=OFF
#ifndef PDM_TRANSLATION_H
#define PDM_TRANSLATION_H
// Minimal stub - actual translation generated by codegen when BUILD_GRANTLEE=ON
#endif // PDM_TRANSLATION_H
@@ -1,15 +0,0 @@
// Stub file for pdm_types.h - used when BUILD_GRANTLEE=OFF
#ifndef PDM_TYPES_H
#define PDM_TYPES_H
#include <cstdint>
namespace ProjectDataManagement {
enum class EventType : std::int32_t {
Unknown = 0
};
} // namespace ProjectDataManagement
#endif // PDM_TYPES_H