GNU Radio 3.6.0 C++ API
gnuradio::extras::multiply_const_v Class Reference

#include <multiply_const.h>

Inheritance diagram for gnuradio::extras::multiply_const_v:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Types

typedef boost::shared_ptr
< multiply_const_v
sptr

Public Member Functions

template<typename type >
void set_const (const std::vector< type > &val)
 Set the value from any vector type.
virtual std::vector
< std::complex< double > > 
get_const (void)=0
 Get the constant value as a vector of complex double.

Static Public Member Functions

static sptr make_fc32_fc32 (const std::vector< std::complex< float > > &vec)
static sptr make_sc32_sc32 (const std::vector< std::complex< int32_t > > &vec)
static sptr make_sc16_sc16 (const std::vector< std::complex< int16_t > > &vec)
static sptr make_sc8_sc8 (const std::vector< std::complex< int8_t > > &vec)
static sptr make_f32_f32 (const std::vector< float > &vec)
static sptr make_s32_s32 (const std::vector< int32_t > &vec)
static sptr make_s16_s16 (const std::vector< int16_t > &vec)
static sptr make_s8_s8 (const std::vector< int8_t > &vec)

Member Typedef Documentation


Member Function Documentation

virtual std::vector<std::complex<double> > gnuradio::extras::multiply_const_v::get_const ( void  ) [pure virtual]

Get the constant value as a vector of complex double.

static sptr gnuradio::extras::multiply_const_v::make_f32_f32 ( const std::vector< float > &  vec) [static]
static sptr gnuradio::extras::multiply_const_v::make_fc32_fc32 ( const std::vector< std::complex< float > > &  vec) [static]

Make a multiply const from type and const value. The length of value is the vector length of this block.

static sptr gnuradio::extras::multiply_const_v::make_s16_s16 ( const std::vector< int16_t > &  vec) [static]
static sptr gnuradio::extras::multiply_const_v::make_s32_s32 ( const std::vector< int32_t > &  vec) [static]
static sptr gnuradio::extras::multiply_const_v::make_s8_s8 ( const std::vector< int8_t > &  vec) [static]
static sptr gnuradio::extras::multiply_const_v::make_sc16_sc16 ( const std::vector< std::complex< int16_t > > &  vec) [static]
static sptr gnuradio::extras::multiply_const_v::make_sc32_sc32 ( const std::vector< std::complex< int32_t > > &  vec) [static]
static sptr gnuradio::extras::multiply_const_v::make_sc8_sc8 ( const std::vector< std::complex< int8_t > > &  vec) [static]
template<typename type >
void gnuradio::extras::multiply_const_v::set_const ( const std::vector< type > &  val)

Set the value from any vector type.

References gr_num_to_complex_double().


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