|
GNU Radio 3.6.4.1 C++ API
|
#include <file_meta_source_impl.h>
Public Member Functions | |
| file_meta_source_impl (const std::string &filename, bool repeat=false, bool detached_header=false, const std::string &hdr_filename="") | |
| ~file_meta_source_impl () | |
| bool | open (const std::string &filename, const std::string &hdr_filename="") |
| void | close () |
| void | do_update () |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| just like gr_block::general_work, only this arranges to call consume_each for you | |
Protected Member Functions | |
| bool | _open (FILE **fp, const char *filename) |
| bool | read_header (pmt_t &hdr, pmt_t &extras) |
Additional Inherited Members | |
Public Types inherited from gr::blocks::file_meta_source | |
| typedef boost::shared_ptr < file_meta_source > | sptr |
Static Public Member Functions inherited from gr::blocks::file_meta_source | |
| static sptr | make (const std::string &filename, bool repeat=false, bool detached_header=false, const std::string &hdr_filename="") |
| Create a meta-data file source. | |
Protected Types inherited from gr_basic_block | |
| enum | vcolor { WHITE, GREY, BLACK } |
Protected Attributes inherited from gr_block | |
| std::vector< long > | d_max_output_buffer |
| std::vector< long > | d_min_output_buffer |
| gruel::mutex | d_setlock |
| gr::blocks::file_meta_source_impl::file_meta_source_impl | ( | const std::string & | filename, |
| bool | repeat = false, |
||
| bool | detached_header = false, |
||
| const std::string & | hdr_filename = "" |
||
| ) |
| gr::blocks::file_meta_source_impl::~file_meta_source_impl | ( | ) |
|
protected |
|
virtual |
Implements gr::blocks::file_meta_source.
|
virtual |
Implements gr::blocks::file_meta_source.
|
virtual |
Implements gr::blocks::file_meta_source.
|
virtual |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.