17 #ifndef GNSS_SDR_ISHORT_TO_CSHORT_H 18 #define GNSS_SDR_ISHORT_TO_CSHORT_H 23 #include <gnuradio/blocks/file_sink.h> 43 const std::string& role,
unsigned int in_streams,
44 unsigned int out_streams);
48 inline std::string role()
override 56 return "Ishort_To_Cshort";
59 inline size_t item_size()
override 61 return 2 *
sizeof(int16_t);
64 void connect(gr::top_block_sptr top_block)
override;
65 void disconnect(gr::top_block_sptr top_block)
override;
66 gr::basic_block_sptr get_left_block()
override;
67 gr::basic_block_sptr get_right_block()
override;
70 interleaved_short_to_complex_short_sptr interleaved_short_to_complex_short_;
71 conjugate_sc_sptr conjugate_sc_;
72 gr::blocks::file_sink::sptr file_sink_;
73 std::string dump_filename_;
74 std::string input_item_type_;
75 std::string output_item_type_;
77 unsigned int in_streams_;
78 unsigned int out_streams_;
79 bool inverted_spectrum;
86 #endif // GNSS_SDR_ISHORT_TO_CSHORT_H 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> )