19 #ifndef GNSS_SDR_SIGNAL_GENERATOR_H 20 #define GNSS_SDR_SIGNAL_GENERATOR_H 25 #include <gnuradio/blocks/file_sink.h> 26 #include <gnuradio/blocks/vector_to_stream.h> 27 #include <gnuradio/hier_block2.h> 43 const std::string& role,
unsigned int in_stream,
48 inline std::string role()
override 58 return "GNSSSignalGenerator";
61 inline size_t item_size()
override 66 void connect(gr::top_block_sptr top_block)
override;
67 void disconnect(gr::top_block_sptr top_block)
override;
68 gr::basic_block_sptr get_left_block()
override;
69 gr::basic_block_sptr get_right_block()
override;
72 gnss_shared_ptr<gr::block> gen_source_;
73 gr::blocks::vector_to_stream::sptr vector_to_stream_;
74 gr::blocks::file_sink::sptr file_sink_;
76 std::string item_type_;
77 std::string dump_filename_;
79 unsigned int in_stream_;
80 unsigned int out_stream_;
84 #endif // GNSS_SDR_SIGNAL_GENERATOR_H Interface of a thread-safe std::queue.
This class generates synthesized GNSS signal.
std::string implementation() override
Returns "GNSSSignalGenerator".
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
This abstract class represents an interface to GNSS blocks.
GNU Radio source block that generates synthesized GNSS signal.