GNU Radio 3.6.0 C++ API
gnuradio::extras::stream_selector Class Reference

#include <stream_selector.h>

Inheritance diagram for gnuradio::extras::stream_selector:
gr_hier_block2 gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

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)

Detailed Description

The sector extras allows streams to be dynamically routed at runtime.


Member Typedef Documentation


Member Function Documentation

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

Parameters:
in_sigsignature to describe inputs
out_sigsignature 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.

Parameters:
pathsa list of stream destinations for each port

The documentation for this class was generated from the following file: