SoapySDR  0.5.4-g68d0793c
Vendor and platform neutral SDR interface library
Modules.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 #include <SoapySDR/Config.hpp>
15 #include <SoapySDR/Types.hpp>
16 #include <vector>
17 #include <string>
18 
19 namespace SoapySDR
20 {
21 
23 SOAPY_SDR_API std::string getRootPath(void);
24 
29 SOAPY_SDR_API std::vector<std::string> listModules(void);
30 
36 SOAPY_SDR_API std::vector<std::string> listModules(const std::string &path);
37 
43 SOAPY_SDR_API std::string loadModule(const std::string &path);
44 
53 SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path);
54 
60 SOAPY_SDR_API std::string unloadModule(const std::string &path);
61 
67 SOAPY_SDR_API void loadModules(void);
68 
69 }
SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path)
std::map< std::string, std::string > Kwargs
Typedef for a dictionary of key-value string arguments.
Definition: Types.hpp:22
SOAPY_SDR_API void loadModules(void)
SOAPY_SDR_API std::vector< std::string > listModules(void)
Definition: Device.hpp:22
#define SOAPY_SDR_API
Definition: Config.h:41
SOAPY_SDR_API std::string getRootPath(void)
Query the root installation path.
SOAPY_SDR_API std::string loadModule(const std::string &path)
SOAPY_SDR_API std::string unloadModule(const std::string &path)