Namespaces | Typedefs | Functions
cache.h File Reference
#include <functional>
#include <sstream>
#include <string>
#include <cras_cpp_common/expected.hpp>
#include <ros/duration.h>
Include dependency graph for cache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gnss_info
 

Typedefs

typedef void CURL
 

Functions

cras::expected< std::stringstream, std::string > gnss_info::download (const std::string &url, const std::function< void(CURL *)> &curlOptions={})
 Download the given URL to a stringstream. More...
 
std::string gnss_info::getCacheDir ()
 Return path to a directory where cache files should be stored. Also make sure the directory exists. More...
 
bool gnss_info::isCacheFileValid (const std::string &file)
 Return whether the given cache file can be used. More...
 
bool gnss_info::isCacheFileValid (const std::string &file, const ros::WallDuration &validity)
 Return whether the given cache file can be used. More...
 

Typedef Documentation

◆ CURL

typedef void CURL

Definition at line 13 of file cache.h.



gnss_info
Author(s): Martin Pecka
autogenerated on Fri Nov 24 2023 03:50:35