Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
/**
* @RDE_HEADER@
* Initialization for ComponentMonitor
* $Id$
* $HeadURL$
* $Author$
* Created by Norbert Thoden, SLSE, 2022-11-03
*/
#pragma once
#include "logger.h"
#include "component_status_handler.h"
#include "checkmk_handler.h"
#include "checkmk_handler_schedule_check.h"
#include <InfrastructureManagement/ism_dtc.h>
#include <ComponentMonitor/cmo.hpp>
#include <QObject>
#include <memory>
namespace DDSConnector
{
class DdsConnector;
}
namespace ComponentMonitor
{
class DdsHandler;
class Initialization
{
public:
Initialization();
~Initialization();
bool initialize(const std::shared_ptr<DdsHandler> &ddsHandler);
std::shared_ptr<DdsHandler> dds() const { return m_ddsHandler; }
// std::shared_ptr<DatabaseInterface> db() const;
bool delayedInit();
protected:
private:
std::shared_ptr<DdsHandler> m_ddsHandler;
std::shared_ptr<ComponentStatusHandler> m_componentStatusHandler;
std::shared_ptr<CheckmkHandler> m_checkmkHandler;
std::shared_ptr<CheckmkHandlerScheduleCheck> m_checkmkHandlerScheduleCheck;
NGL::INGLLogger &m_logger;
};
} // namespace ComponentMonitor