mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:30:05 +00:00
Add initial radar site model
This commit is contained in:
parent
b6e7c829ee
commit
60a85a6b14
5 changed files with 189 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -18,7 +19,7 @@ public:
|
|||
explicit RadarSite();
|
||||
~RadarSite();
|
||||
|
||||
RadarSite(const RadarSite&) = delete;
|
||||
RadarSite(const RadarSite&) = delete;
|
||||
RadarSite& operator=(const RadarSite&) = delete;
|
||||
|
||||
RadarSite(RadarSite&&) noexcept;
|
||||
|
|
@ -33,7 +34,8 @@ public:
|
|||
std::string place() const;
|
||||
std::string location_name() const;
|
||||
|
||||
static std::shared_ptr<RadarSite> Get(const std::string& id);
|
||||
static std::shared_ptr<RadarSite> Get(const std::string& id);
|
||||
static std::vector<std::shared_ptr<RadarSite>> GetAll();
|
||||
|
||||
static void Initialize();
|
||||
static size_t ReadConfig(const std::string& path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue