GNU Radio 3.6.5 C++ API
|
Sets a burst on/off tag based on the value of the trigger input. More...
#include <burst_tagger.h>
Public Types | |
typedef boost::shared_ptr < burst_tagger > | sptr |
Public Member Functions | |
virtual void | set_true_tag (const std::string &key, bool value)=0 |
virtual void | set_false_tag (const std::string &key, bool value)=0 |
Static Public Member Functions | |
static sptr | make (size_t itemsize) |
Sets a burst on/off tag based on the value of the trigger input.
This block takes two inputs, a signal stream on the input stream 0 and a trigger stream of shorts on input stream 1. If the trigger stream goes above 0, a tag with the key "burst" will be transmitted as a pmt::PMT_T. When the trigger signal falls below 0, the "burst" tag will be transmitted as pmt::PMT_F.
The signal on stream 0 is retransmitted to output stream 0.
static sptr gr::blocks::burst_tagger::make | ( | size_t | itemsize | ) | [static] |
Build a burst tagger blocks.
itemsize | itemsize of the signal stream on input 0. |
virtual void gr::blocks::burst_tagger::set_false_tag | ( | const std::string & | key, |
bool | value | ||
) | [pure virtual] |
For the false burst tag, change the key name to key
and a new value of value
.
Implemented in gr::blocks::burst_tagger_impl.
virtual void gr::blocks::burst_tagger::set_true_tag | ( | const std::string & | key, |
bool | value | ||
) | [pure virtual] |
For the true burst tag, change the key name to key
and a new value of value
.
Implemented in gr::blocks::burst_tagger_impl.