USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
extension.hpp File Reference
#include <uhd/rfnoc/mb_controller.hpp>
#include <uhd/rfnoc/radio_control.hpp>
#include <uhd/rfnoc/rf_control/core_iface.hpp>
#include <uhd/utils/noncopyable.hpp>
#include <uhd/utils/static.hpp>
#include <functional>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  uhd::extension::extension
 
struct  uhd::extension::extension::factory_args
 

Namespaces

 uhd
 
 uhd::extension
 

Macros

#define UHD_REGISTER_EXTENSION(NAME, CLASS_NAME)
 

Macro Definition Documentation

◆ UHD_REGISTER_EXTENSION

#define UHD_REGISTER_EXTENSION (   NAME,
  CLASS_NAME 
)
Value:
UHD_STATIC_BLOCK(register_extension_##NAME) \
{ \
}

Function to be called by the extension to register in the extension framework

Parameters
NAMEKey under which the extension gets registered
CLASS_NAMEName of the class that holds the make function of the extension
uhd::extension::extension::register_extension
static void register_extension(const std::string &extension_name, extension::factory_type factory_fn)
UHD_STATIC_BLOCK
#define UHD_STATIC_BLOCK(_x)
Definition: static.hpp:30