11 #ifndef INCLUDED_GR_FILE_DESCRIPTOR_SOURCE_H
12 #define INCLUDED_GR_FILE_DESCRIPTOR_SOURCE_H
28 virtual int read_items(
char* buf,
int nitems) = 0;
29 virtual int handle_residue(
char* buf,
int nbytes_read) = 0;
30 virtual void flush_residue() = 0;
34 typedef std::shared_ptr<file_descriptor_source>
sptr;
Read stream from file descriptor.
Definition: file_descriptor_source.h:25
GNU Radio logging wrapper.
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
repeat each input repeat timesMessage Ports:
Definition: repeat.h:29
GR_RUNTIME_API size_t itemsize(types::vector_type type)
std::shared_ptr< file_descriptor_source > sptr
Definition: file_descriptor_source.h:34