mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:10:05 +00:00
Store elevation scans as a shared pointer to avoid needless copying
This commit is contained in:
parent
efeb87baaa
commit
ab616b0c62
6 changed files with 30 additions and 21 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/util/iterator.hpp>
|
||||
#include <scwx/wsr88d/rda/message.hpp>
|
||||
|
||||
namespace scwx
|
||||
|
|
@ -23,6 +24,9 @@ enum class DataBlockType
|
|||
MomentCfp,
|
||||
Unknown
|
||||
};
|
||||
typedef util::
|
||||
Iterator<DataBlockType, DataBlockType::MomentRef, DataBlockType::MomentCfp>
|
||||
MomentDataBlockTypeIterator;
|
||||
|
||||
class DataBlockImpl;
|
||||
class ElevationDataBlockImpl;
|
||||
|
|
@ -30,8 +34,11 @@ class MomentDataBlockImpl;
|
|||
class RadialDataBlockImpl;
|
||||
class VolumeDataBlockImpl;
|
||||
|
||||
class DigitalRadarData;
|
||||
class DigitalRadarDataImpl;
|
||||
|
||||
typedef std::map<uint16_t, std::shared_ptr<DigitalRadarData>> ElevationScan;
|
||||
|
||||
class DataBlock
|
||||
{
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue