23 #ifndef INCLUDED_BLOCKS_FILE_SOURCE_H
24 #define INCLUDED_BLOCKS_FILE_SOURCE_H
41 typedef boost::shared_ptr<file_source>
sptr;
58 static sptr make(
size_t itemsize,
const char *filename,
bool repeat =
false);
66 virtual bool seek(
long seek_point,
int whence) = 0;
74 virtual void open(
const char *filename,
bool repeat) = 0;
79 virtual void close() = 0;
Read stream from file.
Definition: file_source.h:36
boost::shared_ptr< file_source > sptr
Definition: file_source.h:41
Include this header to use the message passing features.
Definition: logger.h:131
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
repeat each input repeat times
Definition: repeat.h:36
BLOCKS_API size_t itemsize(vector_type type)