21 #ifndef GNSS_SDR_IBYTE_TO_CBYTE_H 22 #define GNSS_SDR_IBYTE_TO_CBYTE_H 27 #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 "Ibyte_To_Cbyte";
57 inline size_t item_size()
override 59 return 2 *
sizeof(int8_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_byte_to_complex_byte_sptr ibyte_to_cbyte_;
69 conjugate_ic_sptr conjugate_ic_;
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 "Ibyte_To_Cbyte".
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
Conjugate a stream of lv_8sc_t ( std::complex<char> )
Adapts an 8-bits interleaved sample stream into a 16-bits complex stream.
This abstract class represents an interface to GNSS blocks.