GNU Radio 3.2.2 C++ API

class_registry.h File Reference

#include <mblock/common.h>

Go to the source code of this file.

Classes

class  mb_class_registry

Defines

#define REGISTER_MBLOCK_CLASS(name)   bool __RBC__ ## name = mb_class_registry::register_maker(#name, &mb_mblock_maker<name>)

Typedefs

typedef mb_mblock_sptr(* mb_mblock_maker_t )(mb_runtime *runtime, const std::string &instance_name, pmt_t user_arg)
 conceptually, pointer to constructor

Functions

template<class mblock >
mb_mblock_sptr mb_mblock_maker (mb_runtime *runtime, const std::string &instance_name, pmt_t user_arg)

Define Documentation

#define REGISTER_MBLOCK_CLASS (   name)    bool __RBC__ ## name = mb_class_registry::register_maker(#name, &mb_mblock_maker<name>)

Typedef Documentation

typedef mb_mblock_sptr(* mb_mblock_maker_t)(mb_runtime *runtime, const std::string &instance_name, pmt_t user_arg)

conceptually, pointer to constructor


Function Documentation

template<class mblock >
mb_mblock_sptr mb_mblock_maker ( mb_runtime runtime,
const std::string &  instance_name,
pmt_t  user_arg 
)