GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
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 */
GNU Radio logging wrapper.
Definition: basic_block.h:29