USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
 
Loading...
Searching...
No Matches
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#ifndef INCLUDED_UHD_UTILS_PATHS_HPP
9#define INCLUDED_UHD_UTILS_PATHS_HPP
10
11#include <uhd/config.hpp>
12#include <boost/filesystem.hpp>
13#include <string>
14#include <vector>
15
16namespace fs = boost::filesystem;
17
18namespace uhd {
19
21UHD_API std::string get_tmp_path(void);
22
24UHD_API std::string get_app_path(void);
25
27UHD_API std::string get_pkg_path(void);
28
30UHD_API std::vector<fs::path> get_module_paths(void);
31
49UHD_API std::string get_images_dir(const std::string& search_paths);
50
64 const std::string& image_name, const std::string& search_paths = "");
65
72UHD_API std::string find_utility(const std::string& name);
73
80 const std::string& name, const std::string& args = "");
81} // namespace uhd
82
83#endif /* INCLUDED_UHD_UTILS_PATHS_HPP */
#define UHD_API
Definition config.h:68
Definition build_info.hpp:13
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_images_dir(const std::string &search_paths)
UHD_API std::string get_app_path(void)
Get a string representing the system's appdata directory.
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.