GNU Radio 3.6.5 C++ API

gr::blocks::add_const_ii Class Reference

output = input + constant More...

#include <add_const_ii.h>

Inheritance diagram for gr::blocks::add_const_ii:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::add_const_ii_impl

List of all members.

Public Types

typedef boost::shared_ptr
< add_const_ii
sptr

Public Member Functions

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

Static Public Member Functions

static sptr make (int k)
 Create an instance of add_const_ii.

Detailed Description

output = input + constant


Member Typedef Documentation


Member Function Documentation

virtual int gr::blocks::add_const_ii::k ( ) const [pure virtual]

Return additive constant.

Implemented in gr::blocks::add_const_ii_impl.

static sptr gr::blocks::add_const_ii::make ( int  k) [static]

Create an instance of add_const_ii.

Parameters:
kadditive constant
virtual void gr::blocks::add_const_ii::set_k ( int  k) [pure virtual]

Set additive constant.

Implemented in gr::blocks::add_const_ii_impl.


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