GNU Radio Manual and C++ API Reference  3.7.13.4
The Free & Open Software Radio Ecosystem
gr::tpb_detail Struct Reference

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. More...
 
void notify_downstream (block_detail *d)
 Called by us to tell all our downstream blocks that their input may have changed. More...
 
void notify_neighbors (block_detail *d)
 Called by us to notify both upstream and downstream. More...
 
void notify_msg ()
 Called by pmt msg posters. More...
 
void clear_changed ()
 Called by us. More...
 

Public Attributes

gr::thread::mutex mutex
 
bool input_changed
 
gr::thread::condition_variable input_cond
 
bool output_changed
 
gr::thread::condition_variable output_cond
 

Detailed Description

used by thread-per-block scheduler

Constructor & Destructor Documentation

gr::tpb_detail::tpb_detail ( )
inline

Member Function Documentation

void gr::tpb_detail::clear_changed ( )
inline

Called by us.

void gr::tpb_detail::notify_downstream ( block_detail d)

Called by us to tell all our downstream blocks that their input may have changed.

void gr::tpb_detail::notify_msg ( )
inline

Called by pmt msg posters.

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.

Member Data Documentation

bool gr::tpb_detail::input_changed
gr::thread::condition_variable gr::tpb_detail::input_cond
gr::thread::mutex gr::tpb_detail::mutex
bool gr::tpb_detail::output_changed
gr::thread::condition_variable gr::tpb_detail::output_cond

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