18 #ifndef GNSS_SDR_IBYTE_TO_CBYTE_H 19 #define GNSS_SDR_IBYTE_TO_CBYTE_H 24 #include <gnuradio/blocks/file_sink.h> 44 const std::string& role,
unsigned int in_streams,
45 unsigned int out_streams);
49 inline std::string role()
override 57 return "Ibyte_To_Cbyte";
60 inline size_t item_size()
override 62 return 2 *
sizeof(int8_t);
65 void connect(gr::top_block_sptr top_block)
override;
66 void disconnect(gr::top_block_sptr top_block)
override;
67 gr::basic_block_sptr get_left_block()
override;
68 gr::basic_block_sptr get_right_block()
override;
71 interleaved_byte_to_complex_byte_sptr ibyte_to_cbyte_;
72 conjugate_ic_sptr conjugate_ic_;
73 gr::blocks::file_sink::sptr file_sink_;
74 std::string dump_filename_;
75 std::string input_item_type_;
76 std::string output_item_type_;
78 unsigned int in_streams_;
79 unsigned int out_streams_;
80 bool inverted_spectrum;
87 #endif // GNSS_SDR_IBYTE_TO_CBYTE_H 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.