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" 44 class FuelModelDatabasePrivate;
63 public: std::vector<ignition::fuel_tools::ServerConfig> Servers()
const;
73 public:
virtual void Models(
74 const ignition::fuel_tools::ServerConfig &_server,
76 const std::vector<ignition::fuel_tools::ModelIdentifier> &)>
85 public:
virtual std::vector<ignition::fuel_tools::ModelIdentifier>
86 Models(
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);
109 public: std::string CachedFilePath(
const std::string &_uri);
112 private: std::unique_ptr<FuelModelDatabasePrivate> dataPtr;
Connects to an Igniiton Fuel model database, and has utility functions to find models.
Definition: FuelModelDatabase.hh:52
Forward declarations for the common classes.
Definition: Animation.hh:26
Singleton template class.
Definition: SingletonT.hh:33
common
Definition: FuelModelDatabase.hh:37
#define GZ_SINGLETON_DECLARE(visibility, n1, n2, singletonType)
Helper to declare typed SingletonT.
Definition: SingletonT.hh:61