11#ifndef INCLUDED_GR_SELECTOR_H
12#define INCLUDED_GR_SELECTOR_H
33 typedef std::shared_ptr<selector>
sptr;
36 make(
size_t itemsize,
unsigned int input_index,
unsigned int output_index);
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
output[output_index][i] = input[input_index][i]
Definition: selector.h:31
virtual int input_index() const =0
virtual void set_output_index(unsigned int output_index)=0
static sptr make(size_t itemsize, unsigned int input_index, unsigned int output_index)
std::shared_ptr< selector > sptr
Definition: selector.h:33
virtual bool enabled() const =0
virtual void set_input_index(unsigned int input_index)=0
virtual int output_index() const =0
virtual void set_enabled(bool enable)=0
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
GNU Radio logging wrapper.
Definition: basic_block.h:29