GNU Radio 3.5.1 C++ API
gr_scheduler Class Reference

Abstract scheduler that takes a flattened flow graph and runs it. More...

#include <gr_scheduler.h>

Inheritance diagram for gr_scheduler:

List of all members.

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.

Detailed Description

Abstract scheduler that takes a flattened flow graph and runs it.

Preconditions: details, buffers and buffer readers have been assigned.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.


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