#include <gr_core_api.h>
#include <gr_block.h>
#include <gr_feval.h>
Go to the source code of this file.
The work type enum tells the gateway what kind of block to implement. The choices are familiar gnuradio block overloads (sync, decim, interp).
Enumerator |
---|
GR_BLOCK_GW_WORK_GENERAL |
|
GR_BLOCK_GW_WORK_SYNC |
|
GR_BLOCK_GW_WORK_DECIM |
|
GR_BLOCK_GW_WORK_INTERP |
|
Make a new gateway block.
- Parameters
-
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 |
- Returns
- a new gateway block