GNU Radio 3.6.5 C++ API
|
Convert stream of shorts to a stream of floats. More...
#include <short_to_float.h>
Public Types | |
typedef boost::shared_ptr < short_to_float > | sptr |
Public Member Functions | |
virtual float | scale () const =0 |
virtual void | set_scale (float scale)=0 |
Static Public Member Functions | |
static sptr | make (size_t vlen=1, float scale=1.0) |
Convert stream of shorts to a stream of floats.
static sptr gr::blocks::short_to_float::make | ( | size_t | vlen = 1 , |
float | scale = 1.0 |
||
) | [static] |
Build a short to float block.
vlen | vector length of data streams. |
scale | a scalar divider to change the output signal scale. |
virtual float gr::blocks::short_to_float::scale | ( | ) | const [pure virtual] |
Get the scalar divider value.
Implemented in gr::blocks::short_to_float_impl.
virtual void gr::blocks::short_to_float::set_scale | ( | float | scale | ) | [pure virtual] |
Set the scalar divider value.
Implemented in gr::blocks::short_to_float_impl.