22 #ifndef GNSS_SDR_SIGNAL_GENERATOR_H 23 #define GNSS_SDR_SIGNAL_GENERATOR_H 28 #include <gnuradio/blocks/file_sink.h> 29 #include <gnuradio/blocks/vector_to_stream.h> 30 #include <gnuradio/hier_block2.h> 46 const std::string& role,
unsigned int in_stream,
51 inline std::string role()
override 61 return "GNSSSignalGenerator";
64 inline size_t item_size()
override 69 void connect(gr::top_block_sptr top_block)
override;
70 void disconnect(gr::top_block_sptr top_block)
override;
71 gr::basic_block_sptr get_left_block()
override;
72 gr::basic_block_sptr get_right_block()
override;
75 #if GNURADIO_USES_STD_POINTERS 76 std::shared_ptr<gr::block> gen_source_;
78 boost::shared_ptr<gr::block> gen_source_;
80 gr::blocks::vector_to_stream::sptr vector_to_stream_;
81 gr::blocks::file_sink::sptr file_sink_;
83 std::string item_type_;
84 std::string dump_filename_;
86 unsigned int in_stream_;
87 unsigned int out_stream_;
91 #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.