28#ifndef INCLUDED_BAZ_BURST_BUFFER_H
29#define INCLUDED_BAZ_BURST_BUFFER_H
31#include <gnuradio/block.h>
32#include <boost/thread.hpp>
35typedef boost::shared_ptr<baz_burst_buffer> baz_burst_buffer_sptr;
37BAZ_API baz_burst_buffer_sptr
baz_make_burst_buffer (
size_t itemsize,
int flush_length = 0,
const std::string& length_tag_name =
"",
bool verbose =
false,
bool only_burst =
false,
bool strip_tags =
true);
45 friend BAZ_API baz_burst_buffer_sptr
baz_make_burst_buffer (
size_t itemsize,
int flush_length,
const std::string& length_tag_name,
bool verbose,
bool only_burst,
bool strip_tags);
47 baz_burst_buffer (
size_t itemsize,
int flush_length = 0,
const std::string& length_tag_name =
"",
bool verbose =
false,
bool only_burst =
false,
bool strip_tags =
true);
53 size_t d_sample_count;
59 bool d_use_length_tag;
60 pmt::pmt_t d_length_tag_name;
62 uint64_t d_sob_offset;
73 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
74 int general_work (
int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
#define BAZ_API
Definition: api.h:19
class BAZ_API baz_burst_buffer
Definition: baz_burst_buffer.h:34
BAZ_API baz_burst_buffer_sptr baz_make_burst_buffer(size_t itemsize, int flush_length=0, const std::string &length_tag_name="", bool verbose=false, bool only_burst=false, bool strip_tags=true)
buffer bursts
Definition: baz_burst_buffer.h:44
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
friend BAZ_API baz_burst_buffer_sptr baz_make_burst_buffer(size_t itemsize, int flush_length, const std::string &length_tag_name, bool verbose, bool only_burst, bool strip_tags)
void reallocate_buffer(void)