GNU Radio 3.6.5.1 C++ API
|
#include <file_sink_impl.h>
Public Member Functions | |
file_sink_impl (size_t itemsize, const char *filename) | |
~file_sink_impl () | |
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 |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < file_sink > | sptr |
![]() | |
static sptr | make (size_t itemsize, const char *filename) |
Make a file sink. | |
![]() | |
enum | vcolor { WHITE, GREY, BLACK } |
![]() | |
gr_sync_block (void) | |
gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
![]() | |
file_sink_base (const char *filename, bool is_binary) | |
![]() | |
std::vector< long > | d_max_output_buffer |
std::vector< long > | d_min_output_buffer |
gruel::mutex | d_setlock |
gr_logger_ptr | d_logger |
gr_logger_ptr | d_debug_logger |
![]() | |
FILE * | d_fp |
FILE * | d_new_fp |
bool | d_updated |
bool | d_is_binary |
boost::mutex | d_mutex |
bool | d_unbuffered |
gr::blocks::file_sink_impl::file_sink_impl | ( | size_t | itemsize, |
const char * | filename | ||
) |
gr::blocks::file_sink_impl::~file_sink_impl | ( | ) |
|
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.