GNU Radio 3.7.1 C++ API
gr::blocks::char_to_float Class Reference

Convert stream of chars to a stream of float. More...

#include <char_to_float.h>

Inheritance diagram for gr::blocks::char_to_float:

List of all members.

Public Types

typedef boost::shared_ptr
< char_to_float
sptr

Public Member Functions

virtual float scale () const =0
virtual void set_scale (float scale)=0

Static Public Member Functions

static sptr make (size_t vlen=1, float scale=1.0)

Detailed Description

Convert stream of chars to a stream of float.


Member Typedef Documentation


Member Function Documentation

static sptr gr::blocks::char_to_float::make ( size_t  vlen = 1,
float  scale = 1.0 
) [static]

Build a chars to float stream converter block.

Parameters:
vlenvector length of data streams.
scalea scalar divider to change the output signal scale.
virtual float gr::blocks::char_to_float::scale ( ) const [pure virtual]

Get the scalar divider value.

virtual void gr::blocks::char_to_float::set_scale ( float  scale) [pure virtual]

Set the scalar divider value.


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