Additional placefile view/add enhancements

This commit is contained in:
Dan Paulat 2023-07-23 23:24:45 -05:00
parent 0064733679
commit 18c05b3a63
6 changed files with 119 additions and 22 deletions

View file

@ -19,6 +19,10 @@ public:
explicit PlacefileManager();
~PlacefileManager();
bool PlacefileEnabled(const std::string& name);
bool PlacefileThresholded(const std::string& name);
std::shared_ptr<const gr::Placefile> Placefile(const std::string& name);
/**
* @brief Gets a list of active placefiles
*
@ -26,6 +30,7 @@ public:
*/
std::vector<std::shared_ptr<gr::Placefile>> GetActivePlacefiles();
void AddUrl(const std::string& urlString);
void LoadFile(const std::string& filename);
static std::shared_ptr<PlacefileManager> Instance();