| SoapySDR 0.8.1-ARCH Vendor and platform neutral SDR interface library

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
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
86 SOAPY_SDR_API void unloadModules(void);
87
92 class SOAPY_SDR_API ModuleManager
93{
94 public:
100 ModuleManager(const bool load = true);
101
106 ~ModuleManager(void);
107};
108
111 class SOAPY_SDR_API ModuleVersion
112{
113 public:
114 ModuleVersion(const std::string &version);
115};
117
118}
SOAPY_SDR_API
#define SOAPY_SDR_API
Definition: Config.h:41
Config.hpp
Types.hpp
SoapySDR::ModuleManager
Definition: Modules.hpp:93
SoapySDR::ModuleManager::ModuleManager
ModuleManager(const bool load=true)
SoapySDR::ModuleManager::~ModuleManager
~ModuleManager(void)
SoapySDR
Definition: ConverterPrimitives.hpp:15
SoapySDR::getModuleVersion
SOAPY_SDR_API std::string getModuleVersion(const std::string &path)
SoapySDR::listModules
SOAPY_SDR_API std::vector< std::string > listModules(void)
SoapySDR::getLoaderResult
SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path)
SoapySDR::loadModules
SOAPY_SDR_API void loadModules(void)
SoapySDR::getRootPath
SOAPY_SDR_API std::string getRootPath(void)
Query the root installation path.
SoapySDR::listSearchPaths
SOAPY_SDR_API std::vector< std::string > listSearchPaths(void)
SoapySDR::unloadModules
SOAPY_SDR_API void unloadModules(void)
SoapySDR::Kwargs
std::map< std::string, std::string > Kwargs
Typedef for a dictionary of key-value string arguments.
Definition: Types.hpp:24
SoapySDR::loadModule
SOAPY_SDR_API std::string loadModule(const std::string &path)
SoapySDR::unloadModule
SOAPY_SDR_API std::string unloadModule(const std::string &path)