23 #ifndef INCLUDED_GR_MESSAGE_SINK_H
24 #define INCLUDED_GR_MESSAGE_SINK_H
58 int work (
int noutput_items,
59 gr_vector_const_void_star &input_items,
60 gr_vector_void_star &output_items);
GR_CORE_API gr_message_sink_sptr gr_make_message_sink(size_t itemsize, gr_msg_queue_sptr msgq, bool dont_block)
Definition: gr_sync_block.h:27
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
#define GR_CORE_API
Definition: gr_core_api.h:30
Gather received items into messages and insert into msgq.
Definition: gr_message_sink.h:42
virtual int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
just like gr_block::general_work, only this arranges to call consume_each for you ...