GNU Radio 3.5.1 C++ API
|
square2 a stream of floats.This uses the preferred technique: subclassing gr_sync_block. More...
#include <howto_square2_ff.h>
Public Member Functions | |
~howto_square2_ff () | |
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 | |
Friends | |
howto_square2_ff_sptr | howto_make_square2_ff () |
Return a shared_ptr to a new instance of howto_square2_ff. |
square2 a stream of floats.
This uses the preferred technique: subclassing gr_sync_block.
howto_square2_ff::~howto_square2_ff | ( | ) |
int howto_square2_ff::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.
howto_square2_ff_sptr howto_make_square2_ff | ( | ) | [friend] |
Return a shared_ptr to a new instance of howto_square2_ff.
To avoid accidental use of raw pointers, howto_square2_ff's constructor is private. howto_make_square2_ff is the public interface for creating new instances.