23 #ifndef INCLUDED_BLOCKS_FILE_SOURCE_H
24 #define INCLUDED_BLOCKS_FILE_SOURCE_H
40 typedef boost::shared_ptr<file_source>
sptr;
65 virtual bool seek(
long seek_point,
int whence) = 0;
73 virtual void open(
const char* filename,
bool repeat) = 0;
78 virtual void close() = 0;
83 virtual void set_begin_tag(
pmt::pmt_t val) = 0;
Read stream from file.
Definition: file_source.h:36
boost::shared_ptr< file_source > sptr
Definition: file_source.h:40
#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 timesMessage Ports:
Definition: repeat.h:41
boost::intrusive_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting). See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Definition: pmt.h:56
BLOCKS_API size_t itemsize(vector_type type)