20 #ifndef GNSS_SDR_SHORT_X2_TO_CSHORT_H 21 #define GNSS_SDR_SHORT_X2_TO_CSHORT_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 short_x2_to_cshort_sptr = std::shared_ptr<short_x2_to_cshort>;
37 using short_x2_to_cshort_sptr = boost::shared_ptr<short_x2_to_cshort>;
40 short_x2_to_cshort_sptr make_short_x2_to_cshort();
48 int work(
int noutput_items,
49 gr_vector_const_void_star &input_items,
50 gr_vector_void_star &output_items);
53 friend short_x2_to_cshort_sptr make_short_x2_to_cshort();
This class adapts two short streams into a std::complex<short> stream.