GNU Radio 3.6.5 C++ API

gr::blocks::add_const_cc Class Reference

output = input + constant More...

#include <add_const_cc.h>

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

List of all members.

Public Types

typedef boost::shared_ptr
< add_const_cc
sptr

Public Member Functions

virtual gr_complex k () const =0
 Return additive constant.
virtual void set_k (gr_complex k)=0
 Set additive constant.

Static Public Member Functions

static sptr make (gr_complex k)
 Create an instance of add_const_cc.

Detailed Description

output = input + constant


Member Typedef Documentation


Member Function Documentation

virtual gr_complex gr::blocks::add_const_cc::k ( ) const [pure virtual]

Return additive constant.

Implemented in gr::blocks::add_const_cc_impl.

static sptr gr::blocks::add_const_cc::make ( gr_complex  k) [static]

Create an instance of add_const_cc.

Parameters:
kadditive constant
virtual void gr::blocks::add_const_cc::set_k ( gr_complex  k) [pure virtual]

Set additive constant.

Implemented in gr::blocks::add_const_cc_impl.


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