17 #ifndef GNSS_SDR_IBYTE_TO_CSHORT_H 18 #define GNSS_SDR_IBYTE_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 "Ibyte_To_Cshort";
59 inline size_t item_size()
override 61 return 2 *
sizeof(int8_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_byte_to_complex_short_sptr interleaved_byte_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_IBYTE_TO_CSHORT_H This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
std::string implementation() override
Returns "Ibyte_To_Cshort".
This abstract class represents an interface to GNSS blocks.
Adapts a short integer (16 bits) interleaved sample stream into a std::complex<short> stream...
Conjugate a stream of lv_16sc_t ( std::complex<short> )
Adapts a byte (8-bits) interleaved sample stream into a std::complex<short> stream.