mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:30:04 +00:00
36 lines
1,017 B
C++
36 lines
1,017 B
C++
#include <scwx/provider/nexrad_data_provider_factory.hpp>
|
|
#include <scwx/provider/aws_level2_data_provider.hpp>
|
|
#include <scwx/provider/aws_level2_chunks_data_provider.hpp>
|
|
#include <scwx/provider/aws_level3_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);
|
|
}
|
|
|
|
std::shared_ptr<NexradDataProvider>
|
|
NexradDataProviderFactory::CreateLevel2ChunksDataProvider(
|
|
const std::string& radarSite)
|
|
{
|
|
return std::make_unique<AwsLevel2ChunksDataProvider>(radarSite);
|
|
}
|
|
|
|
std::shared_ptr<NexradDataProvider>
|
|
NexradDataProviderFactory::CreateLevel3DataProvider(
|
|
const std::string& radarSite, const std::string& product)
|
|
{
|
|
return std::make_unique<AwsLevel3DataProvider>(radarSite, product);
|
|
}
|
|
|
|
} // namespace provider
|
|
} // namespace scwx
|