Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/ComponentMonitor/main_handler.h
T

33 lines
570 B
C++
Executable File

#pragma once
#include <QObject>
#include <memory>
#include "dds_handler.h"
#include "cmo_db.h"
#include "logger.h"
namespace ComponentMonitor
{
class Initialization;
class MainHandler : public QObject
{
Q_OBJECT
public:
explicit MainHandler(QObject *parent = nullptr);
~MainHandler();
bool init(int domainId);
std::shared_ptr<DdsHandler> dds() const { return m_ddsHandler; }
private:
NGL::INGLLogger &m_logger;
std::shared_ptr<DdsHandler> m_ddsHandler;
std::shared_ptr<ComponentMonitor::Initialization> m_cmoService;
};
}