20 #ifndef GNSS_SDR_FLEXIBAND_SIGNAL_SOURCE_H 21 #define GNSS_SDR_FLEXIBAND_SIGNAL_SOURCE_H 25 #include <gnuradio/blocks/char_to_float.h> 26 #include <gnuradio/blocks/file_sink.h> 27 #include <gnuradio/blocks/float_to_complex.h> 28 #include <gnuradio/blocks/null_sink.h> 29 #include <gnuradio/hier_block2.h> 52 const std::string& role,
unsigned int in_stream,
57 inline std::string role()
override 67 return "Flexiband_Signal_Source";
70 inline size_t item_size()
override 75 void connect(gr::top_block_sptr top_block)
override;
76 void disconnect(gr::top_block_sptr top_block)
override;
77 gr::basic_block_sptr get_left_block()
override;
78 gr::basic_block_sptr get_right_block()
override;
79 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
82 boost::shared_ptr<gr::block> flexiband_source_;
84 std::vector<boost::shared_ptr<gr::block>> char_to_float;
85 std::vector<boost::shared_ptr<gr::block>> float_to_complex_;
86 std::vector<gr::blocks::null_sink::sptr> null_sinks_;
89 std::string item_type_;
90 std::string firmware_filename_;
91 std::string signal_file;
94 unsigned int in_stream_;
95 unsigned int out_stream_;
100 int usb_packet_buffer_size_;
111 #endif // GNSS_SDR_FLEXIBAND_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
std::string implementation() override
Returns "Flexiband_Signal_Source".
This class configures and reads samples from Teleorbit Flexiband front-end. This software requires a ...
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
This abstract class represents an interface to GNSS blocks.