20 #ifndef GNSS_SDR_ISHORT_TO_CSHORT_H 21 #define GNSS_SDR_ISHORT_TO_CSHORT_H 26 #include <gnuradio/blocks/file_sink.h> 41 const std::string& role,
unsigned int in_streams,
42 unsigned int out_streams);
46 inline std::string role()
override 54 return "Ishort_To_Cshort";
57 inline size_t item_size()
override 59 return 2 *
sizeof(int16_t);
62 void connect(gr::top_block_sptr top_block)
override;
63 void disconnect(gr::top_block_sptr top_block)
override;
64 gr::basic_block_sptr get_left_block()
override;
65 gr::basic_block_sptr get_right_block()
override;
68 interleaved_short_to_complex_short_sptr interleaved_short_to_complex_short_;
69 conjugate_sc_sptr conjugate_sc_;
70 gr::blocks::file_sink::sptr file_sink_;
71 std::string dump_filename_;
72 std::string input_item_type_;
73 std::string output_item_type_;
75 unsigned int in_streams_;
76 unsigned int out_streams_;
77 bool inverted_spectrum;
std::string implementation() override
Returns "Ishort_To_Cshort".
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
Adapts a short (16-bits) interleaved sample stream into a std::complex<short> stream.
Adapts a short integer (16 bits) interleaved sample stream into a std::complex<short> stream...
This abstract class represents an interface to GNSS blocks.
Conjugate a stream of lv_16sc_t ( std::complex<short> )