USRP Hardware Driver and USRP Manual Version: 4.1.0.3
UHD and USRP Manual
paths.hpp
Go to the documentation of this file.
1//
2// Copyright 2011-2012,2015 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#pragma once
9
10#include <uhd/config.hpp>
11#include <boost/filesystem.hpp>
12#include <string>
13#include <vector>
14
15namespace fs = boost::filesystem;
16
17namespace uhd {
18
20UHD_API std::string get_tmp_path(void);
21
23UHD_API std::string get_lib_path(void);
24
26UHD_API std::string get_pkg_path(void);
27
29UHD_API std::string get_cal_data_path(void);
30
32UHD_API std::vector<fs::path> get_module_paths(void);
33
51UHD_API std::string get_images_dir(const std::string& search_paths);
52
66 const std::string& image_name, const std::string& search_paths = "");
67
74UHD_API std::string find_utility(const std::string& name);
75
82 const std::string& name, const std::string& args = "");
83} // namespace uhd
#define UHD_API
Definition: config.h:70
Definition: build_info.hpp:12
UHD_API std::vector< fs::path > get_module_paths(void)
Get UHD library paths.
UHD_API std::string find_image_path(const std::string &image_name, const std::string &search_paths="")
UHD_API std::string get_pkg_path(void)
Get a string representing the system's pkg directory.
UHD_API std::string get_lib_path(void)
Get a string representing the system's library directory.
UHD_API std::string get_images_dir(const std::string &search_paths)
UHD_API std::string get_cal_data_path(void)
Get a string representing the location of the calibration database.
UHD_API std::string print_utility_error(const std::string &name, const std::string &args="")
UHD_API std::string find_utility(const std::string &name)
UHD_API std::string get_tmp_path(void)
Get a string representing the system's temporary directory.