GNU Radio 3.6.0 C++ API
|
#include <blob_to_filedes.h>
Public Types | |
typedef boost::shared_ptr < blob_to_filedes > | sptr |
Static Public Member Functions | |
static sptr | make (const int fd, const bool close_fd=false) |
Make a blob to file descriptor block. |
static sptr gnuradio::extras::blob_to_filedes::make | ( | const int | fd, |
const bool | close_fd = false |
||
) | [static] |
Make a blob to file descriptor block.
Read incoming blob messages and write to a file descriptor. Non-blob message values will be ignored by the block. An empty blob (length 0 bytes) tells the work to exit.
fd | the already open file descriptor |
close_fd | true to close the fd on deconstruction |