Classes | Functions | Variables
resource_retriever Namespace Reference


class  CURLStaticInit
class  Exception
struct  MemoryBuffer
struct  MemoryResource
 A combination of a pointer to data in memory along with the data's size. More...
class  Retriever
 Retrieves files from from a url. Caches a CURL handle so multiple accesses to a single url will keep connections open. More...


size_t curlWriteFunc (void *buffer, size_t size, size_t nmemb, void *userp)
def get (url)
def get_filename (url, use_protocol=True)


static CURLStaticInit g_curl_init
string PACKAGE_PREFIX = 'package://'
 r = rospkg.RosPack()

Function Documentation

◆ curlWriteFunc()

size_t resource_retriever::curlWriteFunc ( void *  buffer,
size_t  size,
size_t  nmemb,
void *  userp 

Definition at line 87 of file retriever.cpp.

◆ get()

def resource_retriever.get (   url)

Definition at line 66 of file

◆ get_filename()

def resource_retriever.get_filename (   url,
  use_protocol = True 

Definition at line 47 of file

Variable Documentation

◆ g_curl_init

CURLStaticInit resource_retriever::g_curl_init

Definition at line 67 of file retriever.cpp.


string resource_retriever.PACKAGE_PREFIX = 'package://'

Definition at line 44 of file

◆ r

resource_retriever.r = rospkg.RosPack()

Definition at line 45 of file

Author(s): Josh Faust , Ioan Sucan
autogenerated on Mon Feb 28 2022 23:22:34