GNU Radio 3.6.3.1 C++ API
gr::blocks::multiply_const_cc_impl Class Reference

#include <multiply_const_cc_impl.h>

Inheritance diagram for gr::blocks::multiply_const_cc_impl:
gr::blocks::multiply_const_cc gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

Public Member Functions

 multiply_const_cc_impl (gr_complex k, size_t vlen)
gr_complex k () const
 Return complex multiplicative constant.
void set_k (gr_complex k)
 Set complex multiplicative 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

Additional Inherited Members

- Public Types inherited from gr::blocks::multiply_const_cc
typedef boost::shared_ptr
< multiply_const_cc
sptr
- Static Public Member Functions inherited from gr::blocks::multiply_const_cc
static sptr make (gr_complex k, size_t vlen=1)
 Create an instance of multiply_const_cc.
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr_sync_block
 gr_sync_block (void)
 gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
- Protected Attributes inherited from gr_block
std::vector< long > d_max_output_buffer
std::vector< long > d_min_output_buffer

Constructor & Destructor Documentation

gr::blocks::multiply_const_cc_impl::multiply_const_cc_impl ( gr_complex  k,
size_t  vlen 
)

Member Function Documentation

gr_complex gr::blocks::multiply_const_cc_impl::k ( ) const
inlinevirtual

Return complex multiplicative constant.

Implements gr::blocks::multiply_const_cc.

void gr::blocks::multiply_const_cc_impl::set_k ( gr_complex  k)
inlinevirtual

Set complex multiplicative constant.

Implements gr::blocks::multiply_const_cc.

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