23#ifndef INCLUDED_GR_TOP_BLOCK_H
24#define INCLUDED_GR_TOP_BLOCK_H
44 top_block_impl* d_impl;
62 void run(
int max_noutput_items = 100000000);
76 void start(
int max_noutput_items = 100000000);
145inline top_block_sptr cast_to_top_block_sptr(basic_block_sptr
block)
147 return boost::dynamic_pointer_cast<top_block, basic_block>(
block);
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:66
Hierarchical container class for gr::block's and gr::hier_block2's.
Definition: hier_block2.h:46
Top-level hierarchical block representing a flowgraph.
Definition: top_block.h:40
void set_max_noutput_items(int nmax)
Set the maximum number of noutput_items in the flowgraph.
void start(int max_noutput_items=100000000)
std::string msg_edge_list()
friend GR_RUNTIME_API top_block_sptr make_top_block(const std::string &name)
void setup_rpc()
Set up the RPC registered variables.
top_block(const std::string &name)
top_block_sptr to_top_block()
int max_noutput_items()
Get the number of max noutput_items in the flowgraph.
void run(int max_noutput_items=100000000)
The simple interface to running a flowgraph.
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45
GR_RUNTIME_API top_block_sptr make_top_block(const std::string &name)