GNU Radio 3.4.0 C++ API
|
used by thread-per-block scheduler More...
#include <gr_tpb_detail.h>
Public Member Functions | |
gr_tpb_detail () | |
void | notify_upstream (gr_block_detail *d) |
Called by us to tell all our upstream blocks that their output may have changed. | |
void | notify_downstream (gr_block_detail *d) |
Called by us to tell all our downstream blocks that their input may have changed. | |
void | notify_neighbors (gr_block_detail *d) |
Called by us to notify both upstream and downstream. | |
void | clear_changed () |
Called by us. | |
bool | empty_p () const |
is the queue empty? | |
void | insert_tail (pmt::pmt_t msg) |
pmt::pmt_t | delete_head_nowait () |
pmt::pmt_t | delete_head_nowait_already_holding_mutex () |
Public Attributes | |
gruel::mutex | mutex |
bool | input_changed |
gruel::condition_variable | input_cond |
bool | output_changed |
gruel::condition_variable | output_cond |
used by thread-per-block scheduler
gr_tpb_detail::gr_tpb_detail | ( | ) | [inline] |
void gr_tpb_detail::clear_changed | ( | ) | [inline] |
Called by us.
References input_changed, mutex, and output_changed.
pmt::pmt_t gr_tpb_detail::delete_head_nowait | ( | ) |
pmt::pmt_t gr_tpb_detail::delete_head_nowait_already_holding_mutex | ( | ) |
bool gr_tpb_detail::empty_p | ( | ) | const [inline] |
is the queue empty?
void gr_tpb_detail::insert_tail | ( | pmt::pmt_t | msg | ) |
void gr_tpb_detail::notify_downstream | ( | gr_block_detail * | d | ) |
Called by us to tell all our downstream blocks that their input may have changed.
void gr_tpb_detail::notify_neighbors | ( | gr_block_detail * | d | ) |
Called by us to notify both upstream and downstream.
void gr_tpb_detail::notify_upstream | ( | gr_block_detail * | d | ) |
Called by us to tell all our upstream blocks that their output may have changed.
Referenced by clear_changed().
gruel::condition_variable gr_tpb_detail::input_cond |
gruel::mutex gr_tpb_detail::mutex |
Referenced by clear_changed().
Referenced by clear_changed().
gruel::condition_variable gr_tpb_detail::output_cond |