Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+48
@@ -0,0 +1,48 @@
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <DDS/DDSConnector/dds_connector.h>
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
#include <ParticipantManagement/ppm_ftc.h>
|
||||
|
||||
#include "logger.h"
|
||||
|
||||
using PpmDtc = std::shared_ptr<ParticipantManagement::Interface::Dtc>;
|
||||
using PpmFtc = std::shared_ptr<ParticipantManagement::Interface::Ftc>;
|
||||
|
||||
namespace WarehouseManagement
|
||||
{
|
||||
|
||||
|
||||
class DdsHandlerExercise
|
||||
{
|
||||
public:
|
||||
DdsHandlerExercise(const dds::domain::DomainParticipant &dp, int exerciseId);
|
||||
|
||||
bool init(const QStringList &qosFileList = QStringList());
|
||||
|
||||
PpmDtc ppmDtc() const
|
||||
{
|
||||
return m_ppmDtc;
|
||||
}
|
||||
|
||||
PpmFtc ppmFtc() const
|
||||
{
|
||||
return m_ppmFtc;
|
||||
}
|
||||
|
||||
int getExerciseId() const
|
||||
{
|
||||
return m_ddsConnector->getPartitionId();
|
||||
}
|
||||
|
||||
private:
|
||||
std::shared_ptr<DDSConnector::DdsConnector> m_ddsConnector;
|
||||
PpmDtc m_ppmDtc;
|
||||
PpmFtc m_ppmFtc;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user