GNU Radio Manual and C++ API Reference  3.7.13.4
The Free & Open Software Radio Ecosystem
pdu.h File Reference
#include <gnuradio/blocks/api.h>
#include <gnuradio/gr_complex.h>
#include <pmt/pmt.h>

Go to the source code of this file.

Namespaces

 gr
 Include this header to use the message passing features.
 
 gr::blocks
 
 gr::blocks::pdu
 

Enumerations

enum  gr::blocks::pdu::vector_type { gr::blocks::pdu::byte_t, gr::blocks::pdu::float_t, gr::blocks::pdu::complex_t }
 

Functions

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