11 class BlankerBlock :
public BlockSimple<T, T>
20 uint32_t
process(T *input, uint32_t nsamples, T *output);
26 nlohmann::ordered_json p;
27 add_param_simple(p,
"blank",
"bool",
"Blank");
36 throw satdump_exception(key);
44 throw satdump_exception(key);
Block::cfg_res_t set_cfg(std::string key, nlohmann::json v)
Set parameters of the block from JSON, including potentially IO configurations for blocks that may ha...
Definition blanker.h:39
void init()
Applies current parameters to the block. This is called automatically once in start(),...
Definition blanker.h:22
uint32_t process(T *input, uint32_t nsamples, T *output)
Simplified "work" function, called automatically by work(). This takes away all boilerplate work usua...
Definition blanker.cpp:20
nlohmann::json get_cfg(std::string key)
Get parameters of the block as JSON.
Definition blanker.h:31
nlohmann::ordered_json get_cfg_list()
Get parameters LIST of the block's parameters. This does not contain actual values,...
Definition blanker.h:24
cfg_res_t
set_cfg status.
Definition block.h:241