mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 04:10:06 +00:00
Packet header fixes
This commit is contained in:
parent
12d8aaf8a6
commit
b0baa4f336
17 changed files with 20 additions and 17 deletions
|
|
@ -26,7 +26,7 @@ public:
|
|||
CellTrendDataPacket(CellTrendDataPacket&&) noexcept;
|
||||
CellTrendDataPacket& operator=(CellTrendDataPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
std::string cell_id() const;
|
||||
int16_t i_position() const;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public:
|
|||
CellTrendVolumeScanTimes(CellTrendVolumeScanTimes&&) noexcept;
|
||||
CellTrendVolumeScanTimes& operator=(CellTrendVolumeScanTimes&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
uint16_t number_of_volumes() const;
|
||||
uint16_t latest_volume_pointer() const;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public:
|
|||
DigitalPrecipitationDataArrayPacket&
|
||||
operator=(DigitalPrecipitationDataArrayPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t number_of_lfm_boxes_in_row() const;
|
||||
uint16_t number_of_rows() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public:
|
|||
DigitalRadialDataArrayPacket&
|
||||
operator=(DigitalRadialDataArrayPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t index_of_first_range_bin() const;
|
||||
uint16_t number_of_range_bins() const;
|
||||
int16_t i_center_of_sweep() const;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public:
|
|||
GenericDataPacket(GenericDataPacket&&) noexcept;
|
||||
GenericDataPacket& operator=(GenericDataPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint32_t length_of_block() const;
|
||||
|
||||
size_t data_size() const override;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public:
|
|||
LinkedContourVectorPacket(LinkedContourVectorPacket&&) noexcept;
|
||||
LinkedContourVectorPacket& operator=(LinkedContourVectorPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t initial_point_indicator() const;
|
||||
uint16_t length_of_vectors() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -26,7 +27,7 @@ public:
|
|||
LinkedVectorPacket(LinkedVectorPacket&&) noexcept;
|
||||
LinkedVectorPacket& operator=(LinkedVectorPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
std::optional<uint16_t> value_of_vector() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public:
|
|||
PrecipitationRateDataArrayPacket&
|
||||
operator=(PrecipitationRateDataArrayPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t number_of_lfm_boxes_in_row() const;
|
||||
uint16_t number_of_rows() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public:
|
|||
RadialDataPacket(RadialDataPacket&&) noexcept;
|
||||
RadialDataPacket& operator=(RadialDataPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t index_of_first_range_bin() const;
|
||||
uint16_t number_of_range_bins() const;
|
||||
int16_t i_center_of_sweep() const;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public:
|
|||
RasterDataPacket(RasterDataPacket&&) noexcept;
|
||||
RasterDataPacket& operator=(RasterDataPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t op_flag(size_t i) const;
|
||||
int16_t i_coordinate_start() const;
|
||||
int16_t j_coordinate_start() const;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public:
|
|||
SetColorLevelPacket(SetColorLevelPacket&&) noexcept;
|
||||
SetColorLevelPacket& operator=(SetColorLevelPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t color_value_indicator() const;
|
||||
uint16_t value_of_contour() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public:
|
|||
SpecialGraphicSymbolPacket(SpecialGraphicSymbolPacket&&) noexcept;
|
||||
SpecialGraphicSymbolPacket& operator=(SpecialGraphicSymbolPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
|
||||
size_t data_size() const override;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace scwx
|
||||
|
|
@ -28,7 +29,7 @@ public:
|
|||
TextAndSpecialSymbolPacket(TextAndSpecialSymbolPacket&&) noexcept;
|
||||
TextAndSpecialSymbolPacket& operator=(TextAndSpecialSymbolPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
std::optional<uint16_t> value_of_text() const;
|
||||
int16_t start_i() const;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public:
|
|||
UnlinkedContourVectorPacket&
|
||||
operator=(UnlinkedContourVectorPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_vectors() const;
|
||||
|
||||
size_t data_size() const override;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -26,7 +27,7 @@ public:
|
|||
UnlinkedVectorPacket(UnlinkedVectorPacket&&) noexcept;
|
||||
UnlinkedVectorPacket& operator=(UnlinkedVectorPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
std::optional<uint16_t> value_of_vector() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public:
|
|||
VectorArrowDataPacket(VectorArrowDataPacket&&) noexcept;
|
||||
VectorArrowDataPacket& operator=(VectorArrowDataPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
|
||||
size_t data_size() const override;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ public:
|
|||
WindBarbDataPacket(WindBarbDataPacket&&) noexcept;
|
||||
WindBarbDataPacket& operator=(WindBarbDataPacket&&) noexcept;
|
||||
|
||||
uint16_t packet_code() const;
|
||||
uint16_t packet_code() const override;
|
||||
uint16_t length_of_block() const;
|
||||
|
||||
size_t data_size() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue