Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Subscribe to MeteoDataManagement and provide the correct weather for the given position
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QMap>
|
||||
#include <InfrastructureManagement/ism_dtc.h>
|
||||
|
||||
namespace AreaEffectSimulation
|
||||
{
|
||||
class MainHandler;
|
||||
class SpecialAreaProvider : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SpecialAreaProvider(MainHandler *mainHandler);
|
||||
~SpecialAreaProvider();
|
||||
|
||||
QMap<int,InfrastructureManagement::SpecialArea> getSpecialAreas();
|
||||
|
||||
private Q_SLOTS:
|
||||
void specialAreaChanged(const InfrastructureManagement::SpecialArea &data, DataModification modType);
|
||||
private:
|
||||
void initSpecialAreas();
|
||||
private:
|
||||
MainHandler *m_mainHandler;
|
||||
std::shared_ptr<InfrastructureManagement::Interface::Dtc> m_ismDtc;
|
||||
QMap<int, InfrastructureManagement::SpecialArea> m_specialAreaMap;
|
||||
};
|
||||
} // namespace AreaEffectSimulation
|
||||
Reference in new issue
Block a user