GNU Radio 3.6.5 C++ API

gr::blocks::float_to_char Class Reference

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

#include <float_to_char.h>

Inheritance diagram for gr::blocks::float_to_char:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::float_to_char_impl

List of all members.

Public Types

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


Member Typedef Documentation


Member Function Documentation

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

Build a float to char block.

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

Get the scalar multiplier value.

Implemented in gr::blocks::float_to_char_impl.

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

Set the scalar multiplier value.

Implemented in gr::blocks::float_to_char_impl.


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