GNU Radio 3.6.5 C++ API
|
Abstract scheduler that takes a flattened flow graph and runs it. More...
#include <gr_scheduler.h>
Public Member Functions | |
gr_scheduler (gr_flat_flowgraph_sptr ffg, int max_noutput_items) | |
Construct a scheduler and begin evaluating the graph. | |
virtual | ~gr_scheduler () |
virtual void | stop ()=0 |
Tell the scheduler to stop executing. | |
virtual void | wait ()=0 |
Block until the graph is done. |
Abstract scheduler that takes a flattened flow graph and runs it.
Preconditions: details, buffers and buffer readers have been assigned.
gr_scheduler::gr_scheduler | ( | gr_flat_flowgraph_sptr | ffg, |
int | max_noutput_items | ||
) |
Construct a scheduler and begin evaluating the graph.
The scheduler will continue running until all blocks until they report that they are done or the stop method is called.
virtual gr_scheduler::~gr_scheduler | ( | ) | [virtual] |
virtual void gr_scheduler::stop | ( | ) | [pure virtual] |
Tell the scheduler to stop executing.
Implemented in gr_scheduler_sts, and gr_scheduler_tpb.
virtual void gr_scheduler::wait | ( | ) | [pure virtual] |
Block until the graph is done.
Implemented in gr_scheduler_sts, and gr_scheduler_tpb.