20#ifndef GNSS_SDR_GNSS_SDR_VALVE_H
21#define GNSS_SDR_GNSS_SDR_VALVE_H
25#include <gnuradio/sync_block.h>
26#include <gnuradio/types.h>
39gnss_shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
40 size_t sizeof_stream_item,
44gnss_shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
45 size_t sizeof_stream_item,
54class Gnss_Sdr_Valve :
public gr::sync_block
59 int work(
int noutput_items,
60 gr_vector_const_void_star& input_items,
61 gr_vector_void_star& output_items);
64 friend gnss_shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
65 size_t sizeof_stream_item,
69 friend gnss_shared_ptr<Gnss_Sdr_Valve> gnss_sdr_make_valve(
70 size_t sizeof_stream_item,
75 Gnss_Sdr_Valve(
size_t sizeof_stream_item,
80 uint64_t d_ncopied_items;
82 bool d_stop_flowgraph;
This class implements a thread-safe std::queue.
Implementation of a GNU Radio block that sends a STOP message to the control queue right after a spec...
Interface of a thread-safe std::queue.
This interface represents a GNSS block.