GNU Radio 3.6.5 C++ API

gr::blocks::int_to_float Class Reference

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

#include <int_to_float.h>

Inheritance diagram for gr::blocks::int_to_float:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::int_to_float_impl

List of all members.

Public Types

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


Member Typedef Documentation


Member Function Documentation

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

Build an int to float block.

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

Get the scalar divider value.

Implemented in gr::blocks::int_to_float_impl.

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

Set the scalar divider value.

Implemented in gr::blocks::int_to_float_impl.


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