Loading...
Searching...
No Matches
Modules.hpp
Go to the documentation of this file.
#pragma once
#include <SoapySDR/Config.hpp>
#include <SoapySDR/Types.hpp>
#include <vector>
#include <string>
namespace SoapySDR
{
SOAPY_SDR_API std::string getRootPath(void);
SOAPY_SDR_API std::vector<std::string> listSearchPaths(void);
SOAPY_SDR_API std::vector<std::string> listModules(void);
SOAPY_SDR_API std::vector<std::string> listModules(const std::string &path);
SOAPY_SDR_API std::string loadModule(const std::string &path);
SOAPY_SDR_API Kwargs getLoaderResult(const std::string &path);
SOAPY_SDR_API std::string getModuleVersion(const std::string &path);
SOAPY_SDR_API std::string unloadModule(const std::string &path);
SOAPY_SDR_API void loadModules(void);
SOAPY_SDR_API void unloadModules(void);
class SOAPY_SDR_API ModuleManager
{
public:
ModuleManager(const bool load = true);
~ModuleManager(void);
};
class SOAPY_SDR_API ModuleVersion
{
public:
ModuleVersion(const std::string &version);
};
}
SOAPY_SDR_API
#define SOAPY_SDR_API
Definition Config.h:41
Config.hpp
Types.hpp
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)