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

Convert stream of shorts to a stream of floats. More...

#include <short_to_float.h>

Inheritance diagram for gr::blocks::short_to_float:

List of all members.

Public Types

typedef boost::shared_ptr
< short_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 shorts to a stream of floats.


Member Typedef Documentation


Member Function Documentation

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

Build a short to float block.

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

Get the scalar divider value.

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

Set the scalar divider value.


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