Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -20,7 +20,7 @@ namespace NmeaManagement
|
||||
DdsHandler::DdsHandler(int domainId)
|
||||
: m_ddsConnector(std::make_shared<DDSConnector::DdsConnector>(domainId, IDL::PartitionType::Any))
|
||||
{
|
||||
DEBUG_LOG() << "DdsHandler(" << domainId << ") for partition: " << m_ddsConnector->getDefaultPartition();
|
||||
DEBUG_LOG(m_logger) << "DdsHandler(" << domainId << ") for partition: " << m_ddsConnector->getDefaultPartition();
|
||||
}
|
||||
|
||||
DdsHandler::~DdsHandler()
|
||||
@@ -30,7 +30,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;
|
||||
}
|
||||
|
||||
@@ -46,36 +46,36 @@ bool DdsHandler::init(const QStringList &qosFileList)
|
||||
|
||||
if (!m_ddsDts->enableBatteryAlarm())
|
||||
{
|
||||
ERROR_LOG() << "Could not initialize NmeaManagement enableBatteryAlarm data topic server";
|
||||
ERROR_LOG(m_logger) << "Could not initialize NmeaManagement enableBatteryAlarm data topic server";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_ddsDts->enableServiceControl())
|
||||
{
|
||||
ERROR_LOG() << "Could not initialize NmeaManagement enableServiceControl data topic server";
|
||||
ERROR_LOG(m_logger) << "Could not initialize NmeaManagement enableServiceControl data topic server";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_ddsDts->enableBatteryState())
|
||||
{
|
||||
ERROR_LOG() << "Could not initialize NmeaManagement enableBatteryState data topic server";
|
||||
ERROR_LOG(m_logger) << "Could not initialize NmeaManagement enableBatteryState data topic server";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_ddsDts->enablePositionExcon())
|
||||
{
|
||||
ERROR_LOG() << "Could not initialize NmeaManagement enablePositionExcon data topic server";
|
||||
ERROR_LOG(m_logger) << "Could not initialize NmeaManagement enablePositionExcon data topic server";
|
||||
return false;
|
||||
}
|
||||
INFO_LOG() << "Dts initialised";
|
||||
INFO_LOG(m_logger) << "Dts initialised";
|
||||
|
||||
|
||||
if (!m_ddsFts->enableAll())
|
||||
{
|
||||
ERROR_LOG() << "Could not initialize NmeaManagement enableAll function topic";
|
||||
ERROR_LOG(m_logger) << "Could not initialize NmeaManagement enableAll function topic";
|
||||
return false;
|
||||
}
|
||||
INFO_LOG() << "Fts initialised";
|
||||
INFO_LOG(m_logger) << "Fts initialised";
|
||||
|
||||
// TODO: call at the end of main_handler init:
|
||||
this->pacemaker()->setNewState(Core::RunningState::Running);
|
||||
|
||||
Reference in new issue
Block a user