mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:20:04 +00:00
Create dedicated Storm Tracking Information message type
This commit is contained in:
parent
3eab1405d2
commit
c8d8b24317
4 changed files with 101 additions and 1 deletions
|
|
@ -0,0 +1,39 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/wsr88d/rpg/graphic_product_message.hpp>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace wsr88d
|
||||
{
|
||||
namespace rpg
|
||||
{
|
||||
|
||||
class StormTrackingInformationMessage : public GraphicProductMessage
|
||||
{
|
||||
public:
|
||||
explicit StormTrackingInformationMessage();
|
||||
~StormTrackingInformationMessage();
|
||||
|
||||
StormTrackingInformationMessage(const StormTrackingInformationMessage&) =
|
||||
delete;
|
||||
StormTrackingInformationMessage&
|
||||
operator=(const StormTrackingInformationMessage&) = delete;
|
||||
|
||||
StormTrackingInformationMessage(StormTrackingInformationMessage&&) noexcept;
|
||||
StormTrackingInformationMessage&
|
||||
operator=(StormTrackingInformationMessage&&) noexcept;
|
||||
|
||||
bool Parse(std::istream& is) override;
|
||||
|
||||
static std::shared_ptr<StormTrackingInformationMessage>
|
||||
Create(Level3MessageHeader&& header, std::istream& is);
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
std::unique_ptr<Impl> p;
|
||||
};
|
||||
|
||||
} // namespace rpg
|
||||
} // namespace wsr88d
|
||||
} // namespace scwx
|
||||
Loading…
Add table
Add a link
Reference in a new issue