Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -55,7 +55,7 @@ NGL_TARGET_LINK_LIBRARIES(svcOscCommon
|
||||
PRIVATE
|
||||
RTI::nddscpp2
|
||||
PUBLIC
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
ddscore
|
||||
NGLLogger
|
||||
ngldb
|
||||
@@ -151,7 +151,7 @@ CODEGEN_SQL(SRCS_exe ${xml_FILE})
|
||||
NGL_ADD_SVC_ICON(SRCS_exe)
|
||||
NGL_ADD_EXECUTABLE(SV svcOcSituationClient ${SRCS_exe})
|
||||
NGL_TARGET_LINK_LIBRARIES(svcOcSituationClient
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
svcOscCommon
|
||||
svcOscServer
|
||||
svcCoreClient
|
||||
|
||||
+2
-1
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "handler_oc_aes_data.h"
|
||||
#include <utility>
|
||||
|
||||
#include <LtsUtilsCore/qbytearray_byteaccess.h>
|
||||
|
||||
@@ -177,7 +178,7 @@ void HandlerOcAesData::handleDangerAreas(const QByteArray &data, size_t pos)
|
||||
m_aesFtc->dangerAreaModifyRequest(req, this);
|
||||
}
|
||||
|
||||
for (int id : qAsConst(aesToBeDeleted))
|
||||
for (int id : std::as_const(aesToBeDeleted))
|
||||
{
|
||||
if (m_aesDtc->dangerArea(id).isCentral())
|
||||
continue;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "handler_oc_data.h"
|
||||
#include <utility>
|
||||
|
||||
#include <LtsUtilsCore/dds_vector.h>
|
||||
#include <LtsUtilsCore/qbytearray_byteaccess.h>
|
||||
@@ -74,7 +75,7 @@ bool HandlerOcData::init()
|
||||
return false;
|
||||
}
|
||||
|
||||
for (const auto &data : qAsConst(dataVec))
|
||||
for (const auto &data : std::as_const(dataVec))
|
||||
{
|
||||
switch (data.aesTypeId)
|
||||
{
|
||||
|
||||
+3
-2
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "handler_oc_situation_data.h"
|
||||
#include <utility>
|
||||
|
||||
#include <LtsUtilsCore/qbytearray_byteaccess.h>
|
||||
#include <LtsUtilsCore/dds_vector.h>
|
||||
@@ -97,7 +98,7 @@ void HandlerOcSituationData::process(const QByteArray &data, bool bIsInitial)
|
||||
|
||||
int ownEquipmentNumber = m_tabocDtc->specificsEquipment(1).equipmentNumber();
|
||||
int ownParticipantId = -1;
|
||||
for (const int &participantId : qAsConst(m_participantId2EqId))
|
||||
for (const int &participantId : std::as_const(m_participantId2EqId))
|
||||
{
|
||||
if (m_participantId2EqId.value(participantId) == ownEquipmentNumber)
|
||||
{
|
||||
@@ -138,7 +139,7 @@ void HandlerOcSituationData::removeAllPositions()
|
||||
invalidPos.position().reportingSource(Core::PositionReportingSource::SetByOperator); // SetByOperator -> nan is allowed
|
||||
invalidPos.sampleTime(m_dds->currentPartitionTime());
|
||||
|
||||
for (const auto eqNumber : qAsConst(m_participantId2EqId))
|
||||
for (const auto eqNumber : std::as_const(m_participantId2EqId))
|
||||
{
|
||||
invalidPos.equipmentNumber(eqNumber);
|
||||
m_tabDts->publish(invalidPos);
|
||||
|
||||
Reference in new issue
Block a user