11 #ifndef INCLUDED_BLOCKS_FLOAT_TO_CHAR_H
12 #define INCLUDED_BLOCKS_FLOAT_TO_CHAR_H
28 typedef std::shared_ptr<float_to_char>
sptr;
36 static sptr make(
size_t vlen = 1,
float scale = 1.0);
41 virtual float scale()
const = 0;
Convert stream of floats to a stream of char.
Definition: float_to_char.h:25
virtual void set_scale(float scale)=0
virtual float scale() const =0
static sptr make(size_t vlen=1, float scale=1.0)
std::shared_ptr< float_to_char > sptr
Definition: float_to_char.h:28
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29