wait();
}
+bool
+gr_top_block::is_running()
+{
+ return d_impl->is_running();
+}
+
void
gr_top_block::lock()
{
*/
void wait();
+ /*!
+ * Is the flowgraph running?
+ */
+ bool is_running();
+
/*!
* Lock a flowgraph in preparation for reconfiguration. When an equal
* number of calls to lock() and unlock() have occurred, the flowgraph
void stop();
void wait();
void run();
+ bool is_running();
void lock();
void unlock() throw (std::runtime_error);
void dump();
d_owner = 0;
}
+bool
+gr_top_block_impl::is_running()
+{
+ return (d_state != IDLE);
+}
+
void
gr_top_block_impl::start()
{
// Dump the flowgraph to stdout
void dump();
+
+ // Has flowgraph been started?
+ bool is_running();
protected: