#include <gr_file_sink.h>
Inheritance diagram for gr_file_sink:
Public Member Functions | |
~gr_file_sink () | |
bool | open (const char *filename) |
Open filename and begin output to it. | |
void | close () |
Close current output file. | |
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 | |
gr_file_sink (size_t itemsize, const char *filename) | |
Friends | |
gr_file_sink_sptr | gr_make_file_sink (size_t itemsize, const char *filename) |
|
|
|
|
|
Close current output file. Closes current output file and ignores any output until open is called to connect to another file. |
|
Open filename and begin output to it.
|
|
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. |
|
|