GNU Radio 3.6.5 C++ API
|
#include <gr_core_api.h>
#include <gr_complex.h>
#include <gruel/pmt.h>
Go to the source code of this file.
Defines | |
#define | PDU_PORT_ID pmt::mp("pdus") |
#define | PDU_LENGTH_TAG pmt::mp("pdu_length") |
Enumerations | |
enum | gr_pdu_vector_type { pdu_byte, pdu_float, pdu_complex } |
Functions | |
GR_CORE_API size_t | gr_pdu_itemsize (gr_pdu_vector_type type) |
GR_CORE_API bool | gr_pdu_type_matches (gr_pdu_vector_type type, pmt::pmt_t v) |
GR_CORE_API pmt::pmt_t | gr_pdu_make_vector (gr_pdu_vector_type type, const uint8_t *buf, size_t items) |
GR_CORE_API gr_pdu_vector_type | type_from_pmt (pmt::pmt_t vector) |
#define PDU_LENGTH_TAG pmt::mp("pdu_length") |
#define PDU_PORT_ID pmt::mp("pdus") |
enum gr_pdu_vector_type |
GR_CORE_API size_t gr_pdu_itemsize | ( | gr_pdu_vector_type | type | ) |
GR_CORE_API pmt::pmt_t gr_pdu_make_vector | ( | gr_pdu_vector_type | type, |
const uint8_t * | buf, | ||
size_t | items | ||
) |
GR_CORE_API bool gr_pdu_type_matches | ( | gr_pdu_vector_type | type, |
pmt::pmt_t | v | ||
) |
GR_CORE_API gr_pdu_vector_type type_from_pmt | ( | pmt::pmt_t | vector | ) |