1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-16 15:17:22 +00:00

Fixes for GNU Radio 3.9

This commit is contained in:
Carles Fernandez
2020-04-03 00:41:51 +02:00
parent 865a54ddff
commit 27f6b0c290
4 changed files with 28 additions and 0 deletions

View File

@@ -34,6 +34,10 @@
#include <cstdint>
#include <memory>
#include <string>
#if GNURADIO_USES_STD_POINTERS
#else
#include <boost/shared_ptr.hpp>
#endif
class ConfigurationInterface;
@@ -117,7 +121,11 @@ private:
gr::iio::fmcomms2_source_f32c::sptr fmcomms2_source_f32c_;
#if GNURADIO_USES_STD_POINTERS
std::shared_ptr<gr::block> valve_;
#else
boost::shared_ptr<gr::block> valve_;
#endif
gr::blocks::file_sink::sptr file_sink_;
std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue_;
};

View File

@@ -31,6 +31,10 @@
#include <osmosdr/source.h>
#include <stdexcept>
#include <string>
#if GNURADIO_USES_STD_POINTERS
#else
#include <boost/shared_ptr.hpp>
#endif
class ConfigurationInterface;
@@ -98,7 +102,11 @@ private:
std::string antenna_;
#if GNURADIO_USES_STD_POINTERS
std::shared_ptr<gr::block> valve_;
#else
boost::shared_ptr<gr::block> valve_;
#endif
gr::blocks::file_sink::sptr file_sink_;
std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue_;
};

View File

@@ -33,6 +33,10 @@
#include <cstdint>
#include <memory>
#include <string>
#if GNURADIO_USES_STD_POINTERS
#else
#include <boost/shared_ptr.hpp>
#endif
class ConfigurationInterface;
@@ -102,7 +106,11 @@ private:
gr::iio::pluto_source::sptr plutosdr_source_;
#if GNURADIO_USES_STD_POINTERS
std::shared_ptr<gr::block> valve_;
#else
boost::shared_ptr<gr::block> valve_;
#endif
gr::blocks::file_sink::sptr file_sink_;
std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> queue_;
};