GNU Radio 3.6.0 C++ API
|
Go to the source code of this file.
Classes | |
class | gr_block_gw_handler |
struct | gr_block_gw_message_type |
class | gr_block_gateway |
Enumerations | |
enum | gr_block_gw_work_type { GR_BLOCK_GW_WORK_GENERAL, GR_BLOCK_GW_WORK_SYNC, GR_BLOCK_GW_WORK_DECIM, GR_BLOCK_GW_WORK_INTERP, GR_BLOCK_GW_WORK_GENERAL, GR_BLOCK_GW_WORK_SYNC, GR_BLOCK_GW_WORK_DECIM, GR_BLOCK_GW_WORK_INTERP } |
Functions | |
GR_CORE_API boost::shared_ptr < gr_block_gateway > | gr_make_block_gateway (gr_block_gw_handler *handler, const std::string &name, gr_io_signature_sptr in_sig, gr_io_signature_sptr out_sig, const gr_block_gw_work_type work_type, const unsigned factor) |
The work type enum tells the gateway what kind of block to implement. The choices are familiar gnuradio block overloads (sync, decim, interp).
GR_CORE_API boost::shared_ptr<gr_block_gateway> gr_make_block_gateway | ( | gr_block_gw_handler * | handler, |
const std::string & | name, | ||
gr_io_signature_sptr | in_sig, | ||
gr_io_signature_sptr | out_sig, | ||
const gr_block_gw_work_type | work_type, | ||
const unsigned | factor | ||
) |
Make a new gateway block.
handler | the swig director object with callback |
name | the name of the block (Ex: "Shirley") |
in_sig | the input signature for this block |
out_sig | the output signature for this block |
work_type | the type of block overload to implement |
factor | the decimation or interpolation factor |