GNU Radio 3.6.0 C++ API
|
#include <filedes_to_blob.h>
Public Types | |
typedef boost::shared_ptr < filedes_to_blob > | sptr |
Static Public Member Functions | |
static sptr | make (const int fd, const size_t mtu=0, const bool close_fd=false) |
Make a file descriptor to blob block. |
static sptr gnuradio::extras::filedes_to_blob::make | ( | const int | fd, |
const size_t | mtu = 0 , |
||
const bool | close_fd = false |
||
) | [static] |
Make a file descriptor to blob block.
Read packets/bytes from a file descriptor and post blob messages to the "blob" subscriber group.
fd | the already open file descriptor |
mtu | the max bytes for a read, 0 for default |
close_fd | true to close the fd on deconstruction |