GNU Radio 3.4.2 C++ API
gr_glfsr_source_b Class Reference

Galois LFSR pseudo-random source. More...

#include <gr_glfsr_source_b.h>

Inheritance diagram for gr_glfsr_source_b:

List of all members.

Public Member Functions

 ~gr_glfsr_source_b ()
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_glfsr_source_b_sptr gr_make_glfsr_source_b (int degree, bool repeat, int mask, int seed)

Detailed Description

Galois LFSR pseudo-random source.


Constructor & Destructor Documentation

gr_glfsr_source_b::~gr_glfsr_source_b ( )

Member Function Documentation

int gr_glfsr_source_b::mask ( ) const
unsigned int gr_glfsr_source_b::period ( ) const [inline]
int gr_glfsr_source_b::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_glfsr_source_b_sptr gr_make_glfsr_source_b ( int  degree,
bool  repeat,
int  mask,
int  seed 
) [friend]

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