used by thread-per-block scheduler More...
#include <gnuradio/tpb_detail.h>
Public Member Functions | |
tpb_detail () | |
void | notify_upstream (block_detail *d) |
Called by us to tell all our upstream blocks that their output may have changed. | |
void | notify_downstream (block_detail *d) |
Called by us to tell all our downstream blocks that their input may have changed. | |
void | notify_neighbors (block_detail *d) |
Called by us to notify both upstream and downstream. | |
void | notify_msg () |
Called by pmt msg posters. | |
void | clear_changed () |
Called by us. | |
Public Attributes | |
gr::thread::mutex | mutex |
bool | input_changed |
gr::thread::condition_variable | input_cond |
bool | output_changed |
gr::thread::condition_variable | output_cond |
used by thread-per-block scheduler
|
inline |
References input_changed, and output_changed.
|
inline |
Called by us.
References input_changed, mutex, and output_changed.
void gr::tpb_detail::notify_downstream | ( | block_detail * | d | ) |
Called by us to tell all our downstream blocks that their input may have changed.
|
inline |
Called by pmt msg posters.
References input_changed, input_cond, mutex, output_changed, and output_cond.
void gr::tpb_detail::notify_neighbors | ( | block_detail * | d | ) |
Called by us to notify both upstream and downstream.
void gr::tpb_detail::notify_upstream | ( | block_detail * | d | ) |
Called by us to tell all our upstream blocks that their output may have changed.
bool gr::tpb_detail::input_changed |
Referenced by clear_changed(), notify_msg(), and tpb_detail().
gr::thread::condition_variable gr::tpb_detail::input_cond |
Referenced by notify_msg().
gr::thread::mutex gr::tpb_detail::mutex |
Referenced by clear_changed(), and notify_msg().
bool gr::tpb_detail::output_changed |
Referenced by clear_changed(), notify_msg(), and tpb_detail().
gr::thread::condition_variable gr::tpb_detail::output_cond |
Referenced by notify_msg().