SoapySDR
0.5.4-g68d0793c
Vendor and platform neutral SDR interface library
|
#include <Registry.hpp>
Public Member Functions | |
Registry (const std::string &name, const FindFunction &find, const MakeFunction &make, const std::string &abi) | |
~Registry (void) | |
Cleanup this registry entry. More... | |
Static Public Member Functions | |
static FindFunctions | listFindFunctions (void) |
static MakeFunctions | listMakeFunctions (void) |
A registry object loads device functions into the global registry.
SoapySDR::Registry::Registry | ( | const std::string & | name, |
const FindFunction & | find, | ||
const MakeFunction & | make, | ||
const std::string & | abi | ||
) |
Register a SDR device find and make function.
name | a unique name to identify the entry |
find | the find function returns an arg list |
make | the make function returns a device sptr |
abi | this value must be SOAPY_SDR_ABI_VERSION |
SoapySDR::Registry::~Registry | ( | void | ) |
Cleanup this registry entry.
|
static |
List all loaded find functions.
|
static |
List all loaded make functions.