11 #ifndef INCLUDED_GR_MAP_BB_H
12 #define INCLUDED_GR_MAP_BB_H
35 typedef std::shared_ptr<map_bb>
sptr;
45 virtual std::vector<int>
map()
const = 0;
output[i] = map[input[i]]
Definition: map_bb.h:32
std::shared_ptr< map_bb > sptr
Definition: map_bb.h:35
virtual void set_map(const std::vector< int > &map)=0
virtual std::vector< int > map() const =0
static sptr make(const std::vector< int > &map)
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
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,...