21 #ifndef GNSS_SDR_CSHORT_TO_FLOAT_X2_H 22 #define GNSS_SDR_CSHORT_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 cshort_to_float_x2_sptr = std::shared_ptr<cshort_to_float_x2>;
38 using cshort_to_float_x2_sptr = boost::shared_ptr<cshort_to_float_x2>;
41 cshort_to_float_x2_sptr make_cshort_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 cshort_to_float_x2_sptr make_cshort_to_float_x2();
This class adapts a std::complex<short> stream into two 32-bits (float) streams.