 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
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);
145 inline top_block_sptr cast_to_top_block_sptr(basic_block_sptr
block)
147 return boost::dynamic_pointer_cast<top_block, basic_block>(
block);
top_block(const std::string &name)
GR_RUNTIME_API top_block_sptr make_top_block(const std::string &name)
top_block_sptr to_top_block()
std::string msg_edge_list()
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
The abstract base class for all 'terminal' processing blocks.
Definition: block.h:72
void start(int max_noutput_items=100000000)
int max_noutput_items()
Get the number of max noutput_items in the flowgraph.
Top-level hierarchical block representing a flowgraph.
Definition: top_block.h:40
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
void run(int max_noutput_items=100000000)
The simple interface to running a flowgraph.
Hierarchical container class for gr::block's and gr::hier_block2's.
Definition: hier_block2.h:46
void setup_rpc()
Set up the RPC registered variables.
friend GR_RUNTIME_API top_block_sptr make_top_block(const std::string &name)
void set_max_noutput_items(int nmax)
Set the maximum number of noutput_items in the flowgraph.