22 #ifndef INCLUDED_GR_TPB_DETAIL_H
23 #define INCLUDED_GR_TPB_DETAIL_H
46 : input_changed(
false), output_changed(
false) { }
61 input_cond.notify_one();
62 output_cond.notify_one();
69 input_changed =
false;
70 output_changed =
false;
75 void set_input_changed()
79 input_cond.notify_one();
83 void set_output_changed()
86 output_changed =
true;
87 output_cond.notify_one();
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:47
Implementation details to support the signal processing abstractionThis class contains implementation...
Definition: block_detail.h:44
gr::thread::condition_variable input_cond
Definition: tpb_detail.h:40
void clear_changed()
Called by us.
Definition: tpb_detail.h:66
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
bool input_changed
Definition: tpb_detail.h:39
#define false
Definition: stdbool.h:33
gr::thread::mutex mutex
Definition: tpb_detail.h:38
used by thread-per-block scheduler
Definition: tpb_detail.h:37
void notify_msg()
Called by pmt msg posters.
Definition: tpb_detail.h:60
tpb_detail()
Definition: tpb_detail.h:45
boost::mutex mutex
Definition: thread.h:46
gr::thread::condition_variable output_cond
Definition: tpb_detail.h:42
boost::condition_variable condition_variable
Definition: thread.h:48
bool output_changed
Definition: tpb_detail.h:41