21 #ifndef GNSS_SDR_COMPLEX_BYTE_TO_FLOAT_X2_H 22 #define GNSS_SDR_COMPLEX_BYTE_TO_FLOAT_X2_H 25 #if GNURADIO_USES_STD_POINTERS 28 #include <boost/shared_ptr.hpp> 30 #include <gnuradio/sync_block.h> 31 #include <gnuradio/types.h> 35 #if GNURADIO_USES_STD_POINTERS 36 using complex_byte_to_float_x2_sptr = std::shared_ptr<complex_byte_to_float_x2>;
38 using complex_byte_to_float_x2_sptr = boost::shared_ptr<complex_byte_to_float_x2>;
41 complex_byte_to_float_x2_sptr make_complex_byte_to_float_x2();
50 int work(
int noutput_items,
51 gr_vector_const_void_star &input_items,
52 gr_vector_void_star &output_items);
55 friend complex_byte_to_float_x2_sptr make_complex_byte_to_float_x2();
This class adapts a std::complex<signed char> stream into two 16-bits (short) streams.