37 lines
898 B
C++
Executable File
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
|