GNU Radio 3.6.5 C++ API
|
Convert stream of ints to a stream of floats. More...
#include <int_to_float.h>
Public Types | |
typedef boost::shared_ptr < int_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 ints to a stream of floats.
static sptr gr::blocks::int_to_float::make | ( | size_t | vlen = 1 , |
float | scale = 1.0 |
||
) | [static] |
Build an int to float block.
vlen | vector length of data streams. |
scale | a scalar divider to change the output signal scale. |
virtual float gr::blocks::int_to_float::scale | ( | ) | const [pure virtual] |
Get the scalar divider value.
Implemented in gr::blocks::int_to_float_impl.
virtual void gr::blocks::int_to_float::set_scale | ( | float | scale | ) | [pure virtual] |
Set the scalar divider value.
Implemented in gr::blocks::int_to_float_impl.