11#ifndef INCLUDED_GR_FILE_DESCRIPTOR_SOURCE_H
12#define INCLUDED_GR_FILE_DESCRIPTOR_SOURCE_H
34 typedef std::shared_ptr<file_descriptor_source>
sptr;
Read stream from file descriptor.
Definition: file_descriptor_source.h:26
virtual void flush_residue()=0
virtual int read_items(char *buf, int nitems)=0
virtual int handle_residue(char *buf, int nbytes_read)=0
std::shared_ptr< file_descriptor_source > sptr
Definition: file_descriptor_source.h:34
static sptr make(size_t itemsize, int fd, bool repeat=false)
repeat each input repeat times
Definition: repeat.h:30
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
GNU Radio logging wrapper.
Definition: basic_block.h:29