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;
84 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:41
Include this header to use the message passing features.
Definition: logger.h:695
#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:40
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)