FuelModelDatabase Class Reference

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 FuelModelDatabaseInstance ()
 Get an instance of the singleton. More...
 

Detailed Description

Connects to an Igniiton Fuel model database, and has utility functions to find models.

Member Function Documentation

static FuelModelDatabase * Instance ( )
inlinestaticinherited

Get an instance of the singleton.


The documentation for this class was generated from the following file: