Migration of Legatus codebase to Qt6 with RTI Connext DDS 7.7 integration is partially complete. Core DDS targets build successfully, but ProjectDataManagement module blocks full ddsfts compilation due to IDL definition conflicts.
This commit is contained in:
256 files changed
+1170
-610
No files matched your search
+5
-4
@@ -1161,7 +1161,7 @@ QStringList DtcImplCustom::chargeNames(std::vector<int> &chargeIds)
|
||||
QStringList sl;
|
||||
auto uleisClassOffsets = (*it);
|
||||
sl.reserve(uleisClassOffsets.size());
|
||||
for (UleisClassOffset o : qAsConst(uleisClassOffsets))
|
||||
for (UleisClassOffset o : std::as_const(uleisClassOffsets))
|
||||
sl << offsetName(o);
|
||||
|
||||
if (sl.size() == 6)
|
||||
@@ -1628,7 +1628,7 @@ ProjectDataManagement::BuildingChargeEffect DtcImplCustom::getBuildingChargeEffe
|
||||
waitForHistoricalDataBuildingChargeEffect(2000);
|
||||
}
|
||||
|
||||
for (const ProjectDataManagement::BuildingChargeEffect &bcEffect : qAsConst(m_buildingChargeEffectCont))
|
||||
for (const ProjectDataManagement::BuildingChargeEffect &bcEffect : std::as_const(m_buildingChargeEffectCont))
|
||||
{
|
||||
if (bcEffect.chargeTypeId == chargeTypeId)
|
||||
{
|
||||
@@ -1688,7 +1688,7 @@ QString DtcImplCustom::adlerLoadTypeName(int loadTypeId)
|
||||
|
||||
QString DtcImplCustom::adlerTargetTypeName(int targetTypeId)
|
||||
{
|
||||
for (const ProjectDataManagement::TargetType &targetTyp : qAsConst(m_targetTypeCont))
|
||||
for (const ProjectDataManagement::TargetType &targetTyp : std::as_const(m_targetTypeCont))
|
||||
{
|
||||
const QJsonObject obj = QJsonDocument::fromJson(QByteArray::fromRawData(targetTyp.properties.c_str(),
|
||||
targetTyp.properties.size())).object();
|
||||
@@ -1700,7 +1700,7 @@ QString DtcImplCustom::adlerTargetTypeName(int targetTypeId)
|
||||
|
||||
QString DtcImplCustom::adlerTargetSubTypeName(int targetSubTypeId)
|
||||
{
|
||||
for (const ProjectDataManagement::TargetSubType &targetSubTyp : qAsConst(m_targetSubTypeCont))
|
||||
for (const ProjectDataManagement::TargetSubType &targetSubTyp : std::as_const(m_targetSubTypeCont))
|
||||
{
|
||||
const QJsonObject obj = QJsonDocument::fromJson(QByteArray::fromRawData(targetSubTyp.properties.c_str(),
|
||||
targetSubTyp.properties.size())).object();
|
||||
@@ -1709,6 +1709,7 @@ QString DtcImplCustom::adlerTargetSubTypeName(int targetSubTypeId)
|
||||
}
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
int DtcImplCustom::getAmountFireMarkers(int firePurposeId)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user