GNU Radio 3.6.5 C++ API
|
#include <noise_source_i_impl.h>
Public Member Functions | |
noise_source_i_impl (noise_type_t type, float ampl, long seed=0) | |
~noise_source_i_impl () | |
void | set_type (noise_type_t type) |
void | set_amplitude (float ampl) |
noise_type_t | type () const |
float | amplitude () const |
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::analog::noise_source_i_impl::noise_source_i_impl | ( | noise_type_t | type, |
float | ampl, | ||
long | seed = 0 |
||
) |
gr::analog::noise_source_i_impl::~noise_source_i_impl | ( | ) |
float gr::analog::noise_source_i_impl::amplitude | ( | ) | const [inline, virtual] |
Implements gr::analog::noise_source_i.
void gr::analog::noise_source_i_impl::set_amplitude | ( | float | ampl | ) | [virtual] |
Implements gr::analog::noise_source_i.
void gr::analog::noise_source_i_impl::set_type | ( | noise_type_t | type | ) | [virtual] |
Implements gr::analog::noise_source_i.
noise_type_t gr::analog::noise_source_i_impl::type | ( | ) | const [inline, virtual] |
Implements gr::analog::noise_source_i.
int gr::analog::noise_source_i_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.