Classes | Functions | Variables
resource_retriever Namespace Reference

Classes

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...
 

Functions

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

Variables

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 __init__.py.

◆ get_filename()

def resource_retriever.get_filename (   url,
  use_protocol = True 
)

Definition at line 47 of file __init__.py.

Variable Documentation

◆ g_curl_init

CURLStaticInit resource_retriever::g_curl_init
static

Definition at line 67 of file retriever.cpp.

◆ PACKAGE_PREFIX

string resource_retriever.PACKAGE_PREFIX = 'package://'

Definition at line 44 of file __init__.py.

◆ r

resource_retriever.r = rospkg.RosPack()

Definition at line 45 of file __init__.py.



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