GNU Radio 3.3.0 C++ API
howto_square2_ff Class Reference

square2 a stream of floats.This uses the preferred technique: subclassing gr_sync_block. More...

#include <howto_square2_ff.h>

Inheritance diagram for howto_square2_ff:

List of all members.

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.

Detailed Description

square2 a stream of floats.

This uses the preferred technique: subclassing gr_sync_block.


Constructor & Destructor Documentation

howto_square2_ff::~howto_square2_ff ( )

Member Function Documentation

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.


Friends And Related Function Documentation

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.


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