#include <gr_sig_source_s.h>
Inheritance diagram for gr_sig_source_s:
Public Member Functions | |
virtual 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 | |
double | sampling_freq () const |
gr_waveform_t | waveform () const |
double | frequency () const |
double | amplitude () const |
short | offset () const |
void | set_sampling_freq (double sampling_freq) |
void | set_waveform (gr_waveform_t waveform) |
void | set_frequency (double frequency) |
void | set_amplitude (double ampl) |
void | set_offset (short offset) |
Friends | |
gr_sig_source_s_sptr | gr_make_sig_source_s (double sampling_freq, gr_waveform_t waveform, double frequency, double ampl, short offset) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|