gr-baz Package

square2 a stream of floats. More...

#include <baz_sweep.h>

Inheritance diagram for baz_sweep:

Public Member Functions

 ~baz_sweep ()
void sweep (float freq, float rate=-1.0f, bool is_duration=false, bool block=false)
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)

Friends

BAZ_API baz_sweep_sptr baz_make_sweep (float samp_rate, float sweep_rate=0.0, bool is_duration=false)
 Return a shared_ptr to a new instance of baz_sweep.

Detailed Description

square2 a stream of floats.

This uses the preferred technique: subclassing gr::sync_block.

Constructor & Destructor Documentation

◆ ~baz_sweep()

baz_sweep::~baz_sweep ( )

Member Function Documentation

◆ sweep()

void baz_sweep::sweep ( float freq,
float rate = -1.0f,
bool is_duration = false,
bool block = false )

◆ work()

int baz_sweep::work ( int noutput_items,
gr_vector_const_void_star & input_items,
gr_vector_void_star & output_items )

◆ baz_make_sweep

BAZ_API baz_sweep_sptr baz_make_sweep ( float samp_rate,
float sweep_rate = 0.0,
bool is_duration = false )
friend

Return a shared_ptr to a new instance of baz_sweep.

To avoid accidental use of raw pointers, baz_sweep's constructor is private. howto_make_square2_ff is the public interface for creating new instances.

References BAZ_API.


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