GNU Radio 3.7.1 C++ API
gr::digital::probe_density_b Class Reference

#include <probe_density_b.h>

Inheritance diagram for gr::digital::probe_density_b:

List of all members.

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)

Detailed Description

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.


Member Typedef Documentation


Member Function Documentation

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.

Parameters:
alphaAverage filter constant
virtual void gr::digital::probe_density_b::set_alpha ( double  alpha) [pure virtual]

Set the average filter constant.


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