17 #ifndef GAZEBO_COMMON_FUELMODELDATABASE_HH_ 18 #define GAZEBO_COMMON_FUELMODELDATABASE_HH_ 24 #include <ignition/fuel_tools/ClientConfig.hh> 25 #include <ignition/fuel_tools/ModelIdentifier.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;
70 public:
virtual void Models(
71 const ignition::fuel_tools::ServerConfig &_server,
73 const std::vector<ignition::fuel_tools::ModelIdentifier> &)>
82 public:
virtual std::vector<ignition::fuel_tools::ModelIdentifier>
83 Models(
const ignition::fuel_tools::ServerConfig &_server)
const;
91 public: std::string ModelFile(
const std::string &_uri);
100 public: std::string ModelPath(
const std::string &_uri,
101 const bool _forceDownload =
false);
106 public: std::string CachedFilePath(
const std::string &_uri);
109 private: std::unique_ptr<FuelModelDatabasePrivate> dataPtr;
Connects to an Igniiton Fuel model database, and has utility functions to find models.
Definition: FuelModelDatabase.hh:49
Forward declarations for the common classes.
Definition: Animation.hh:26
Singleton template class.
Definition: SingletonT.hh:33