GNU Radio 3.7.1 C++ API
tag_source_demo Class Reference

#include <tag_source_demo.h>

Inheritance diagram for tag_source_demo:

List of all members.

Public Member Functions

 tag_source_demo (const uint64_t start_secs, const double start_fracs, const double samp_rate, const double idle_duration, const double burst_duration)
void make_time_tag (const uint64_t tag_count)
void make_sob_tag (const uint64_t tag_count)
void make_eob_tag (const uint64_t tag_count)
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

Constructor & Destructor Documentation

tag_source_demo::tag_source_demo ( const uint64_t  start_secs,
const double  start_fracs,
const double  samp_rate,
const double  idle_duration,
const double  burst_duration 
) [inline]

Member Function Documentation

int tag_source_demo::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [inline, virtual]

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.

References make_eob_tag(), make_sob_tag(), make_time_tag(), and gr::block::nitems_written().


The documentation for this class was generated from the following file: