23#ifndef INCLUDED_BLOCKS_FLOAT_TO_INT_H
24#define INCLUDED_BLOCKS_FLOAT_TO_INT_H
40 typedef boost::shared_ptr<float_to_int>
sptr;
48 static sptr make(
size_t vlen = 1,
float scale = 1.0);
53 virtual float scale()
const = 0;
Convert stream of floats to a stream of ints.
Definition: float_to_int.h:37
virtual void set_scale(float scale)=0
virtual float scale() const =0
static sptr make(size_t vlen=1, float scale=1.0)
boost::shared_ptr< float_to_int > sptr
Definition: float_to_int.h:40
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