GNU Radio's DIFI Package
The DIFI Out of Tree (OOT) Module allows users to leverage and easily use cloud resources in GNU Radio.
difi_sink_cpp.h
Go to the documentation of this file.
1// -*- c++ -*- //
2// Copyright (c) Microsoft Corporation and Welkin Sciences, LLC.
3// Licensed under the GNU General Public License v3.0 or later.
4// See License.txt in the project root for license information.
5//
6
7#ifndef INCLUDED_DIFI_SINK_CPP_H
8#define INCLUDED_DIFI_SINK_CPP_H
9
10#include <difi/api.h>
11#include <gnuradio/sync_block.h>
12
13namespace gr {
14 namespace difi {
15
16 template <class T>
17 class DIFI_API difi_sink_cpp : virtual public gr::sync_block
18 {
19 public:
20 typedef std::shared_ptr<difi_sink_cpp<T>> sptr;
21
22 static sptr make(u_int32_t reference_time_full, u_int64_t reference_time_frac, std::string ip_addr, uint32_t port, uint8_t socket_type, bool mode, uint32_t samples_per_packet,
23 int stream_number, u_int64_t samp_rate, int context_interval, int context_pack_size, int bit_depth,
24 int scaling, float gain, gr_complex offset, float max_iq, float min_iq);
25 };
28
29 } // namespace difi
30} // namespace gr
31
32#endif /* INCLUDED_DIFI_SINK_CPP_H */
33
#define DIFI_API
Definition api.h:19
Definition difi_sink_cpp.h:18
static sptr make(u_int32_t reference_time_full, u_int64_t reference_time_frac, std::string ip_addr, uint32_t port, uint8_t socket_type, bool mode, uint32_t samples_per_packet, int stream_number, u_int64_t samp_rate, int context_interval, int context_pack_size, int bit_depth, int scaling, float gain, gr_complex offset, float max_iq, float min_iq)
std::shared_ptr< difi_sink_cpp< T > > sptr
Definition difi_sink_cpp.h:20
Definition difi_common.h:14
difi_sink_cpp< gr_complex > difi_sink_cpp_fc32
Definition difi_sink_cpp.h:26
difi_sink_cpp< std::complex< char > > difi_sink_cpp_sc8
Definition difi_sink_cpp.h:27
Definition difi_common.h:13