25#ifndef INCLUDED_BLOCKS_AND_CONST_BB_H
26#define INCLUDED_BLOCKS_AND_CONST_BB_H
47 typedef boost::shared_ptr<and_const_bb>
sptr;
58 virtual unsigned char k()
const = 0;
63 virtual void set_k(
unsigned char k) = 0;
output[m] = input[m] & value for all M streams.
Definition: and_const_bb.h:42
static sptr make(unsigned char k)
Create an instance of and_const_bb.
boost::shared_ptr< and_const_bb > sptr
Definition: and_const_bb.h:47
virtual void set_k(unsigned char k)=0
Set AND constant.
virtual unsigned char k() const =0
Return AND constant.
synchronous 1:1 input to output with history
Definition: sync_block.h:38
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45