Files
qt5-legatus-legacy/Lts/Services/MeteoDataManagement/handler_meteo_data_units.h
T
2026-08-13 18:33:10 +02:00

37 lines
898 B
C++
Executable File

/**
* Handler for all meteo data units
* $Id$
* $HeadURL$
* $Author$
* Created by hjl, SLSE, 2016-09-27
*/
#pragma once
#include <QMap>
#include "handler_meteo_data_unit.h"
#include "logger.h"
namespace MeteoDataManagement
{
class HandlerMeteoDataUnits
{
public:
explicit HandlerMeteoDataUnits(MainHandler *mainHandler);
~HandlerMeteoDataUnits();
bool init();
bool addMeteoDataUnit(const InfrastructureManagement::InstrumentationAsset &asset);
bool removeMeteoDataUnit(const InfrastructureManagement::InstrumentationAsset &asset);
private:
QMap <int, HandlerMeteoDataUnit *> m_handlerMeteoDataUnitsMap; ///< Hold all meteo data unit handler
MainHandler *m_mainHandler; ///< Pointer to DDS handler
NGL::INGLLogger &m_logger; ///< Interface to the Logging-Facility
};
} // namespace MeteoDataManagement