GNU Radio 3.6.1 C++ API
gr_scheduler_tpb Class Reference

Concrete scheduler that uses a kernel thread-per-block. More...

#include <gr_scheduler_tpb.h>

Inheritance diagram for gr_scheduler_tpb:
gr_scheduler

Public Member Functions

 ~gr_scheduler_tpb ()
void stop ()
 Tell the scheduler to stop executing.
void wait ()
 Block until the graph is done.
- Public Member Functions inherited from gr_scheduler
 gr_scheduler (gr_flat_flowgraph_sptr ffg, int max_noutput_items)
 Construct a scheduler and begin evaluating the graph.
virtual ~gr_scheduler ()

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.

Detailed Description

Concrete scheduler that uses a kernel thread-per-block.

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

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.


The documentation for this class was generated from the following file: