Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/MeteoDataManagement/handler_meteo_data_units.h
T

37 lines
905 B
C++
Executable File

/**
* Handler for all meteo data units
* $Id$
* $HeadURL$
* $Author$
* Created by hjl, SLSE, 2016-09-27
*/
#pragma once
#include <QtCore/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