3#include "common/dsp/complex.h"
4#include "common/widgets/histogram.h"
11 class HistogramDisplayBlock :
public Block
14 widgets::HistoViewer histo;
17 HistogramDisplayBlock();
18 ~HistogramDisplayBlock();
24 throw satdump_exception(key);
29 throw satdump_exception(key);
cfg_res_t
set_cfg status.
Definition block.h:227
Block(std::string id, std::vector< BlockIO > in={}, std::vector< BlockIO > out={})
Generic constructor, to be overloaded.
Definition block.h:206
nlohmann::json get_cfg(std::string key)
Get parameters of the block as JSON.
Definition hist_disp.h:22
bool work()
The actual looping work function meant to handle all the DSP (well, in most blocks)
Definition hist_disp.cpp:11
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 hist_disp.h:27