11 #ifndef INCLUDED_BLOCKS_FILE_SOURCE_H 12 #define INCLUDED_BLOCKS_FILE_SOURCE_H 28 typedef std::shared_ptr<file_source>
sptr;
63 virtual bool seek(int64_t seek_point,
int whence) = 0;
74 open(
const char* filename,
bool repeat, uint64_t offset = 0, uint64_t len = 0) = 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:24
std::shared_ptr< file_source > sptr
Definition: file_source.h:28
GNU Radio logging wrapper.
Definition: basic_block.h:29
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:25
repeat each input repeat timesMessage Ports:
Definition: repeat.h:29
GR_RUNTIME_API size_t itemsize(types::vector_type type)
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83