23 #ifndef INCLUDED_BLOCKS_FILE_SOURCE_H
24 #define INCLUDED_BLOCKS_FILE_SOURCE_H
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
Definition: gr_sync_block.h:27
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
repeat each input 'interp' times
Definition: repeat.h:38
#define BLOCKS_API
Definition: gr-blocks/include/blocks/api.h:30