 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_UDP_SOURCE_H
12 #define INCLUDED_GR_UDP_SOURCE_H
28 typedef std::shared_ptr<udp_source>
sptr;
44 const std::string& host,
46 int payload_size = 1472,
57 virtual void connect(
const std::string& host,
int port) = 0;
61 virtual void disconnect() = 0;
64 virtual int payload_size() = 0;
67 virtual int get_port() = 0;
BLOCKS_API size_t itemsize(vector_type type)
Read stream from an UDP socket.
Definition: gr-blocks/include/gnuradio/blocks/udp_source.h:24
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with history
Definition: sync_block.h:25
std::shared_ptr< udp_source > sptr
Definition: gr-blocks/include/gnuradio/blocks/udp_source.h:28
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29