SoapySDR: Modules.hpp Source File

| SoapySDR 0.7.2-ARCH 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> listSearchPaths(void);
30
35 SOAPY_SDR_API std::vector<std::string> listModules(void);
36
42 SOAPY_SDR_API std::vector<std::string> listModules(const std::string &path);
43
49 SOAPY_SDR_API std::string loadModule(const std::string &path);
50
59 SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path);
60
67 SOAPY_SDR_API std::string getModuleVersion(const std::string &path);
68
74 SOAPY_SDR_API std::string unloadModule(const std::string &path);
75
81 SOAPY_SDR_API void loadModules(void);
82
85 class SOAPY_SDR_API ModuleVersion
86 {
87 public:
88 ModuleVersion(const std::string &version);
89 };
91
92 }
SOAPY_SDR_API
#define SOAPY_SDR_API
Definition: Config.h:41
SoapySDR::loadModules
SOAPY_SDR_API void loadModules(void)
SoapySDR::listModules
SOAPY_SDR_API std::vector< std::string > listModules(void)
SoapySDR::listSearchPaths
SOAPY_SDR_API std::vector< std::string > listSearchPaths(void)
SoapySDR::loadModule
SOAPY_SDR_API std::string loadModule(const std::string &path)
SoapySDR
Definition: ConverterPrimitives.hpp:15
SoapySDR::unloadModule
SOAPY_SDR_API std::string unloadModule(const std::string &path)
Config.hpp
SoapySDR::getRootPath
SOAPY_SDR_API std::string getRootPath(void)
Query the root installation path.
SoapySDR::Kwargs
std::map< std::string, std::string > Kwargs
Typedef for a dictionary of key-value string arguments.
Definition: Types.hpp:22
Types.hpp
SoapySDR::getLoaderResult
SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path)
SoapySDR::getModuleVersion
SOAPY_SDR_API std::string getModuleVersion(const std::string &path)