GNU Radio 3.7.1 C++ API
|
#include <probe_density_b.h>
Public Types | |
typedef boost::shared_ptr < probe_density_b > | sptr |
Public Member Functions | |
virtual double | density () const =0 |
Returns the current density value. | |
virtual void | set_alpha (double alpha)=0 |
Set the average filter constant. | |
Static Public Member Functions | |
static sptr | make (double alpha) |
This block maintains a running average of the input stream and makes it available as an accessor function. The input stream is type unsigned char.
If you send this block a stream of unpacked bytes, it will tell you what the bit density is.
virtual double gr::digital::probe_density_b::density | ( | ) | const [pure virtual] |
Returns the current density value.
static sptr gr::digital::probe_density_b::make | ( | double | alpha | ) | [static] |
Make a density probe block.
alpha | Average filter constant |
virtual void gr::digital::probe_density_b::set_alpha | ( | double | alpha | ) | [pure virtual] |
Set the average filter constant.