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_source_cpp.h
Go to the documentation of this file.
1// -*- c++ -*- //
2// Copyright (c) Microsoft Corporation.
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_SOURCE_CPP_H
8#define INCLUDED_DIFI_SOURCE_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_source_cpp : virtual public gr::sync_block
18 {
19 public:
20 typedef std::shared_ptr<difi_source_cpp<T>> sptr;
21
22 static sptr make(std::string ip_addr, uint32_t port, uint8_t socket_type, int stream_number, int bit_depth, int context_pkt_behavior);
23
24 };
27
28 } // namespace difi
29} // namespace gr
30
31#endif /* INCLUDED_DIFI_SOURCE_CPP_H */
32
#define DIFI_API
Definition api.h:19
Definition difi_source_cpp.h:18
static sptr make(std::string ip_addr, uint32_t port, uint8_t socket_type, int stream_number, int bit_depth, int context_pkt_behavior)
std::shared_ptr< difi_source_cpp< T > > sptr
Definition difi_source_cpp.h:20
Definition difi_common.h:14
difi_source_cpp< std::complex< char > > difi_source_cpp_sc8
Definition difi_source_cpp.h:26
difi_source_cpp< gr_complex > difi_source_cpp_fc32
Definition difi_source_cpp.h:25
Definition difi_common.h:13