GNU Radio 3.6.5.1 C++ API
|
#include <file_descriptor_source_impl.h>
Public Member Functions | |
file_descriptor_source_impl (size_t itemsize, int fd, bool repeat) | |
~file_descriptor_source_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 |
Protected Member Functions | |
int | read_items (char *buf, int nitems) |
int | handle_residue (char *buf, int nbytes_read) |
void | flush_residue () |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < file_descriptor_source > | sptr |
![]() | |
static sptr | make (size_t itemsize, int fd, bool repeat) |
![]() | |
enum | vcolor { WHITE, GREY, BLACK } |
![]() | |
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 |
gr::blocks::file_descriptor_source_impl::file_descriptor_source_impl | ( | size_t | itemsize, |
int | fd, | ||
bool | repeat | ||
) |
gr::blocks::file_descriptor_source_impl::~file_descriptor_source_impl | ( | ) |
|
inlineprotectedvirtual |
Implements gr::blocks::file_descriptor_source.
|
protectedvirtual |
Implements gr::blocks::file_descriptor_source.
|
protectedvirtual |
Implements gr::blocks::file_descriptor_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.