17 #ifndef GAZEBO_COMMON_FUELMODELDATABASE_HH_
18 #define GAZEBO_COMMON_FUELMODELDATABASE_HH_
25 #include <ignition/fuel_tools/ClientConfig.hh>
31 #define GZ_MODEL_MANIFEST_FILENAME "model.config"
34 #define GZ_MODEL_DB_MANIFEST_FILENAME "database.config"
41 class FuelModelDatabasePrivate;
60 public: std::vector<ignition::fuel_tools::ServerConfig> Servers()
const;
72 public:
virtual void Models(
73 const ignition::fuel_tools::ServerConfig &_server,
74 std::function<
void(
const std::map<std::string, std::string> &)> &_func);
85 public:
virtual std::map<std::string, std::string> Models(
86 const ignition::fuel_tools::ServerConfig &_server)
const;
94 public: std::string ModelFile(
const std::string &_uri);
103 public: std::string ModelPath(
const std::string &_uri,
104 const bool _forceDownload =
false);
107 private: std::unique_ptr<FuelModelDatabasePrivate> dataPtr;
Connects to an Igniiton Fuel model database, and has utility functions to find models.
Definition: FuelModelDatabase.hh:49
Singleton template class.
Definition: SingletonT.hh:33