GNU Radio 3.6.0 C++ API
gnuradio::extras::filedes_to_blob Class Reference

#include <filedes_to_blob.h>

Inheritance diagram for gnuradio::extras::filedes_to_blob:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

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.

Member Typedef Documentation


Member Function Documentation

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.

Parameters:
fdthe already open file descriptor
mtuthe max bytes for a read, 0 for default
close_fdtrue to close the fd on deconstruction
Returns:
a new file descriptor to blob block

The documentation for this class was generated from the following file: