mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 01:50:05 +00:00
Refactoring AWS level 2 data provider, pushing up common functions
This commit is contained in:
parent
394aba2d83
commit
c5c54fbfa2
13 changed files with 512 additions and 439 deletions
20
wxdata/source/scwx/provider/nexrad_data_provider_factory.cpp
Normal file
20
wxdata/source/scwx/provider/nexrad_data_provider_factory.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include <scwx/provider/nexrad_data_provider_factory.hpp>
|
||||
#include <scwx/provider/aws_level2_data_provider.hpp>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace provider
|
||||
{
|
||||
|
||||
static const std::string logPrefix_ =
|
||||
"scwx::provider::nexrad_data_provider_factory";
|
||||
|
||||
std::shared_ptr<NexradDataProvider>
|
||||
NexradDataProviderFactory::CreateLevel2DataProvider(
|
||||
const std::string& radarSite)
|
||||
{
|
||||
return std::make_unique<AwsLevel2DataProvider>(radarSite);
|
||||
}
|
||||
|
||||
} // namespace provider
|
||||
} // namespace scwx
|
||||
Loading…
Add table
Add a link
Reference in a new issue