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;
Read stream from an UDP socket.
Definition: gr-blocks/include/gnuradio/blocks/udp_source.h:24
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:25
std::shared_ptr< udp_source > sptr
Definition: gr-blocks/include/gnuradio/blocks/udp_source.h:28
BLOCKS_API size_t itemsize(vector_type type)