GNU Radio C++ API Reference 3.10.12.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
runtime_types.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2004,2007 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_GR_RUNTIME_TYPES_H
12#define INCLUDED_GR_RUNTIME_TYPES_H
13
14#include <gnuradio/api.h>
15#include <gnuradio/types.h>
16
17namespace gr {
18
19/*
20 * typedefs for smart pointers we use throughout the runtime system
21 */
22class basic_block;
23class block;
24class block_detail;
25class buffer;
26class buffer_reader;
27class hier_block2;
28class flat_flowgraph;
29class flowgraph;
30class top_block;
31
32typedef std::shared_ptr<basic_block> basic_block_sptr;
33typedef std::shared_ptr<block> block_sptr;
34typedef std::shared_ptr<block_detail> block_detail_sptr;
35typedef std::shared_ptr<buffer> buffer_sptr;
36typedef std::shared_ptr<buffer_reader> buffer_reader_sptr;
37typedef std::shared_ptr<hier_block2> hier_block2_sptr;
38typedef std::shared_ptr<flat_flowgraph> flat_flowgraph_sptr;
39typedef std::shared_ptr<flowgraph> flowgraph_sptr;
40typedef std::shared_ptr<top_block> top_block_sptr;
41
42} /* namespace gr */
43
44#endif /* INCLUDED_GR_RUNTIME_TYPES_H */
The abstract base class for all signal processing blocks.
Definition basic_block.h:63
Implementation details to support the signal processing abstraction.
Definition block_detail.h:36
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
How we keep track of the readers of a gr::buffer.
Definition buffer_reader.h:49
Single writer, multiple reader fifo.
Definition buffer.h:67
Class representing a directed, acyclic graph of basic blocks.
Definition flowgraph.h:150
Hierarchical container class for gr::block's and gr::hier_block2's.
Definition hier_block2.h:34
Top-level hierarchical block representing a flowgraph.
Definition top_block.h:29
GNU Radio logging wrapper.
Definition basic_block.h:29