21 #ifndef GNSS_SDR_COMPLEX_FLOAT_TO_COMPLEX_BYTE_H 22 #define GNSS_SDR_COMPLEX_FLOAT_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> 35 #if GNURADIO_USES_STD_POINTERS 36 using complex_float_to_complex_byte_sptr = std::shared_ptr<complex_float_to_complex_byte>;
38 using complex_float_to_complex_byte_sptr = boost::shared_ptr<complex_float_to_complex_byte>;
41 complex_float_to_complex_byte_sptr make_complex_float_to_complex_byte();
49 int work(
int noutput_items,
50 gr_vector_const_void_star &input_items,
51 gr_vector_void_star &output_items);
54 friend complex_float_to_complex_byte_sptr make_complex_float_to_complex_byte();
This class adapts a gr_complex stream into a std::complex<signed char> stream.