12#ifndef INCLUDED_BLOCKS_FLOAT_TO_UCHAR_H
13#define INCLUDED_BLOCKS_FLOAT_TO_UCHAR_H
29 typedef std::shared_ptr<float_to_uchar>
sptr;
43 virtual float scale()
const = 0;
48 virtual float bias()
const = 0;
Convert stream of floats to a stream of unsigned chars.
Definition float_to_uchar.h:26
virtual float scale() const =0
virtual void set_bias(float scale)=0
virtual void set_scale(float scale)=0
static sptr make(size_t vlen=1, float scale=1.0, float bias=0.0)
virtual float bias() const =0
std::shared_ptr< float_to_uchar > sptr
Definition float_to_uchar.h:29
sync_block(void)
Definition sync_block.h:28
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition basic_block.h:29