summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/flat_flowgraph.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-08-07 21:45:12 +0200
committerMarcus Müller <marcus@hostalia.de>2019-08-09 23:04:28 +0200
commitf7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch)
treee09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gnuradio-runtime/lib/flat_flowgraph.h
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gnuradio-runtime/lib/flat_flowgraph.h')
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/gnuradio-runtime/lib/flat_flowgraph.h b/gnuradio-runtime/lib/flat_flowgraph.h
index 5db38b9dae..3630a2a5c8 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.h
+++ b/gnuradio-runtime/lib/flat_flowgraph.h
@@ -30,18 +30,18 @@
namespace gr {
- // Create a shared pointer to a heap allocated gr::flat_flowgraph
- // (types defined in gr_runtime_types.h)
- GR_RUNTIME_API flat_flowgraph_sptr make_flat_flowgraph();
-
- /*!
- *\brief Class specializing gr_flat_flowgraph that has all nodes
- * as blocks, with no hierarchy
- * \ingroup internal
- */
- class GR_RUNTIME_API flat_flowgraph : public flowgraph
- {
- public:
+// Create a shared pointer to a heap allocated gr::flat_flowgraph
+// (types defined in gr_runtime_types.h)
+GR_RUNTIME_API flat_flowgraph_sptr make_flat_flowgraph();
+
+/*!
+ *\brief Class specializing gr_flat_flowgraph that has all nodes
+ * as blocks, with no hierarchy
+ * \ingroup internal
+ */
+class GR_RUNTIME_API flat_flowgraph : public flowgraph
+{
+public:
friend GR_RUNTIME_API flat_flowgraph_sptr make_flat_flowgraph();
// Destruct an arbitrary gr::flat_flowgraph
@@ -64,17 +64,17 @@ namespace gr {
/*!
* Make a vector of gr::block from a vector of gr::basic_block
*/
- static block_vector_t make_block_vector(basic_block_vector_t &blocks);
+ static block_vector_t make_block_vector(basic_block_vector_t& blocks);
/*!
* replace hierarchical message connections with internal primitive ones
*/
- void replace_endpoint(const msg_endpoint &e, const msg_endpoint &r, bool is_src);
+ void replace_endpoint(const msg_endpoint& e, const msg_endpoint& r, bool is_src);
/*!
* remove a specific hier message connection after replacement
*/
- void clear_endpoint(const msg_endpoint &e, bool is_src);
+ void clear_endpoint(const msg_endpoint& e, bool is_src);
/*!
* remove remainin hier message connections (non primitive)
@@ -87,7 +87,7 @@ namespace gr {
*/
void enable_pc_rpc();
- private:
+private:
flat_flowgraph();
block_detail_sptr allocate_block_detail(basic_block_sptr block);
@@ -105,7 +105,7 @@ namespace gr {
gr::logger_ptr d_logger;
gr::logger_ptr d_debug_logger;
- };
+};
} /* namespace gr */