The Inspector (GNU Radio module gr-inspector)
gr::inspector::signal_extractor_c Class Referenceabstract

Extractor block to extract signal samples out of bundled message passed from Signal Separator block. More...

#include <signal_extractor_c.h>

Inheritance diagram for gr::inspector::signal_extractor_c:
gr::inspector::signal_extractor_c_impl

Public Types

typedef boost::shared_ptr< signal_extractor_csptr
 

Public Member Functions

virtual void set_signal (int signal)=0
 

Static Public Member Functions

static sptr make (int signal, bool resample=false, float rate=1.0, float osf=1.0)
 Return a new Extractor block instance. More...
 

Detailed Description

Extractor block to extract signal samples out of bundled message passed from Signal Separator block.

Signal Extractor block is able to extract signal samples for specified signal out of message passed by Signal Separator block. These messages contain the samples of all detected signals. This block only passes the ones beloging to the specified signal number as a complex stream. This way, custom signal chains can be appended after the inspector blocks.

If the resample option is used, the block will try to resample the input samples based on the message input from the map port to the desired output sample rate. An oversampling factor can be taken into account, if the input samples are oversampled by the signal separator.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::inspector::signal_extractor_c::make ( int  signal,
bool  resample = false,
float  rate = 1.0,
float  osf = 1.0 
)
static

Return a new Extractor block instance.

Parameters
signalOutput Signal number (beginning with 0) for desired sample
resampleEnable resampling of samples
rateDesired output sample rate if resample is enabled
osfOversampling factor of the input signal (relative to map input)

◆ set_signal()

virtual void gr::inspector::signal_extractor_c::set_signal ( int  signal)
pure virtual

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