#pragma once #include #include #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 dds() const { return m_ddsHandler; } private: NGL::INGLLogger &m_logger; std::shared_ptr m_ddsHandler; std::shared_ptr m_cmoService; }; }