28 #ifndef RESOURCE_RETRIEVER_RETRIEVER_H 29 #define RESOURCE_RETRIEVER_RETRIEVER_H 33 #include <boost/shared_array.hpp> 44 Exception(
const std::string& file,
const std::string& error_msg)
45 :
std::runtime_error(
"Error retrieving file [" + file +
"]: " + error_msg)
88 #endif // RESOURCE_RETRIEVER_RETRIEVER_H
Retrieves files from from a url. Caches a CURL handle so multiple accesses to a single url will keep ...
boost::shared_array< uint8_t > data
A combination of a pointer to data in memory along with the data's size.
Exception(const std::string &file, const std::string &error_msg)