GNU Radio 3.6.5 C++ API

gr::blocks::add_const_ss Class Reference

output = input + constant More...

#include <add_const_ss.h>

Inheritance diagram for gr::blocks::add_const_ss:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::add_const_ss_impl

List of all members.

Public Types

typedef boost::shared_ptr
< add_const_ss
sptr

Public Member Functions

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

Static Public Member Functions

static sptr make (short k)
 Create an instance of add_const_ss.

Detailed Description

output = input + constant


Member Typedef Documentation


Member Function Documentation

virtual short gr::blocks::add_const_ss::k ( ) const [pure virtual]

Return additive constant.

Implemented in gr::blocks::add_const_ss_impl.

static sptr gr::blocks::add_const_ss::make ( short  k) [static]

Create an instance of add_const_ss.

Parameters:
kadditive constant
virtual void gr::blocks::add_const_ss::set_k ( short  k) [pure virtual]

Set additive constant.

Implemented in gr::blocks::add_const_ss_impl.


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