gr-baz Package
|
square2 a stream of floats. More...
#include <baz_pow_cc.h>
Public Member Functions | |
~baz_pow_cc () | |
void | set_exponent (float exponent) |
void | set_division_exponent (float div_exp) |
float | exponent () const |
float | division_exponent () const |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Friends | |
BAZ_API baz_pow_cc_sptr | baz_make_pow_cc (float exponent, float div_exp) |
Return a shared_ptr to a new instance of baz_pow_cc. | |
square2 a stream of floats.
This uses the preferred technique: subclassing gr::sync_block.
baz_pow_cc::~baz_pow_cc | ( | ) |
|
inline |
|
inline |
void baz_pow_cc::set_division_exponent | ( | float | div_exp | ) |
void baz_pow_cc::set_exponent | ( | float | exponent | ) |
int baz_pow_cc::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) |
|
friend |
Return a shared_ptr to a new instance of baz_pow_cc.
To avoid accidental use of raw pointers, baz_pow_cc's constructor is private. howto_make_square2_ff is the public interface for creating new instances.