11#ifndef INCLUDED_GR_TOP_BLOCK_H 
   12#define INCLUDED_GR_TOP_BLOCK_H 
   22                                             bool catch_exceptions = 
true);
 
   31    template <
typename T, 
typename... Args>
 
   32    friend std::shared_ptr<T> gnuradio::make_block_sptr(Args&&... args);
 
   35    std::unique_ptr<top_block_impl> d_impl;
 
 
  136inline top_block_sptr cast_to_top_block_sptr(basic_block_sptr 
block)
 
  138    return std::dynamic_pointer_cast<top_block, basic_block>(
block);
 
std::string name() const
Definition basic_block.h:168
The abstract base class for all 'terminal' processing blocks.
Definition gnuradio-runtime/include/gnuradio/block.h:63
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()
top_block(const std::string &name, bool catch_exceptions=true)
void setup_rpc() override
Set up the RPC registered variables.
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:18
GNU Radio logging wrapper.
Definition basic_block.h:29
GR_RUNTIME_API top_block_sptr make_top_block(const std::string &name, bool catch_exceptions=true)