GNU Radio 3.6.0 C++ API
|
#include <add_const.h>
Public Types | |
typedef boost::shared_ptr < add_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) |
virtual std::vector<std::complex<double> > gnuradio::extras::add_const_v::get_const | ( | void | ) | [pure virtual] |
Get the constant value as a vector of complex double.
static sptr gnuradio::extras::add_const_v::make_f32_f32 | ( | const std::vector< float > & | vec | ) | [static] |
static sptr gnuradio::extras::add_const_v::make_fc32_fc32 | ( | const std::vector< std::complex< float > > & | vec | ) | [static] |
Make an add const from type and const value. The length of value is the vector length of this block.
static sptr gnuradio::extras::add_const_v::make_s16_s16 | ( | const std::vector< int16_t > & | vec | ) | [static] |
static sptr gnuradio::extras::add_const_v::make_s32_s32 | ( | const std::vector< int32_t > & | vec | ) | [static] |
static sptr gnuradio::extras::add_const_v::make_s8_s8 | ( | const std::vector< int8_t > & | vec | ) | [static] |
static sptr gnuradio::extras::add_const_v::make_sc16_sc16 | ( | const std::vector< std::complex< int16_t > > & | vec | ) | [static] |
static sptr gnuradio::extras::add_const_v::make_sc32_sc32 | ( | const std::vector< std::complex< int32_t > > & | vec | ) | [static] |
static sptr gnuradio::extras::add_const_v::make_sc8_sc8 | ( | const std::vector< std::complex< int8_t > > & | vec | ) | [static] |
void gnuradio::extras::add_const_v::set_const | ( | const std::vector< type > & | val | ) |
Set the value from any vector type.
References gr_num_to_complex_double().