#include <gr_tpb_detail.h>
Public Types | |
typedef boost::unique_lock < boost::mutex > | scoped_lock |
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. | |
Public Attributes | |
boost::mutex | mutex |
bool | input_changed |
boost::condition_variable | input_cond |
bool | output_changed |
boost::condition_variable | output_cond |
typedef boost::unique_lock<boost::mutex> gr_tpb_detail::scoped_lock |
gr_tpb_detail::gr_tpb_detail | ( | ) | [inline] |
void gr_tpb_detail::clear_changed | ( | ) | [inline] |
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().
boost::condition_variable gr_tpb_detail::input_cond |
boost::mutex gr_tpb_detail::mutex |
Referenced by clear_changed().
Referenced by clear_changed().
boost::condition_variable gr_tpb_detail::output_cond |