GNU Radio Manual and C++ API Reference  3.8.1.0
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

◆ vector_type

Enumerator
byte_t 
float_t 
complex_t 

Function Documentation

◆ itemsize()

BLOCKS_API size_t gr::blocks::pdu::itemsize ( vector_type  type)

◆ make_pdu_vector()

BLOCKS_API pmt::pmt_t gr::blocks::pdu::make_pdu_vector ( vector_type  type,
const uint8_t *  buf,
size_t  items 
)

◆ pdu_port_id()

BLOCKS_API const pmt::pmt_t gr::blocks::pdu::pdu_port_id ( )

◆ type_from_pmt()

BLOCKS_API vector_type gr::blocks::pdu::type_from_pmt ( pmt::pmt_t  vector)

◆ type_matches()

BLOCKS_API bool gr::blocks::pdu::type_matches ( vector_type  type,
pmt::pmt_t  v 
)