 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
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;
BLOCKS_API size_t itemsize(vector_type type)
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
std::shared_ptr< file_source > sptr
Definition: file_source.h:28
Read stream from file.
Definition: file_source.h:24
synchronous 1:1 input to output with history
Definition: sync_block.h:25
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:84
repeat each input repeat times
Definition: repeat.h:29
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29