GNU Radio 3.5.3.2 C++ API
|
Concrete scheduler that uses a kernel thread-per-block. More...
#include <gr_scheduler_tpb.h>
Public Member Functions | |
~gr_scheduler_tpb () | |
void | stop () |
Tell the scheduler to stop executing. | |
void | wait () |
Block until the graph is done. | |
Static Public Member Functions | |
static gr_scheduler_sptr | make (gr_flat_flowgraph_sptr ffg, int max_noutput_items=100000) |
Protected Member Functions | |
gr_scheduler_tpb (gr_flat_flowgraph_sptr ffg, int max_noutput_items) | |
Construct a scheduler and begin evaluating the graph. |
Concrete scheduler that uses a kernel thread-per-block.
gr_scheduler_tpb::gr_scheduler_tpb | ( | gr_flat_flowgraph_sptr | ffg, |
int | max_noutput_items | ||
) | [protected] |
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.
gr_scheduler_tpb::~gr_scheduler_tpb | ( | ) |
static gr_scheduler_sptr gr_scheduler_tpb::make | ( | gr_flat_flowgraph_sptr | ffg, |
int | max_noutput_items = 100000 |
||
) | [static] |
void gr_scheduler_tpb::stop | ( | ) | [virtual] |
Tell the scheduler to stop executing.
Implements gr_scheduler.
void gr_scheduler_tpb::wait | ( | ) | [virtual] |
Block until the graph is done.
Implements gr_scheduler.