GNU Radio Manual and C++ API Reference  v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
pdu.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2013 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_BLOCKS_PDU_H
12 #define INCLUDED_BLOCKS_PDU_H
13 
14 #include <gnuradio/blocks/api.h>
15 #include <gnuradio/gr_complex.h>
16 #include <pmt/pmt.h>
17 
18 
19 namespace gr {
20 namespace blocks {
21 namespace pdu {
23 
27 BLOCKS_API pmt::pmt_t make_pdu_vector(vector_type type, const uint8_t* buf, size_t items);
29 
30 } /* namespace pdu */
31 } /* namespace blocks */
32 } /* namespace gr */
33 
34 #endif /* INCLUDED_BLOCKS_PDU_H */
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
BLOCKS_API size_t itemsize(vector_type type)
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)
BLOCKS_API bool type_matches(vector_type type, pmt::pmt_t v)
BLOCKS_API const pmt::pmt_t pdu_port_id()
vector_type
Definition: pdu.h:22
@ byte_t
Definition: pdu.h:22
@ float_t
Definition: pdu.h:22
@ complex_t
Definition: pdu.h:22
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:84
Definition: cc_common.h:35