GNU Radio Manual and C++ API Reference  3.7.13.4
The Free & Open Software Radio Ecosystem
gr::blocks::pdu Namespace Reference

Enumerations

enum  vector_type { byte_t, float_t, complex_t }
 

Functions

BLOCKS_API const pmt::pmt_t pdu_port_id ()
 
BLOCKS_API size_t itemsize (vector_type type)
 
BLOCKS_API bool type_matches (vector_type type, pmt::pmt_t v)
 
BLOCKS_API pmt::pmt_t make_pdu_vector (vector_type type, const uint8_t *buf, size_t items)
 
BLOCKS_API vector_type type_from_pmt (pmt::pmt_t vector)
 

Enumeration Type Documentation

Enumerator
byte_t 
float_t 
complex_t 

Function Documentation

BLOCKS_API size_t gr::blocks::pdu::itemsize ( vector_type  type)
BLOCKS_API pmt::pmt_t gr::blocks::pdu::make_pdu_vector ( vector_type  type,
const uint8_t *  buf,
size_t  items 
)
BLOCKS_API const pmt::pmt_t gr::blocks::pdu::pdu_port_id ( )
BLOCKS_API vector_type gr::blocks::pdu::type_from_pmt ( pmt::pmt_t  vector)
BLOCKS_API bool gr::blocks::pdu::type_matches ( vector_type  type,
pmt::pmt_t  v 
)