52 lines
994 B
C++
Executable File
52 lines
994 B
C++
Executable File
|
|
|
|
|
|
#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; }
|
|
|
|
|
|
bool delayedInit();
|
|
|
|
protected:
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
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;
|
|
};
|
|
|
|
|
|
|
|
}
|