GNU Radio 3.4.0 C++ API
usrp2::copy_handler Class Reference

#include <copy_handler.h>

Inheritance diagram for usrp2::copy_handler:

List of all members.

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

Constructor & Destructor Documentation

usrp2::copy_handler::copy_handler ( void *  dest,
size_t  len 
)
usrp2::copy_handler::~copy_handler ( )

Member Function Documentation

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]
Parameters:
basepoints to the beginning of the data
lenis the length in bytes of the data
Returns:
bitmask composed of DONE, KEEP

Implements usrp2::data_handler.

size_t usrp2::copy_handler::times ( ) const [inline]

Member Data Documentation

const size_t usrp2::copy_handler::MIN_COPY_LEN = 1484 [static]

Referenced by full().


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