Connects to an Igniiton Fuel model database, and has utility functions to find models. More...
#include <common/common.hh>
Inherits SingletonT< FuelModelDatabase >.
Public Member Functions | |
std::string | ModelFile (const std::string &_uri) |
Get a model's SDF file based on a URI. More... | |
std::string | ModelPath (const std::string &_uri, const bool _forceDownload=false) |
Get the local path to a model. More... | |
virtual void | Models (const ignition::fuel_tools::ServerConfig &_server, std::function< void(const std::map< std::string, std::string > &)> &_func) |
Get the dictionary of all model names via a callback. More... | |
virtual std::map< std::string, std::string > | Models (const ignition::fuel_tools::ServerConfig &_server) const |
Get the dictionary of all model names. More... | |
std::vector < ignition::fuel_tools::ServerConfig > | Servers () const |
Get all the Ignition Fuel servers. More... | |
Static Public Member Functions | |
static FuelModelDatabase * | Instance () |
Get an instance of the singleton. More... | |
Connects to an Igniiton Fuel model database, and has utility functions to find models.
|
inlinestaticinherited |
Get an instance of the singleton.