GNU Radio's SATELLITES Package
|
output[output_index][i] = input[input_index][i] More...
#include <selector.h>
Public Types | |
typedef boost::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 boost::shared_ptr<selector> gr::satellites::selector::sptr |
|
pure virtual |
Implemented in gr::satellites::selector_impl.
|
pure virtual |
Implemented in gr::satellites::selector_impl.
|
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 |
|
pure virtual |
Implemented in gr::satellites::selector_impl.
|
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.
|
pure virtual |
Implemented in gr::satellites::selector_impl.