 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_GR_FILE_DESCRIPTOR_SOURCE_H
24 #define INCLUDED_GR_FILE_DESCRIPTOR_SOURCE_H
46 typedef boost::shared_ptr<file_descriptor_source>
sptr;
static sptr make(size_t itemsize, int fd, bool repeat=false)
BLOCKS_API size_t itemsize(vector_type type)
virtual int handle_residue(char *buf, int nbytes_read)=0
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
Read stream from file descriptor.
Definition: file_descriptor_source.h:38
synchronous 1:1 input to output with history
Definition: sync_block.h:38
boost::shared_ptr< file_descriptor_source > sptr
Definition: file_descriptor_source.h:46
virtual int read_items(char *buf, int nitems)=0
repeat each input repeat times
Definition: repeat.h:42
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
virtual void flush_residue()=0