Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -18,12 +18,11 @@
|
||||
namespace AreaEffectSimulation
|
||||
{
|
||||
|
||||
DdsHandler::DdsHandler(int domainId, int exerciseId, QObject *parent)
|
||||
: QObject(parent)
|
||||
DdsHandler::DdsHandler(int domainId, int exerciseId, QObject *parent) : QObject(parent)
|
||||
, m_ddsConnector(std::make_shared<DDSConnector::DdsConnector>(domainId, IDL::PartitionType::Exercise, exerciseId))
|
||||
, m_currentTimeMSec(-1)
|
||||
{
|
||||
DEBUG_LOG() << "DdsHandler(" << domainId << ") for partition: " << m_ddsConnector->getDefaultPartition();
|
||||
, m_currentTimeMSec(-1),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
DEBUG_LOG(m_logger) << "DdsHandler(" << domainId << ") for partition: " << m_ddsConnector->getDefaultPartition();
|
||||
}
|
||||
|
||||
DdsHandler::~DdsHandler()
|
||||
@@ -45,7 +44,7 @@ bool DdsHandler::init(const QStringList &qosFileList)
|
||||
{
|
||||
if (!m_ddsConnector->init(qosFileList))
|
||||
{
|
||||
ERROR_LOG() << "Error initializing dds connections - aborting";
|
||||
ERROR_LOG(m_logger) << "Error initializing dds connections - aborting";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -84,7 +83,7 @@ bool DdsHandler::init(const QStringList &qosFileList)
|
||||
m_ddsDts = AreaEffectSimulation::Interface::Dts::create(m_ddsConnector);
|
||||
m_ddsFts = AreaEffectSimulation::Interface::Fts::create(m_ddsConnector);
|
||||
bRet &= m_ddsDts->enableAll();
|
||||
DEBUG_LOG() << "initialized Dts: " << bRet;
|
||||
DEBUG_LOG(m_logger) << "initialized Dts: " << bRet;
|
||||
|
||||
bRet &= m_ddsFts->enableAll();
|
||||
bRet &= m_ddsFts->enableTargetPositionsModify();
|
||||
@@ -95,7 +94,7 @@ bool DdsHandler::init(const QStringList &qosFileList)
|
||||
bRet &= m_ddsFts->enableAcknowledgeExternalAesItem();
|
||||
bRet &= m_ddsFts->enableSetAesItemEffectorState();
|
||||
|
||||
DEBUG_LOG() << "initialized Fts: " << bRet;
|
||||
DEBUG_LOG(m_logger) << "initialized Fts: " << bRet;
|
||||
|
||||
m_pdmDtc = ProjectDataManagement::Interface::Dtc::create(m_ddsConnector);
|
||||
m_pdmDtc->enableChargeType();
|
||||
|
||||
Reference in new issue
Block a user