GNU Radio 3.7.1 C++ API
pdu.h File Reference
#include <gnuradio/blocks/api.h>
#include <gnuradio/gr_complex.h>
#include <pmt/pmt.h>
Include dependency graph for pdu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gr
 

Include this header to use the message passing features.


namespace  gr::blocks
namespace  gr::blocks::pdu

Defines

#define PDU_PORT_ID   pmt::mp("pdus")

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 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)

Define Documentation

#define PDU_PORT_ID   pmt::mp("pdus")