GNU Radio 3.6.5 C++ API

gr::blocks::and_const_bb Class Reference

output_N = input_N & valuebitwise boolean and of const to the data stream. More...

#include <and_const_bb.h>

Inheritance diagram for gr::blocks::and_const_bb:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::and_const_bb_impl

List of all members.

Public Types

typedef boost::shared_ptr
< and_const_bb
sptr

Public Member Functions

virtual unsigned char k () const =0
 Return AND constant.
virtual void set_k (unsigned char k)=0
 Set AND constant.

Static Public Member Functions

static sptr make (unsigned char k)
 Create an instance of and_const_bb.

Detailed Description

output_N = input_N & value

bitwise boolean and of const to the data stream.


Member Typedef Documentation


Member Function Documentation

virtual unsigned char gr::blocks::and_const_bb::k ( ) const [pure virtual]

Return AND constant.

Implemented in gr::blocks::and_const_bb_impl.

static sptr gr::blocks::and_const_bb::make ( unsigned char  k) [static]

Create an instance of and_const_bb.

Parameters:
kAND constant
virtual void gr::blocks::and_const_bb::set_k ( unsigned char  k) [pure virtual]

Set AND constant.

Implemented in gr::blocks::and_const_bb_impl.


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