9 #ifndef INCLUDED_UHD_IMAGE_LOADER_HPP 10 #define INCLUDED_UHD_IMAGE_LOADER_HPP 15 #include <boost/function.hpp> 53 typedef boost::function<bool(const image_loader_args_t&)>
loader_fcn_t;
61 static void register_image_loader(
const std::string& device_type,
62 const loader_fcn_t& loader_fcn,
63 const std::string& recovery_instructions);
78 static std::string get_recovery_instructions(
const std::string& device_type);
bool download
Definition: image_loader.hpp:28
boost::noncopyable noncopyable
Definition: noncopyable.hpp:46
std::string out_path
Definition: image_loader.hpp:31
uhd::device_addr_t args
Definition: image_loader.hpp:25
Definition: build_info.hpp:13
std::string id
Definition: image_loader.hpp:32
Definition: image_loader.hpp:23
bool load_fpga
Definition: image_loader.hpp:27
std::vector< uint8_t > component
Definition: image_loader.hpp:33
#define UHD_API
Definition: config.h:68
uhd::dict< std::string, std::string > metadata
Definition: image_loader.hpp:34
boost::function< bool(const image_loader_args_t &)> loader_fcn_t
Signature of an image loading function.
Definition: image_loader.hpp:53
std::string fpga_path
Definition: image_loader.hpp:30
std::string firmware_path
Definition: image_loader.hpp:29
Definition: image_loader.hpp:20
Definition: device_addr.hpp:38
bool load_firmware
Definition: image_loader.hpp:26