PlacefileManager::GetActivePlacefiles is no longer used

This commit is contained in:
Dan Paulat 2023-11-05 06:23:57 -06:00
parent 92f24528b7
commit e43dcb9a6b
2 changed files with 0 additions and 25 deletions

View file

@ -436,24 +436,6 @@ void PlacefileManager::SetRadarSite(
} }
} }
std::vector<std::shared_ptr<gr::Placefile>>
PlacefileManager::GetActivePlacefiles()
{
std::vector<std::shared_ptr<gr::Placefile>> placefiles;
std::shared_lock lock {p->placefileRecordLock_};
for (const auto& record : p->placefileRecords_)
{
if (record->enabled_ && record->placefile_ != nullptr)
{
placefiles.push_back(record->placefile_);
}
}
return placefiles;
}
void PlacefileManager::AddUrl(const std::string& urlString, void PlacefileManager::AddUrl(const std::string& urlString,
const std::string& title, const std::string& title,
bool enabled, bool enabled,

View file

@ -35,13 +35,6 @@ public:
void SetRadarSite(std::shared_ptr<config::RadarSite> radarSite); void SetRadarSite(std::shared_ptr<config::RadarSite> radarSite);
/**
* @brief Gets a list of active placefiles
*
* @return Vector of placefile pointers
*/
std::vector<std::shared_ptr<gr::Placefile>> GetActivePlacefiles();
void AddUrl(const std::string& urlString, void AddUrl(const std::string& urlString,
const std::string& title = {}, const std::string& title = {},
bool enabled = false, bool enabled = false,