GNU Radio 3.6.5 C++ API

gr::blocks::add_const_cc_impl Class Reference

#include <add_const_cc_impl.h>

Inheritance diagram for gr::blocks::add_const_cc_impl:
gr::blocks::add_const_cc gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

 add_const_cc_impl (gr_complex k)
gr_complex k () const
 Return additive constant.
void set_k (gr_complex k)
 Set additive constant.
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

Constructor & Destructor Documentation

gr::blocks::add_const_cc_impl::add_const_cc_impl ( gr_complex  k)

Member Function Documentation

gr_complex gr::blocks::add_const_cc_impl::k ( ) const [inline, virtual]

Return additive constant.

Implements gr::blocks::add_const_cc.

void gr::blocks::add_const_cc_impl::set_k ( gr_complex  k) [inline, virtual]

Set additive constant.

Implements gr::blocks::add_const_cc.

int gr::blocks::add_const_cc_impl::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.


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