23 #ifndef GNSS_SDR_GNSS_SDR_VALVE_H 24 #define GNSS_SDR_GNSS_SDR_VALVE_H 27 #include <gnuradio/sync_block.h> 28 #include <gnuradio/types.h> 32 #if GNURADIO_USES_STD_POINTERS 35 #include <boost/shared_ptr.hpp> 40 #if GNURADIO_USES_STD_POINTERS 41 std::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
42 size_t sizeof_stream_item,
46 std::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
47 size_t sizeof_stream_item,
52 boost::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
53 size_t sizeof_stream_item,
57 boost::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
58 size_t sizeof_stream_item,
73 int work(
int noutput_items,
74 gr_vector_const_void_star& input_items,
75 gr_vector_void_star& output_items);
78 #if GNURADIO_USES_STD_POINTERS 79 friend std::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
80 size_t sizeof_stream_item,
84 friend std::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
85 size_t sizeof_stream_item,
90 friend boost::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
91 size_t sizeof_stream_item,
95 friend boost::shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
96 size_t sizeof_stream_item,
106 uint64_t d_ncopied_items;
108 bool d_stop_flowgraph;
112 #endif // GNSS_SDR_GNSS_SDR_VALVE_H Interface of a thread-safe std::queue.
Implementation of a GNU Radio block that sends a STOP message to the control queue right after a spec...