GNU Radio 3.6.0 C++ API
|
#include <stream_selector.h>
Public Types | |
typedef boost::shared_ptr < stream_selector > | sptr |
Public Member Functions | |
virtual void | set_paths (const std::vector< int > &paths)=0 |
Static Public Member Functions | |
static sptr | make (gr_io_signature_sptr in_sig, gr_io_signature_sptr out_sig) |
The sector extras allows streams to be dynamically routed at runtime.
static sptr gnuradio::extras::stream_selector::make | ( | gr_io_signature_sptr | in_sig, |
gr_io_signature_sptr | out_sig | ||
) | [static] |
Make a new stream selector block
in_sig | signature to describe inputs |
out_sig | signature to describe outputs |
virtual void gnuradio::extras::stream_selector::set_paths | ( | const std::vector< int > & | paths | ) | [pure virtual] |
Set the path for samples for each input ports. Element i of paths specifies the output port index for input port i. The value of the element may also be: -1 to block or -2 to consume.
paths | a list of stream destinations for each port |