SoapySDR 0.8.1-ARCH
Vendor and platform neutral SDR interface library
Loading...
Searching...
No Matches
Modules.hpp
Go to the documentation of this file.
1
12
13#pragma once
14#include <SoapySDR/Config.hpp>
15#include <SoapySDR/Types.hpp>
16#include <vector>
17#include <string>
18
19namespace SoapySDR
20{
21
23SOAPY_SDR_API std::string getRootPath(void);
24
29SOAPY_SDR_API std::vector<std::string> listSearchPaths(void);
30
35SOAPY_SDR_API std::vector<std::string> listModules(void);
36
42SOAPY_SDR_API std::vector<std::string> listModules(const std::string &path);
43
49SOAPY_SDR_API std::string loadModule(const std::string &path);
50
59SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path);
60
67SOAPY_SDR_API std::string getModuleVersion(const std::string &path);
68
74SOAPY_SDR_API std::string unloadModule(const std::string &path);
75
82
87
93{
94public:
100 ModuleManager(const bool load = true);
101
107};
108
111class SOAPY_SDR_API ModuleVersion
112{
113public:
114 ModuleVersion(const std::string &version);
115};
117
118}
#define SOAPY_SDR_API
Definition Config.h:41
Definition Modules.hpp:93
ModuleManager(const bool load=true)
Definition ConverterPrimitives.hpp:15
SOAPY_SDR_API std::string getModuleVersion(const std::string &path)
SOAPY_SDR_API std::vector< std::string > listModules(void)
SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path)
SOAPY_SDR_API void loadModules(void)
SOAPY_SDR_API std::string getRootPath(void)
Query the root installation path.
SOAPY_SDR_API std::vector< std::string > listSearchPaths(void)
SOAPY_SDR_API void unloadModules(void)
std::map< std::string, std::string > Kwargs
Typedef for a dictionary of key-value string arguments.
Definition Types.hpp:24
SOAPY_SDR_API std::string loadModule(const std::string &path)
SOAPY_SDR_API std::string unloadModule(const std::string &path)