GNU Radio 3.6.5 C++ API

pdu.h File Reference

#include <blocks/api.h>
#include <gr_complex.h>
#include <gruel/pmt.h>

Go to the source code of this file.

Namespaces

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

Defines

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

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_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_LENGTH_TAG   pmt::mp("pdu_length")
#define PDU_PORT_ID   pmt::mp("pdus")