 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_TPB_DETAIL_H
12 #define INCLUDED_GR_TPB_DETAIL_H
34 tpb_detail() : input_changed(false), output_changed(false) {}
52 input_cond.notify_one();
53 output_changed =
true;
54 output_cond.notify_one();
61 input_changed =
false;
62 output_changed =
false;
67 void set_input_changed()
71 input_cond.notify_one();
75 void set_output_changed()
78 output_changed =
true;
79 output_cond.notify_one();
void clear_changed()
Called by us.
Definition: tpb_detail.h:58
boost::condition_variable condition_variable
Definition: thread.h:39
tpb_detail()
Definition: tpb_detail.h:34
used by thread-per-block scheduler
Definition: tpb_detail.h:26
bool output_changed
Definition: tpb_detail.h:30
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
boost::mutex mutex
Definition: thread.h:37
gr::thread::condition_variable output_cond
Definition: tpb_detail.h:31
gr::thread::condition_variable input_cond
Definition: tpb_detail.h:29
void notify_msg()
Called by pmt msg posters.
Definition: tpb_detail.h:48
gr::thread::mutex mutex
Definition: tpb_detail.h:27
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:38
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
bool input_changed
Definition: tpb_detail.h:28
Implementation details to support the signal processing abstraction.
Definition: block_detail.h:33