23 #ifndef INCLUDED_BLOCKS_FILE_SOURCE_H 24 #define INCLUDED_BLOCKS_FILE_SOURCE_H 40 typedef boost::shared_ptr<file_source>
sptr;
75 virtual bool seek(int64_t seek_point,
int whence) = 0;
86 open(
const char* filename,
bool repeat, uint64_t offset = 0, uint64_t len = 0) = 0;
91 virtual void close() = 0;
96 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
boost::shared_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:96
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#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
BLOCKS_API size_t itemsize(vector_type type)