supercell-wx/scwx-qt/source/scwx/qt/map/alert_layer.hpp
2024-08-03 23:25:39 -05:00

37 lines
687 B
C++

#pragma once
#include <scwx/awips/phenomenon.hpp>
#include <scwx/qt/map/draw_layer.hpp>
#include <memory>
#include <string>
#include <vector>
namespace scwx
{
namespace qt
{
namespace map
{
class AlertLayer : public DrawLayer
{
Q_DISABLE_COPY_MOVE(AlertLayer)
public:
explicit AlertLayer(std::shared_ptr<MapContext> context,
scwx::awips::Phenomenon phenomenon);
~AlertLayer();
void Initialize() override final;
void Render(const QMapLibre::CustomLayerRenderParameters&) override final;
void Deinitialize() override final;
private:
class Impl;
std::unique_ptr<Impl> p;
};
} // namespace map
} // namespace qt
} // namespace scwx