GNU Radio 3.6.5 C++ API
|
#include <float_to_int_impl.h>
Public Member Functions | |
float_to_int_impl (size_t vlen, float scale) | |
virtual float | scale () const |
virtual void | set_scale (float scale) |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you |
gr::blocks::float_to_int_impl::float_to_int_impl | ( | size_t | vlen, |
float | scale | ||
) |
virtual float gr::blocks::float_to_int_impl::scale | ( | ) | const [inline, virtual] |
Get the scalar multiplier value.
Implements gr::blocks::float_to_int.
virtual void gr::blocks::float_to_int_impl::set_scale | ( | float | scale | ) | [inline, virtual] |
Set the scalar multiplier value.
Implements gr::blocks::float_to_int.
int gr::blocks::float_to_int_impl::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.