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)
 
def get_rospack ()
 

Variables

 _rospack = None
 
static CURLStaticInit g_curl_init
 
string PACKAGE_PREFIX = 'package://'
 

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 73 of file __init__.py.

◆ get_filename()

def resource_retriever.get_filename (   url,
  use_protocol = True 
)

Definition at line 54 of file __init__.py.

◆ get_rospack()

def resource_retriever.get_rospack ( )

Definition at line 47 of file __init__.py.

Variable Documentation

◆ _rospack

resource_retriever._rospack = None
private

Definition at line 44 of file __init__.py.

◆ 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 43 of file __init__.py.



resource_retriever
Author(s): Josh Faust , Ioan Sucan
autogenerated on Wed Dec 20 2023 03:35:35