GNU Radio 3.3.0 C++ API
|
Abstract function object called to handle received data blocks. More...
#include <data_handler.h>
Public Types | |
enum | result_bits { RELEASE = 0x0000, KEEP = 0x0001, DONE = 0x0002 } |
typedef int | result |
Public Member Functions | |
virtual result | operator() (const void *base, size_t len)=0 |
virtual | ~data_handler () |
Abstract function object called to handle received data blocks.
typedef int usrp2::data_handler::result |
virtual usrp2::data_handler::~data_handler | ( | ) | [virtual] |
virtual result usrp2::data_handler::operator() | ( | const void * | base, |
size_t | len | ||
) | [pure virtual] |
base | points to the beginning of the data |
len | is the length in bytes of the data |
Implemented in usrp2::copy_handler.