GNU Radio 3.6.5 C++ API

gr::analog::noise_source_i_impl Class Reference

#include <noise_source_i_impl.h>

Inheritance diagram for gr::analog::noise_source_i_impl:
gr::analog::noise_source_i gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

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

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

float gr::analog::noise_source_i_impl::amplitude ( ) const [inline, virtual]
void gr::analog::noise_source_i_impl::set_amplitude ( float  ampl) [virtual]
void gr::analog::noise_source_i_impl::set_type ( noise_type_t  type) [virtual]
noise_type_t gr::analog::noise_source_i_impl::type ( ) const [inline, virtual]
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.


The documentation for this class was generated from the following file: