gr_tpb_detail Struct Reference

used by thread-per-block scheduler More...

#include <gr_tpb_detail.h>

List of all members.

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


Detailed Description

used by thread-per-block scheduler

Member Typedef Documentation

typedef boost::unique_lock<boost::mutex> gr_tpb_detail::scoped_lock


Constructor & Destructor Documentation

gr_tpb_detail::gr_tpb_detail (  )  [inline]


Member Function Documentation

void gr_tpb_detail::clear_changed (  )  [inline]

Called by us.

References input_changed, mutex, and output_changed.

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.


Member Data Documentation

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


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

Generated on Wed Jul 29 07:22:52 2009 for GNU Radio 3.2.2 C++ API by  doxygen 1.5.8