#include <gr_packet_sink.h>
Inheritance diagram for gr_packet_sink:


Public Member Functions | |
| ~gr_packet_sink () | |
| 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 | |
Protected Member Functions | |
| gr_packet_sink (const std::vector< unsigned char > &sync_vector, gr_msg_queue_sptr target_queue, int threshold) | |
| void | enter_search () |
| void | enter_have_sync () |
| void | enter_have_header (int payload_len) |
| int | slice (float x) |
| bool | header_ok () |
| int | header_payload_len () |
Friends | |
| gr_packet_sink_sptr | gr_make_packet_sink (const std::vector< unsigned char > &sync_vector, gr_msg_queue_sptr target_queue, int threshold) |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
just like gr_block::general_work, only this arranges to call consume_each for you The user must override work to define the signal processing code Implements gr_sync_block. |
|
||||||||||||||||
|
|
1.4.1