GNU Radio's SATELLITES Package
gr::satellites::level_to_message Class Reference

Converts changes in signal level to messages. More...

#include <level_to_message.h>

Inheritance diagram for gr::satellites::level_to_message:
gr::satellites::level_to_message_impl

Public Types

typedef std::shared_ptr< level_to_messagesptr
 

Static Public Member Functions

static sptr make (float threshold)
 Build the Level to Message block. More...
 

Detailed Description

Converts changes in signal level to messages.

This block is mainly intended to be used with the output of the Threshold block. It compares its input with a given threshold. Whenever the input crosses the threshold, a message is output saying if the signal is now over the threshold or below the threshold. If there are multiple threshold crossings inside a work() call, only the last one is considered, so at most there is an output message per work() call (i.e., the block only ever looks at the last input sample in each work() call).

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::satellites::level_to_message::make ( float  threshold)
static

Build the Level to Message block.

Parameters
thresholdLevel change threshold

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