11 #ifndef INCLUDED_GR_MAP_BB_H
12 #define INCLUDED_GR_MAP_BB_H
35 typedef std::shared_ptr<map_bb>
sptr;
42 static sptr make(
const std::vector<int>&
map);
44 virtual void set_map(
const std::vector<int>&
map) = 0;
45 virtual std::vector<int>
map()
const = 0;
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:25
PMT_API pmt_t map(pmt_t proc(const pmt_t &), pmt_t list)
Apply proc element-wise to the elements of list and returns a list of the results, in order.
std::shared_ptr< map_bb > sptr
Definition: map_bb.h:35
output[i] = map[input[i]]
Definition: map_bb.h:31