#include "config.h"
#endif
+#include <unistd.h>
#include <gr_top_block.h>
#include <gr_top_block_impl.h>
#include <gr_io_signature.h>
gr_top_block_sptr
gr_make_top_block(const std::string &name)
{
- return gr_top_block_sptr(new gr_top_block(name));
+ return gnuradio::get_initial_sptr(new gr_top_block(name));
}
gr_top_block::gr_top_block(const std::string &name)
gr_top_block::~gr_top_block()
{
+ stop();
+ wait();
+
delete d_impl;
}
{
d_impl->unlock();
}
+
+void
+gr_top_block::dump()
+{
+ d_impl->dump();
+}