#include <copy_handler.h>
Public Member Functions | |
copy_handler (void *dest, size_t len) | |
~copy_handler () | |
virtual data_handler::result | operator() (const void *base, size_t len) |
size_t | bytes () const |
size_t | times () const |
bool | full () const |
Static Public Attributes | |
static const size_t | MIN_COPY_LEN = 1484 |
usrp2::copy_handler::copy_handler | ( | void * | dest, | |
size_t | len | |||
) |
usrp2::copy_handler::~copy_handler | ( | ) |
size_t usrp2::copy_handler::bytes | ( | ) | const [inline] |
bool usrp2::copy_handler::full | ( | ) | const [inline] |
References MIN_COPY_LEN.
virtual data_handler::result usrp2::copy_handler::operator() | ( | const void * | base, | |
size_t | len | |||
) | [virtual] |
base | points to the beginning of the data | |
len | is the length in bytes of the data |
Implements usrp2::data_handler.
size_t usrp2::copy_handler::times | ( | ) | const [inline] |
const size_t usrp2::copy_handler::MIN_COPY_LEN = 1484 [static] |
Referenced by full().