GNU Radio Manual and C++ API Reference  3.8.1.0
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

◆ tpb_detail()

gr::tpb_detail::tpb_detail ( )
inline

Member Function Documentation

◆ clear_changed()

void gr::tpb_detail::clear_changed ( )
inline

Called by us.

◆ notify_downstream()

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

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

◆ notify_msg()

void gr::tpb_detail::notify_msg ( )
inline

Called by pmt msg posters.

◆ notify_neighbors()

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

Called by us to notify both upstream and downstream.

◆ notify_upstream()

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

◆ input_changed

bool gr::tpb_detail::input_changed

◆ input_cond

gr::thread::condition_variable gr::tpb_detail::input_cond

◆ mutex

gr::thread::mutex gr::tpb_detail::mutex

◆ output_changed

bool gr::tpb_detail::output_changed

◆ output_cond

gr::thread::condition_variable gr::tpb_detail::output_cond

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