GNU Radio 3.5.1 C++ API
gr_glfsr_source_f Class Reference

Galois LFSR pseudo-random source generating float outputs -1.0 - 1.0. More...

#include <gr_glfsr_source_f.h>

Inheritance diagram for gr_glfsr_source_f:

List of all members.

Public Member Functions

 ~gr_glfsr_source_f ()
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
unsigned int period () const
int mask () const

Friends

GR_CORE_API gr_glfsr_source_f_sptr gr_make_glfsr_source_f (int degree, bool repeat, int mask, int seed)

Detailed Description

Galois LFSR pseudo-random source generating float outputs -1.0 - 1.0.


Constructor & Destructor Documentation

gr_glfsr_source_f::~gr_glfsr_source_f ( )

Member Function Documentation

int gr_glfsr_source_f::mask ( ) const
unsigned int gr_glfsr_source_f::period ( ) const [inline]
int gr_glfsr_source_f::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.


Friends And Related Function Documentation

GR_CORE_API gr_glfsr_source_f_sptr gr_make_glfsr_source_f ( int  degree,
bool  repeat,
int  mask,
int  seed 
) [friend]

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