20 #ifndef GNSS_SDR_ISHORT_TO_COMPLEX_H 21 #define GNSS_SDR_ISHORT_TO_COMPLEX_H 25 #include <gnuradio/blocks/file_sink.h> 26 #include <gnuradio/blocks/interleaved_short_to_complex.h> 40 const std::string& role,
unsigned int in_streams,
41 unsigned int out_streams);
45 inline std::string role()
override 53 return "Ishort_To_Complex";
56 inline size_t item_size()
override 58 return 2 *
sizeof(int16_t);
61 void connect(gr::top_block_sptr top_block)
override;
62 void disconnect(gr::top_block_sptr top_block)
override;
63 gr::basic_block_sptr get_left_block()
override;
64 gr::basic_block_sptr get_right_block()
override;
67 gr::blocks::interleaved_short_to_complex::sptr gr_interleaved_short_to_complex_;
68 conjugate_cc_sptr conjugate_cc_;
69 gr::blocks::file_sink::sptr file_sink_;
70 std::string dump_filename_;
71 std::string input_item_type_;
72 std::string output_item_type_;
74 unsigned int in_streams_;
75 unsigned int out_streams_;
76 bool inverted_spectrum;
std::string implementation() override
Returns "Ishort_To_Complex".
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
Conjugate a stream of gr_complex.
This abstract class represents an interface to GNSS blocks.
Adapts an I/Q interleaved short integer sample stream to a gr_complex (float) stream.