GNU Radio's SATELLITES Package
|
output[output_index][i] = input[input_index][i] More...
#include <selector.h>
Public Types | |
typedef std::shared_ptr< selector > | sptr |
Public Member Functions | |
virtual void | set_enabled (bool enable)=0 |
virtual bool | enabled () const =0 |
virtual void | set_input_index (unsigned int input_index)=0 |
virtual int | input_index () const =0 |
virtual void | set_output_index (unsigned int output_index)=0 |
virtual int | output_index () const =0 |
Static Public Member Functions | |
static sptr | make (size_t itemsize, unsigned int input_index, unsigned int output_index) |
output[output_index][i] = input[input_index][i]
Connect the sink at input index to the source at output index.
All the samples available from other input ports are consumed and dumped.
Other output ports produce no samples.
typedef std::shared_ptr<selector> gr::satellites::selector::sptr |
|
pure virtual |
Implemented in gr::satellites::selector_impl.
|
pure virtual |
Implemented in gr::satellites::selector_impl.
Referenced by make(), and set_input_index().
|
static |
Create new selector block and return a shared pointer to it
itemsize | size of the input and output items |
input_index | the initially active input index |
output_index | the initially active output index |
References input_index(), and output_index().
|
pure virtual |
Implemented in gr::satellites::selector_impl.
Referenced by make(), and set_output_index().
|
pure virtual |
When enabled is set to false, no output samples are produced. Otherwise samples are copied to the selected output port
Implemented in gr::satellites::selector_impl.
|
pure virtual |
Implemented in gr::satellites::selector_impl.
References input_index().
|
pure virtual |
Implemented in gr::satellites::selector_impl.
References output_index().