21 #ifndef GNSS_SDR_BYTE_X2_TO_COMPLEX_BYTE_H 22 #define GNSS_SDR_BYTE_X2_TO_COMPLEX_BYTE_H 24 #if GNURADIO_USES_STD_POINTERS 27 #include <boost/shared_ptr.hpp> 29 #include <gnuradio/sync_block.h> 30 #include <gnuradio/types.h> 34 #if GNURADIO_USES_STD_POINTERS 35 using byte_x2_to_complex_byte_sptr = std::shared_ptr<byte_x2_to_complex_byte>;
37 using byte_x2_to_complex_byte_sptr = boost::shared_ptr<byte_x2_to_complex_byte>;
41 byte_x2_to_complex_byte_sptr make_byte_x2_to_complex_byte();
50 int work(
int noutput_items,
51 gr_vector_const_void_star &input_items,
52 gr_vector_void_star &output_items);
55 friend byte_x2_to_complex_byte_sptr make_byte_x2_to_complex_byte();
This class adapts two signed char streams into a std::complex<signed char> stream.